Forum Discussion
monthly running total
I want to do a running total of Production dollars for each month vs target production Dollars. A sample chart attached below. Would like to know input on how to create a DAX for this calcualtion?
Hi Anonymous,
Based on my test, we can create two calculated columns to meet your requirement.
run P = TOTALMTD(SUM(Table1[Porduction]),Table1[date],ALL(Table1))
run t = TOTALMTD(SUM(Table1[Target]),Table1[date],ALL(Table1))
Then we can get the result as we excepted.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/0fsn7lo72mr9ixo/monthly%20running%20total.pbix?dl=0
Regards,
Frank
1 Reply
- v-frfei-msft
Community Support
Hi Anonymous,
Based on my test, we can create two calculated columns to meet your requirement.
run P = TOTALMTD(SUM(Table1[Porduction]),Table1[date],ALL(Table1))
run t = TOTALMTD(SUM(Table1[Target]),Table1[date],ALL(Table1))
Then we can get the result as we excepted.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/0fsn7lo72mr9ixo/monthly%20running%20total.pbix?dl=0
Regards,
Frank