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
powerbiwork
Helper I
Helper I

DAX Measure from Switch Measure Not Totaling

Hi, 

 

I created a switch measure for a couple of conditions to pull a specific value. Then I use that to create another measure to multiply by a column to get the value I need. However, the total would not show up and I have tried to use sumx and summarize the table but the total was still wrong. Any help will be much appreciated. 

 

Here is my switch value, which worked and pulls correctly

powerbiwork_0-1639669401997.png

I need to use whatever rate that pulls to create another measure 

powerbiwork_1-1639669441279.png

Which calculated correctly, however, does not sum 

powerbiwork_2-1639669474719.png

 

Thanks. 

1 REPLY 1
amitchandak
Super User
Super User

@powerbiwork , You need to use a visual grouping on top of this measure to get that corrected

using values or summarize

 

sumx(values(Table[Column]) , [Your measure] )

 

Refer

https://www.youtube.com/watch?v=ufHOOLdi_jk

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.