# Reporting flow totals, issue with PLC data rollover

**URL:** <https://forum.inductiveautomation.com/t/reporting-flow-totals-issue-with-plc-data-rollover/105971>\
**Category:** Ignition\
**Created:** [May 7, 2025, 11:48am UTC](https://forum.inductiveautomation.com/t/reporting-flow-totals-issue-with-plc-data-rollover/105971 "2025-05-07T11:48:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [May 7, 2025, 1:00pm UTC](https://forum.inductiveautomation.com/t/reporting-flow-totals-issue-with-plc-data-rollover/105971/2 "2025-05-07T13:00:11Z")

</div>

Maybe this will be helpful,

> [@Tag history difference over interval](https://forum.inductiveautomation.com/t/tag-history-difference-over-interval/48366/2):
>
> With the help of @JordanCClark (thanks, didn’t know about zip), I ended up with the below script. It will take a history tag (integer, float, double) and find the difference over hour intervals between a start and end date. Any value over 0 will be counted. You can rollover at any time, although your process may deem it necessary to only rollover if you aren’t running. You can then use this is a bar chart, for example, to show counts per hour over time. If the tag doesn’t exist, it should j…

---

_[View the full topic](https://forum.inductiveautomation.com/t/reporting-flow-totals-issue-with-plc-data-rollover/105971)._
