AnsweredAssumed Answered

PE miscalculation

Question asked by Sandra_Torres on Nov 5, 2020
Latest reply on Nov 11, 2020 by TimCarmichael

Hi Everyone, I hope you are doing well! 


I have some troubles with a PE calculation, here's the matter:

I receive information in a tag on 5 minutes spans, such tag sometimes gets behind and I get two values instead of one. Ex:

That tag is an accumulated value, so in my PE I subtract the current value minus the previous  value:



The problem is that when data gets behind it only performs the equation with the last value, ann on top of that the value is wrong:


I would appreciate your help, and if you need more information please let me know.


Thank you in advance!