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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.