Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
freddoune
Frequent Visitor

Matrix visual

Hello all,

I have a matrix with in column the month and in the row the countries and in the values my measure

I added the total per row and per column. I would like to know if it's possible to add the %of the column total as decribed below.

Thanks for your support 

Frédéric

freddoune_0-1739621380443.png

 

2 REPLIES 2
girishthimmaiah
Resolver I
Resolver I

Yes, you can add a new column in your Power BI matrix visual to display the percentage of the column total. Here’s how to do it:

 

Steps to Add % of Column Total: Create a New Measure You need to add a DAX measure that calculates the percentage of the total for each row.

 

DAX  % of Column Total = DIVIDE( SUM('YourTable'[YourMeasure]), CALCULATE( SUM('YourTable'[YourMeasure]), ALL('YourTable'[Country]) ) ) SUM('YourTable'[YourMeasure]): This calculates the sum of the measure for each row. CALCULATE(SUM('YourTable'[YourMeasure]), ALL('YourTable'[Country])). This computes the total sum across all countries, removing the country filter. DIVIDE(...): This ensures safe division to prevent errors when dividing by zero.

 

Add the Measure to the Matrix Drag this measure into the Values field in the matrix. Change the format to percentage using the Measure Tools ribbon. Place it in the Rightmost Column If necessary, adjust the matrix column subtotals to make sure this new measure appears correctly. This will show the percentage of each country’s total in relation to the overall total.

Thanks for the feedback

if i apply your solution in the column i'll have both my measure and the % whereas i only want to display the percentage near the total column. How can remove these columns. Thanks

freddoune_0-1739630341755.png

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)