cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors