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
tomekm
Helper III
Helper III

Calculate the overall/aggregated weighted average for a column based on individual weighted averages

Hello,

I created a calculated column that computes the weighted average for each row ID in my dataset, and when I try to show the overall/aggregated weighted average at the bottom of the column, pbi can only show "SUM" of those weighted averages, and when changing the option to AVG, it shows the average of those weighted averages, instead of the aggregated weighted average. For the dataset below, for column B it should show a value of 11 as being the overall weighted average, instead of the 9.5 which is the aritmethic average of the computed weighted averages. Any ideas on how to fix this so that I can show the overall/aggregated weighted average?

 

item IDcalculated column for weighted average:
110
214
39
45
total 38
avg9.5

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Instead of using a calculated column for the weighted average, use a measure that fully implements your desired business logic, both for the individual "rows"  and for the row totals.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Instead of using a calculated column for the weighted average, use a measure that fully implements your desired business logic, both for the individual "rows"  and for the row totals.

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.