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
paulvu0911
Frequent Visitor

Calculate the difference between two columns in a matrix

Hello,

 

I'm trying to create a table like this Power BI. Each row is a measure that I've built in Power BI, and the column represents the categories of the data item. However, I have a hard time creating the "Difference Column" to calculate the difference of each measure between "Sales" and "Contract". Is there a way in Power BI that I can create a column for "Difference"?

 

Thank you very much.

 

 April-18
 SalesContractDifference
Loan Ct:                        555  
UPB: $        100,000,000.95  
Avg Loan Amt: $             236,134 $             287,145 $           (51,011)
WAC                     4.809                     4.150                 0.659
wAvg LTV:                       79.672.67.0
wAvg FICO:                        743747-4
Escrow%:92%50%43%
Purchase %:76%38%38%
OO %:86%86%0%
CA%:26%68%-42%
1 ACCEPTED SOLUTION
4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @paulvu0911,

 

Would you please share a pbix file with some dummy data for us to test it? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@paulvu0911 

 

Did you ever find a solution for this?  I'm trying to accomplish the same thing.

Thanks!  I'll check it out.

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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