Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Tag Average excluding zero / minimum value

$
0
0

Hi All,

 

I am new in OSI PI. I need one help regarding to Average calculation.

 

I have a tag from which I can get the value every 5 min interval. I need to take average of all values having value > 0.5 from midnight to midnight.

 

Example :

 

00:05  = 0.33

00:10  = 0.25

00:15  = 10.00

00:20  =  0.25

00:25  =  8.00

00:30 =  0.10

 

I want to exclude value less than 0.5. So, I have only two values remining 10.00 and 8.00.

I need final output 9 that is average of 10 + 8 = 18

18/2 = 9.

 

 

Thanks,

Amit


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>