Do you use PI DataLink? You can easily perform this type of analysis using the Calculated Data function. You'll want to use the function similarly to:
Let us know if this works well for your needs!
Thanks for your replay
I am not using PI datalink. I am using only AF explorer, Pi procesbook and PI SMT. My requirement is to show the count in PI processbook. Using any Pi AF analysis can I perform this calculation?
Although a temporary solution, if I assume the values are only consisted of '0's and '1's, this might also be worth a try :
EventCount('Tagname','*','*-1d') - Tagmean('Tagname','*','*-1d')*EventCount('Tagname','*','*-1d')
thanks you very much .This is working
Retrieving data ...