Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Howdy All,
Looking to roll up weighted averages across multiple levels. First to a group level, then to a class level. The below table gives a brief dataset overview.
I'm struggling to roll up the average weight sum for the class level (in green), the Group level appears to work alright but struggling for the class level.
Any feedback would be appreciated.
Warm Regards
Solved! Go to Solution.
Hi @damiendry,
According to your description, it seems like a common multiple aggregations requirement.
You can create a variable with SUMMARIZE function to do the first level aggregate and use iterator function SUMX to apply the second level on previous calculation results.
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
Hi,
Share the download link of the PBI file and also explain how to calculate the average at the Class level.
Hi @damiendry,
According to your description, it seems like a common multiple aggregations requirement.
You can create a variable with SUMMARIZE function to do the first level aggregate and use iterator function SUMX to apply the second level on previous calculation results.
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 41 | |
| 22 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 62 | |
| 45 |