Forum Discussion
Running Totals in Query Editor
Does it have to be Power Query, there are well known patterns for this in DAX:
http://www.daxpatterns.com/cumulative-total/
- michellefs_br10 years agoHelper I
I've tried that one in DAX and it gives me only the total value and put it on each row
- Greg_Deckler10 years agoCommunity Champion
Could you also create a running total in DAX for EndDate Count and then create a date table, relate the date table to both Start and End tables and then create a calculated column in the date table that essentially subtracts the two related columns from one another?
- Sean10 years agoCommunity Champion
michellefs_br Can you provide a sample of the data in both tables?
And what would be the desired result from that sample?
Also what format are the Start and End Dates?
- michellefs_br10 years agoHelper I
They both have the same values, a Date and a Count.... the desired result would be that one, but on one table instead of two, so I can do a running total using the start date minus the end date
- dgosbell10 years agoAdvocate I
michellefs_br wrote:I've tried that one in DAX and it gives me only the total value and put it on each row
You've inserted the calculation as a column. It won't work properly in that context. If you insert the same DAX expression as a Measure it should do what you are after.