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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Show 'Different Records' or 'Common records' using a slicer

I've made a sample dataset for this situation I am facing right now.

 

Infotable1

Iver199_0-1639199845854.png

 

Infotable2

Iver199_1-1639199888620.png

 

Venue1

Iver199_2-1639199918535.png

 

Venue2

Iver199_3-1639199944330.png

 

Given all those tables I currently have these visuals in order to compare the tables

Iver199_4-1639200056684.png

It can be seen in the visuals that there is clearly a difference between the data source records. I can easily use a measure and the filter pane to make it so that the visuals will only show the records that are different. But what I want to do is to use a slicer in order to achieve the same thing. Like the slicer will have the options of "Show different records" or "Show common records" and choosing one of those will show in the visuals the respective records. How do I achieve that?

 

Thank you in advance!

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

you should only use one venue table, that is what brings the data together, .  see attached.

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
vanessafvg
Super User
Super User

you should only use one venue table, that is what brings the data together, .  see attached.

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




vanessafvg
Super User
Super User

you need to create a table in the middle of the 2 info tables so for the venue code, create 1  separate table for venue code, create a table that has only unique records of all venue codse, and then link both of your  infor tables to the venue code in a relationship, in a single direction, one to many relationship from the transactional tables if that makes sense

 

 

then in your visuals use the venue information from  the middle table, and place your  measures on one visual.  

 

If you share data in text format it is easier to demonstrate, sharing in pics means you cant copy the data to create an example pbix.

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships

 

 

vanessafvg_0-1639224293962.png

 

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

I actually have the middle table already, I should have included it in my post, my bad. I understood the part where you said to put the measure on the visual, but then again how can I include a slicer to do the filtering for me?


Anyway this is the sample pbix file I have created

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!

December 2024

A Year in Review - December 2024

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