March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |