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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
atrunkfield_74
New Member

Calculate the Difference between two visualisations

I have been asked by my colleague to create two tables for healthcare providers, both having multiple filters - but the same filters on each table (region, name, treatment area, procedure etc.) so that we can do side by side comparisons, but then he's asked if it's possible to have a 3rd table which allows us to calculate the difference between tables A & B.

I've racked my brains, but I don't think it can be done in the way he wants - I don't know how to write the DAX because the slicers on table A are the named the same as the ones on table B so I can't reference them in the DAX code and the resulting tables are visualisations, not hard coded tables. If you can think of any way to create a third, calculated, table, I would be very appreciative!

 

atrunkfield_74_0-1715632804005.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @atrunkfield_74 ,

Based on the information you have provided, can you give us your desired output. If you do not mind can you also provide some detailed data (without sensitive information), providing specific data and clearly expressing the results you want can help us better understand and solve your problem.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

Hi -the desired outcome is the value of Table A minus the value of Table B shown in a third table - Table C, thus showing the value difference between the two tables. 

atrunkfield_74
New Member

This is what the slicer selections look like;

atrunkfield_74_0-1715633080406.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.