Forum Discussion
Anonymous
5 years agoNot applicable
DAX Help
I need help creating a DAX measure for the following task in the below dataset Year Month Sales 2019 Jan 100 2019 Feb 110 2019 Mar 120 2019 Apr 130 2019 May 140 2019...
FrankAT
5 years agoCommunity Champion
Hi Anonymous
take a look at the following solution:
Sum of Sales = SUM('Table'[Sales])
Running Total =
CALCULATE(
[Sum of Sales],
FILTER(
ALLEXCEPT('Table','Table'[Year]),
'Table'[Date] <= MAX('Table'[Date])
)
)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)