Forum Discussion
Running Total
- 6 years ago
Hi schoden
Try this one?
Running total = calculate(sum(V_PM_project(Hours_actual),Filter(ALLSELECTED(V_PM_project),[date_entered]<=max(V_PM_project'[date_entered]))
- schoden6 years agoPost Partisan
Hi AllisonKennedy Thanks for getting back ... You explained very well it to why ALL will not work here as I have other filters applied 🙂
I tried with date table too , since it didnt pop up any dates , so I went with orginal table dates , here it
is Date_entered.
But I am confused what shall I put in the interval arguments if I am to use DATESINPERIOD?
- v-diye-msft6 years agoCommunity Support
Hi schoden
Try this one?
Running total = calculate(sum(V_PM_project(Hours_actual),Filter(ALLSELECTED(V_PM_project),[date_entered]<=max(V_PM_project'[date_entered]))
- schoden6 years agoPost Partisan
v-diye-msftThanks a lot ...It worked for me with your DAX.... ALL and ALLSELECTED Difference 😄 Fabulous 😄
- AllisonKennedy6 years agoCommunity ChampionIf you use DATESINPERIOD you would do something like -3, YEAR) for the number of intervals and interval, depending on how far you want the running total to go back in time.
Another option could be to use DATESBETWEEN() and just provide start and finish dates- schoden6 years agoPost Partisan
Thank You for sharing your knowledge .... As a new Power BI Learner , its very helpful 😄
I have resolved this issue , Thanks