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