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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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