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! Learn more

Reply
Anonymous
Not applicable

Displaying Average instead of Sum

Hello community,

 

I am working on a Matrix where I want to see the sum of a measure I created called "Average Sales Price"

 

GSB0302_0-1715877546713.png

Right now it's just displaying the average of everything. I want to see the overall sum of the average sales price of all of these parts for each section, and the sum of the overall average sales price of the sections for each sytem (name of which I blacked out for privacy purposes).

 

When I go to my average sales price value it does not give me an option to summarize

GSB0302_1-1715877663286.png

Any advice on how to achieve this, or if it's achievable at all would be appreciated.

 

Thanks

6 REPLIES 6
Anonymous
Not applicable

Hi, @Anonymous 
Based on your information, I create a table:

vyohuamsft_1-1716175319642.png

 

Maybe you can create a measure to calculate total value:

Sum of Avg Sales Price = SUMX('Table', [Average Sales Price])

Then put it in Value, here is my preview:

vyohuamsft_0-1716174866838.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@Anonymous , Based on what all level do you want sum

 

Sumx(Summarize(Table, Table[TG System Group], Table[Level one column], "_1", [Your Avg Measure]) , [Measure])

 

Avg of Sum : https://youtu.be/cN8AO3_vmlY?t=22980

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
Anonymous
Not applicable

Bumping this because I am still having this issue. I attempted this solution, but the totals for the section don't look like they're adding up correctly? Please any help here would be appreciated. I included the measure I createad to show.

 

GSB0302_0-1716298148560.png

 

Anonymous
Not applicable

Hi, @Anonymous 

You just put the Avg metric into SUMX, and that's it

Sum of Avg Sales Price = SUMX('Table', [Average Sales Price])

vyohuamsft_0-1716364961434.png

Here's a comparison, you can take a closer look at what's the difference, the total is aggregated, but it's still the average between them.

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

This does not work

GSB0302_0-1716382183063.png

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors