Forum Discussion
running totals
- 4 years ago
MarcUrdang , what is your source table structure , usually running total with Date or sortable month year (YYYYMM) you can get like
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
MarcUrdang , what is your source table structure , usually running total with Date or sortable month year (YYYYMM) you can get like
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
- MarcUrdang4 years agoPost Patron
thanks SO much .. .have accepted as a solution
have a super weekend
- MarcUrdang4 years agoPost Patron
Hi Amit .. that works perfectly ... just one more question ... now that the numbers are in a matrix .. I need another calc that works out the % diff ie ... not sure if i need to post another request for this ?
Jan
2021
Val 25
% dif
2022
Val 40
% diff 60