Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cristianml
Post Prodigy
Post Prodigy

SUM 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 CFY USD]),PREVIOUSMONTH('Calendar'[Date]))
RETURN
IF(SELECTEDVALUE('Calendar'[Month Diff])=0,V1,BLANK())

 

 

cristianml_1-1677433631445.png

 

 

cristianml_2-1677433704239.png

 

Any ideas?

 

Thanks

 

 

1 ACCEPTED SOLUTION
cristianml
Post Prodigy
Post Prodigy

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])))))
RETURN
V1

 

cristianml_0-1677436967804.png

 

View solution in original post

1 REPLY 1
cristianml
Post Prodigy
Post Prodigy

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])))))
RETURN
V1

 

cristianml_0-1677436967804.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.