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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MarceloDF
Helper I
Helper I

Getting SUMX total row as a SUM of the SUMX values.

Hi, I have this data:

MarceloDF_0-1659419489244.png

This is a Matrix. So in the rows I have 2 dim tables (suppliers and products), then I have Stock for each product with the total of the supplier.
Then I have the % of each product regarding the total stock.

Then I have a measure with a divide of total sales and total stocks. (like an average)

And in the last measure (the one that I want to resolve) is this:

 
Cow price of 1kg  =
SUMX (
VALUES ( dimSupplier[supplier]),
[Average Measure] * [Percentage]
)


I want to show in the total, the sum of this values. But, of course, I'm receiving 36.71 * 100%, that is 36.71.
 
Thanks.
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MarceloDF , what is a column in visual? If that supplier the above should work. If that product then you should use the product

 

Cow price of 1kg =
SUMX (
VALUES ( dimProduct[Product]),
[Average Measure] * [Percentage]
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
MarceloDF
Helper I
Helper I

@amitchandak the columns are empty in the visuals but changing the measure from Suppliers to Products it works!

Thank you very much!

amitchandak
Super User
Super User

@MarceloDF , what is a column in visual? If that supplier the above should work. If that product then you should use the product

 

Cow price of 1kg =
SUMX (
VALUES ( dimProduct[Product]),
[Average Measure] * [Percentage]
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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