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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!




Community Support
Community Support

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. 

New Member

This is what the slicer selections look like;



Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors