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
Hello PBI Community,
@Greg_Deckler
I'm an intermediate level user struggling to do some hocus pocus with a Matrix visual. When Class column is expanded, Average column does an average (i.e., 5, 10, 5, 20), but when collapsed the total displayed in the column is the calculation of the Excel SUMPROD function (i.e., 12). I've been trying and reading on my own for a couple of weeks but haven't had any luck thus far.
Example:
Any help is greatly appreciated
Solved! Go to Solution.
@BlackDevX , Create a new measure
divide(Sumx(Table, Table[Days]*[Average]), sum(Table[Days]) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |