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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Calculate difference between columns in matrix

Hi,

 

I created a matrix showing the percentage of column total of some column in my table. I want to compare the percentage between 2 chosen columns in the matrix (here: Auchan and Carrefour).

 

So, you see 12,97% in Auchan and 15,42% in Carrefour. Hence, Carrefour is 19% higher than Auchan and the number I'd like to show then is 119 (in a third column)

 

How can I do that?

table with comparison.JPG

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Here is a similar example for your reference:

Difference between 2 columns in a Matrix Table

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yulgu-msft: how does this work when you want to compare 2 categories and not 2 periods? I can't work it out...

Anonymous
Not applicable

I know, but that doesn't solve my problem. Mine is not about periods AND it is about a column as percentage of column total.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.