I'm using compressed data to display reject rates on a packaging line. This tag counts bags rejected during a batch. I want to only capture the last value before it resets to 0. That way I can just see that batch x had y rejects.
So in this example, the first batch had 28 rejects. It automatically resets to 0 and begins counting rejects for the next batch. I only want to display 28. And then the value for the next batch. How can I do this?