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! It's time to submit your entry. Live now!
Hi folks,
I am gapping on how to do what I think should be simple.
I have a matrix visual that is working very well using basic sum aggregation for the columns as shown below.
My user would like an additional column in the matrix that shows what percentage of the total each product makes up for each location. The locations are the first row set in the matrix and the products are the second row set in the matrix.
As an example, the % value for the first product (Bathurst PMO) would be 97753 / 1785017 displayed as a percentage to two decimal places (5.48%) Since I do not know the total for the location until the matrix is visualized, I do not know how to create the measure or column to hold the percentages.
I feel that I am missing something incredibly obvious. Assistance will be very much appreciated.
Solved! Go to Solution.
Try these measures. ALLSELECTED removes visual-level filters from Product, but keeps filters from outside the visual (e.g., slicer). ALL can be used instead of ALLSELECTED; just be sure to understand the difference.
Total Volume FBM = SUM ( Table1[Volume FBM] )Product % of Location =
VAR vNumerator = [Total Volume FBM]
VAR vDenominator =
CALCULATE ( [Total Volume FBM], ALLSELECTED ( Table1[Product] ) )
VAR vResult =
DIVIDE ( vNumerator, vDenominator )
RETURN
vResult
Proud to be a Super User!
Thank you so much for your assistance! I would not have gotten here without your help. Brilliant!
Try these measures. ALLSELECTED removes visual-level filters from Product, but keeps filters from outside the visual (e.g., slicer). ALL can be used instead of ALLSELECTED; just be sure to understand the difference.
Total Volume FBM = SUM ( Table1[Volume FBM] )Product % of Location =
VAR vNumerator = [Total Volume FBM]
VAR vDenominator =
CALCULATE ( [Total Volume FBM], ALLSELECTED ( Table1[Product] ) )
VAR vResult =
DIVIDE ( vNumerator, vDenominator )
RETURN
vResult
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |