1 of 1 people found this helpful
Have you looked at the new capabilities in the 2018 release around arrays and the associated functions?
1. Configure and expression with RecordedValues(), then FilterData(), then Avg().
2. Similar to 1, except use TagAvg().
One thing I forgot to ask - are you doing this in an adhoc fashion, i.e. user runs these calcs? Or are you running these in a streaming fashion, i.e. it's scheduled and runs automatically and saving the outputs to a PI Point?
As @Steve Kwan mentioned you may need to upgrade to latest AF 2018 for filtered functionality. If you are using lower version of AF then request you to check below KB article if it helps.