Forum Discussion
Running Total per category
- Anonymous4 years ago
Hi justinbouchard ,
Do you want to calculate the running total per app_term and based on date?
Try this code.
Measure = CALCULATE(SUM ( Sheet1[app number] ),FILTER(ALL(Sheet1),Sheet1[APP_TERM] = MAX(Sheet1[APP_TERM])&&Sheet1[Date Received]<=MAX(Sheet1[Date Received])))Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hello Anonymous , in my schenario i've a column date, a category and an column count
I used the formula above, it's working except fot this scenario:
in the last years i've some categories without vaues and for them is not countered the max value of the previous yer
if you can see in the chat below, the grey and blue part should be present into 2029 and 2030 too with the same amout of 2028.
Any help is appreciated
Hi!
Did you solve the problem? I have the same problem when I need that categories shows from previous periods.