Forum Discussion
Consecutive days with no increment in Running Total
- 1 year ago
Hi,
Try this calculated column formula
Column = calculate(countros(Data),filter(Data,Data[Name]=earlier(Data[Name])&&Data[Day]<=earlier(Data[Day])&&Data[Goal]=earlier(Data[Goal])))
Hope this helps.
Hi rajen,
thank you it works very well!
In addiction, which will be the best way to return the count of consecutive giornata with "No".
Looking the table I attached, for the day 7 the correct value would be 0.
For the day 15 the correct value would be 3,
For the day 16 the correct value would be 4
Fo the day 17 the count restart from 0.
Do you suggest a measure or a new calculated column?
Many Thanks
Hi,
Try this calculated column formula
Column = calculate(countros(Data),filter(Data,Data[Name]=earlier(Data[Name])&&Data[Day]<=earlier(Data[Day])&&Data[Goal]=earlier(Data[Goal])))
Hope this helps.
- DataStep1 year agoNew Member
It works correctly!! Many Thanks
- Ashish_Mathur1 year ago
Super User
You are welcome. If my reply helped, please mark it as Answer.