Forum Discussion
vinothkumar1990
2 years agoHelper II
Table Matrix Report Total Sum Issue
Hi All, I have requirement to calculate the cumulative sales for each month with the below rows and columns. Rows - Region and Country Column - Mon-YYYY Values - Sales (Sales Amount) Sample ca...
- 2 years ago
Hi vinothkumar1990
Try below Calculated column not measure.Sales 2 = CALCULATE (SUM ( 'Region Sale'[Sales Amount]),FILTER (FILTER ( 'Region Sale', 'Region Sale'[Country] = EARLIER ( 'Region Sale'[Country] ) ),'Region Sale'[Mon-YYYY] <= EARLIER ( 'Region Sale'[Mon-YYYY] )))I hope this works for you.!
Uzi2019
2 years agoCommunity Champion
Hi vinothkumar1990
Try below Calculated column not measure.
Sales 2 = CALCULATE (
SUM ( 'Region Sale'[Sales Amount]),
FILTER (
FILTER ( 'Region Sale', 'Region Sale'[Country] = EARLIER ( 'Region Sale'[Country] ) ),
'Region Sale'[Mon-YYYY] <= EARLIER ( 'Region Sale'[Mon-YYYY] )
)
)
I hope this works for you.!