Count Consecutive Times a Calc is above 0
Hi all,
I have a report that displays how many times each of our stores has been in the Bottom 25% in a R12 period. I'm doing that using the Rank function, and then counting if it's in the bottom 25%, and that works fine.
Now they would like to see the number of times the store was consecutively in the bottom 25%. So, for instance, if the Store is in the bottom in May, was it in April? Was it in March? And then I'd count those times and display it.
I'm trying to find a way to count that in TARGIT, but not having much luck. Does anyone have an input?
Thanks,
Danilo



Comments
6 comments