Why tagavg function does not return actual average we are used to calculated. How to make tagavg event weighted instead of time weighted?
Dallas Swift is correct, TagMean() will calculate the event-weighted average of a tag/attribute over a given timespan.
You can also do this calculation client-side with PI DataLink using a Calculated Data query. Set the calculation mode to "Average", then under advanced settings set the function to "Event-Weighted".
Hope this helps,
- Adam Fink
TagMean calculates the event-weighted average.
Retrieving data ...