Forum Discussion
Running Total Help
- 2 years ago
Hi,
This measure works
Measure = COUNTROWS(FILTER(VALUES('Resource Priority'[RT Good Week]),[10K 2PLD RT]>0))+1Hope this helps.
Sorry, stupid question. How do I share it?
Google Drive/One Drive.
- Kareus2 years agoHelper I
Google Drive It Is
- Ashish_Mathur2 years agoSuper User
Hi,
This measure works
Measure = COUNTROWS(FILTER(VALUES('Resource Priority'[RT Good Week]),[10K 2PLD RT]>0))+1Hope this helps.
- Kareus2 years agoHelper I
Works, for counting ALL dates less than or equal to zero.
BUT, I'm looking for the number of weeks to the FIRST and only the FIRST negative value.
https://drive.google.com/file/d/1BnqZDDm8UjoIObpoM-m5tWv31EwLx-K6/view?usp=sharing
- Ashish_Mathur2 years agoSuper User
I do nto understand your expected result. Show that very clearly.
- Kareus2 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.
- Kareus2 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)
- Ashish_Mathur2 years agoSuper User
Hi,
I can try but before that you will need to create a Calendar Table in the file with a week column in there. Create a relationship (Many to One and Single) from the Good Build Date column to the Date column of the Calendar Table. Share the download link of the revised PBI file.