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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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