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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CJANE
Helper I
Helper I

Difference Column in Matrix

I feel like I am trying to accomplish something very easy but cant find the correct solution.  I have a matrix with sales listed for Trust A, B, and C.  I have two rows listing sales for 2016 and 2017.  I simply want a column displaying the difference between 2016 and 2017 sales.  Any suggetions on a solution that doesnt require multiple new columns or methods.  Thanks in advanced for any help.

 

 

 2016 Sales2017 SalesDifference
Trust A5,000,00024,120,000-19,120,000
Trust B60005,000,000-4,994,000
Trust C2006000-5,800
Trust D24,120,00020024,119,800
1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @CJANE,

 

According to your description above, I don't think it is possible to do it within a Matrix visual currently. You may need to find a way to show "2016 Sales" and "2017 Sales" as different columns in a Table visual, then you should be able to write a measure to calculate the difference between them easily and show the measure on the same Table visual with the "Trust" column.Smiley Happy

 

Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.