Forum Discussion
Kareus
2 years agoHelper I
Running Total Help
How can I determine the first intance the running total is less than or equal to 0? In this case I want the result to be 6. As its the first week that is non-zero. Thank you!
- 2 years ago
Hi,
This measure works
Measure = COUNTROWS(FILTER(VALUES('Resource Priority'[RT Good Week]),[10K 2PLD RT]>0))+1Hope this helps.
Kareus
2 years agoHelper I
I'm trying to figure out the periods of time (weeks) to the green box of each running total.
For the Wide RT column. Your formula is returning 3. It should be 1 as the frist row is negative.
I listed the correct answer in green below the "Lead Time - Weeks" table.
Kareus
2 years agoHelper I
Does this reply above make sense Ashish?
This YouTube video is a really close solution, but my Running Total is a measure.
So CALCULATEDTABLE(VALUES (Sales[Order Date]), ALLSELECTED()) does work from the video.
Counting consecutive days with sales - Unplugged #47 (youtube.com)