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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lywnnn
Regular Visitor

Calculating difference based on selected slicer values

Hello Everyone,

 

I had been trying to make a comparision matrix visual that includes the calculated quantity values on the difference between two versions that are selected from "version" slicer created in Power Bi. How can I achieve that?

 

E.g I am intending to display the quantity values of the selected versions as well as the calculated quantity value the differents for all the months in a single matrix table and the table will change dynamically as I choose another "version" from the slicer. The excel file below is the outcome that I want to achieve in Power Bi. Thank you in advance!

 

Link to data (actual and plan worksheets)

https://drive.google.com/file/d/1g-n-FP4FHW0p1NT-POMdZZxKh7x8qZUo/view?usp=sharing

 

 

image.png

3 REPLIES 3
Anonymous
Not applicable

Hi @lywnnn ,

I can't access to the shared file link, could you please provide some sample data andyour expected result with Text format if sharing files is unsuccessful?

https://drive.google.com/file/d/1g-n-FP4FHW0p1NT-POMdZZxKh7x8qZUo/view?usp=sharing

In addition,  you can refer the content in the following links to get it.

Comparison of a plan and a reality in Power BI

Compare Plan and actual data

Best Regards

amitchandak
Super User
Super User

@lywnnn , if you need to show diff between two slicer values from two slicers. One of the slicers needs to come from an independent table

I have discussed an example for a date here

 How to use two Date/Period slicers:https://www.youtube.com/watch?v=WSeZr_-MiTg

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit, my intention is to show the difference based on the 2 selected values in a single slicer.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.