Question about getting average value

Discussion created by cesar on Mar 11, 2014
Latest reply on Mar 17, 2014 by cesar

If I have a PI equation on getting average value like this one


avg(tagval('tagA','y'), (tagval('tagB','y-1'), (tagval('tagC','y-2'))


but I want to exclude those tags having less than a given value (e.g. -20 deg celsius).  How can I insert this filtering in the above equation?  Any help will be appreciated.


Thanks OsIsoft!