Originally Posted by

**markclemens**
Another thing you could do, if you are not interested in historical data older than a day, is to use triggered allocations. <br>

<br>

At the end of each shift you can use a triggered allocation to write the current value to an internal variable for the closed shift. Using a mathematics variable (also again triggered) you can calculate the difference between the value from the currently closed shift and the previous closed shift, and display this value in a screen. <br>

<br>

For each shift you would need an internal variable, an allocation, a trigger for the allocation, a mathematics variable (for the calculation) and a trigger (for the mathematics calculation)