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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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