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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
DKM_83
Regular Visitor

Difference between two Categories value - Matrix Table

Hi Team,

 

I have created Matrix table and wants to show difference between two cateories values.

 

The below table Catefories for App and Web is single column and wants to show Diff column is App-Web values.

 

 

 

Capture.PNG

 

kindly advise me.

 

 

Thanks

DK

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @DKM_83 
You can create 3 measures and use them, as "values".
(you don't need to put anything in "columns")

1. For app
App = calculate( sum('your table name[your value column]), 'your table name[category] = "App")
2. For Web
Web= calculate( sum('your table name[your value column]), 'your table name[category] = "Web")
3. For diff 
Diff = [App]-[Web]

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @DKM_83 
You can create 3 measures and use them, as "values".
(you don't need to put anything in "columns")

1. For app
App = calculate( sum('your table name[your value column]), 'your table name[category] = "App")
2. For Web
Web= calculate( sum('your table name[your value column]), 'your table name[category] = "Web")
3. For diff 
Diff = [App]-[Web]

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.