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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors