Forum Discussion
cristianml
Post Prodigy
3 years agoSUM Grand TOTAL
Hi, i need to SUM the 472,790,67 to the GRAND TOTAL (marked in RED) so I can DIVIDE it for a CARD VISUAL See measure : Revenue Previous Month = VAR V1 = CALCULATE(SUM('Rev CCI'[REV MTD C...
- 3 years ago
Solved with the following DAX:
Revenue Previous Month =VAR V1 = SUMX(VALUES('Calendar'[Date]),CALCULATE(IF(SELECTEDVALUE('Calendar'[Month Diff])=0,CALCULATE(SUM('Rev CCI'[REV MTD CFY USD]),PREVIOUSMONTH('Calendar'[Date])))))RETURNV1
cristianml
Post Prodigy
3 years agoSolved with the following DAX:
Revenue Previous Month =
VAR V1 = SUMX(VALUES('Calendar'[Date]),CALCULATE(IF(SELECTEDVALUE('Calendar'[Month Diff])=0,CALCULATE(SUM('Rev CCI'[REV MTD CFY USD]),PREVIOUSMONTH('Calendar'[Date])))))
RETURN
V1