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
Anonymous
Not applicable

Total of a measure with selectedvalue and parameter

Hi all,

can you help me out please. I created the attached measure and want to get a sum (total of it) how can I do that please.

The measure contains "Selectevalues" and "Parameter". I tried sumx but it doesn't give correct totals.Capture.PNG

Thanks,
Miriam

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can create a measure like, of put this code into var and use that

 

SUMX(Values(Calendar[Month]), [IYR Projection])

 

Bascially, you need to use a grouping . You might have use Month or some other column in the visual

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You can create a measure like, of put this code into var and use that

 

SUMX(Values(Calendar[Month]), [IYR Projection])

 

Bascially, you need to use a grouping . You might have use Month or some other column in the visual

Anonymous
Not applicable

Thank you that worked. The mistake I did was not putting Values in the equation. So I wrote it initially like this:

SUMX((Calendar), [IYR Projection])

 

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.