Forum Discussion
Snagalapur
6 months agoHelper IV
Cumulative phasing
Hi All, Kindly suggest how to modify below measure to show cumulative values ie.. P01 = P01, P02 = P01 +P02, P03 = P01 +P02+P03 Budget PNL = VAR LC= CALCULATE(SUM(FACT_DATA[AMOUNT]), FILTER...
- 5 months ago
no problem. I did try below code block to modyfy my formulas and this works
Cumulative Sales = VAR MaxDate = MAX('DateTable'[Date]) RETURN CALCULATE( SUM('Sales'[Amount]), FILTER( ALLSELECTED('DateTable'), 'DateTable'[Date] <= MaxDate ) )
Ashish_Mathur
5 months agoSuper User
sorry but still cannot understand.
Snagalapur
5 months agoHelper IV
no problem. I did try below code block to modyfy my formulas and this works
Cumulative Sales =
VAR MaxDate = MAX('DateTable'[Date])
RETURN
CALCULATE(
SUM('Sales'[Amount]),
FILTER(
ALLSELECTED('DateTable'),
'DateTable'[Date] <= MaxDate
)
)