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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors