Hi there,
I’m currently watching the series about cumulative sales.
In this video the following formula is used:
Cumulative Sales =
CALCULATE( [Total Sales];
FILTER( ALL( Dates[Date] );
Dates[Date] <= MAX( Dates[Date] ) ) )
But I don’t get it when you should use MAX and when LastDate.
When I try
Cumulative Sales =
CALCULATE( [Total Sales];
FILTER( ALL( Dates[Date] );
Dates[Date] <= LASTDATE( Dates[Date] ) ) )
every date in a matrix simply gets the total of all sales for all dates.