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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
joeytsui
Helper I
Helper I

SUM of AVERAGE

Hi All,

 

My table have a measurment called "Average ORSO", which is an averaged value of a column ORSO_ER

and i added a Martix Visual, want to calcuculate the SUM of "Average ORSO", however the martix calculated the 

average of the "Average ORSO" instead of SUM, may i know where can i change it ? 

 

 

thanks in advance.

 

best regards,

Joey

 

2018-12-08_15h30_27.png

1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @joeytsui

 

You can go through the following thread to understand the issues with incorrect measure totals

 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

 

Further you can go through the video below to understand the measure totals.

 

https://www.youtube.com/watch?v=Ka7Ds4EAjNQ

 

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

View solution in original post

2 REPLIES 2
affan
Solution Sage
Solution Sage

Hi @joeytsui

 

You can go through the following thread to understand the issues with incorrect measure totals

 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

 

Further you can go through the video below to understand the measure totals.

 

https://www.youtube.com/watch?v=Ka7Ds4EAjNQ

 

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

AlB
Community Champion
Community Champion

Hi @joeytsui

 

If I understand correctly, you want a behaviour at the total different from that at the single rows (SUM vs AVG).

For that I think you need to first check where the measure is operating , if at the total or not, and then use a different formula. The idea:

IF @TOTAL do SUM...

else

   do AVERAGE

 

You can do the check with HASONEVALUE(  ), SELECTEDVALUE( ) or something similar

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.