Forum Discussion
Resetting Running Total Based On It's Own Value
- 4 years ago
Hi,
Thank you for your reply.
I can see that you have a Date column. This can be used in the formula, instead of using Index column.
I tried to create another sample pbix file like the attached, and please check.
Thanks.
For some reason I am unable to attach an example .pbix, so I will try to explain my situation a bit better.
So, I have the listed the formula above as the way in which I have calculated a running total. This running total works when I apply a filter for job location. So when I have job location selected as "Location 2" the running total is correct for that location.
Thanks to you, I have also been able to establish a group measure that counts how many times that total has gone past 100,000,000. What I am stuck on is that since I don't have an index column I am unable to use your DAX for the reset cumulative which is as follows:
| Date | Total Product | ProductRT | Grouping 100M | Job Location |
| 9/25/2020 | 962460 | 962460 | 1 | 6 |
| 9/26/2020 | 3383240 | 4345700 | 1 | 6 |
| 9/27/2020 | 3371960 | 7717660 | 1 | 6 |
| 9/28/2020 | 3379900 | 11097560 | 1 | 6 |
| 9/29/2020 | 3868830 | 14966390 | 1 | 6 |
| 9/30/2020 | 3859250 | 18825640 | 1 | 6 |
| 10/1/2020 | 3864460 | 22690100 | 1 | 6 |
Hi,
Thank you for your reply.
I can see that you have a Date column. This can be used in the formula, instead of using Index column.
I tried to create another sample pbix file like the attached, and please check.
Thanks.
- Ncf50314 years ago
Advocate I
Thank you kindly for your help.