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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors