Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Cumulative Measure

Hello All,   I'm trying to create a cumulative measure that is based off two other measures.  The normal DAX pattern that I use for Cumulative totals is not working.    I started with this measur...
  • bcdobbs's avatar
    bcdobbs
    4 years ago

    Does this work:

    CALCULATE(
    	SUMX(
    		VALUES(Dates[Date]),
    		[Daily Forecast]
    		
    	),
     	FILTER( ALLSELECTED( Dates ), Dates[Date] <= MAX(Dates[Date]) ))
    )