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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculate difference between two variable columns in a matrix

Hi Community,

 

I am rather new to the community. I have a question regarding variable columns. I have created a Matrix which shows columns based on the selection in a slicer using a separate table with the following formula:
image.png


Now I would like to calculate the difference between the first and the second column. Are there any solutions on how to get there?

Thank you for your help.

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Sorry I can’t replicate your issue, could you please share us your detailed data and expected data ? It’s preferred to share us your detailed data (upload your pbix to Onedrive and share links here) but kindly masking your confidential info.

 

We’d like to provide further support once we got it.

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Hi Dina,

 

thank you very much for your reply.

I was able to sort out the problem.
Thank you very much anyhow.

 

Best

lenn93

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.