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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
csandwick
Frequent Visitor

Using total from rows and not totaling the columns

In my report my measure column is showing the correct number for each row, but the total at the bottom is wrong. The measure takes the stanard weight times the quantity. The formula for the measure is below and using sum and sumx both yeild the same results. In the second picture you can see I've changed the standard weight field from "don't summerize" to "sum" snd the rows don't change for stanard weight, but the total it shows for that column is correct. You can see though that the incorrect number for the measure is calcuated from the sum of quantity and starard weight multipled by each other, which is not what I want or even correct. How can I fix this so the totals are total down the columns?

 

 

Measure = SUMx('BelleHarvest Inc$Item Ledger Entry',[Quantity]) * SUMx('BelleHarvest Inc$Item Variant',[Standard Weight])

 

Standard weight not summerizedStandard weight not summerized

 

Standard weight summerizedStandard weight summerized

 

3 REPLIES 3
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@csandwick,

Create the following measure in your table.

Measure2 = SUMX('BelleHarvest Inc$Item Ledger Entry','BelleHarvest Inc$Item Ledger Entry'[Quantity]* 'BelleHarvest Inc$Item Ledger Entry'[Standard Weight])

1.JPG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The information is coming from two different direct quries, the Item Ledger and Item Variant table so BI wont accept that formula for the measure.

@csandwick,

It seems that you refer to different columns and tables, could you please share dummy data of your tables and post error message you get?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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