Forum Discussion
Anonymous
4 years agoNot applicable
Weighted average - help needed
Hello everyone, I am learning PowerBI and am trying to calculate an average value. I have the population size for a series of cities, across a number of years, and the population age C...
- 4 years ago
Weighted average can be computed like this:
AvgAge = DIVIDE ( SUMX ( Table1, Table1[Age] * Table1[Size] ), SUMX ( Table1, Table1[Size] ) )
AlexisOlson
4 years agoSuper User
You'll need a SUM around the [numerator] in the Ratio.
Ashish_Mathur
4 years agoSuper User
Yes, that is correct.