Forum Discussion
dw700d
6 years agoPost Patron
Running Total by Date
I am trying to create a running total for the sum column by date for the below table. How can I accomplish this by creating a measure? Date Type Spend 7/27/2020 EP...
Anonymous
6 years agoNot applicable
Hi dw700d
Try this measure
RuningTotal =
VAR selectedDate = SelectedValue(Table[Date])
VAR FilteredTable = Filter(
All(Table)
, Table[Date] <=selectedDate
)
Return Sumx(filteredTable, Table[Spend])Hope this helps.
Thanks