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
TheLearner1
Frequent Visitor

Connect 2 slicers with the same values

I have 2 tables that are connected via relationship. Each of the 2 tables has a column called Segment that contains the same distinct values. In PBI report, I have one visual using data from one table and another visual using data from the other table. I also have 2 slicers on the Segment column from each table. My question is -- how can I have one slicer that filters both tables (since the options are the same between both)?

1 ACCEPTED SOLUTION

@TheLearner1 
That seems that you need to modify your model.
Try to :

union those tables (2 with segment and value) or to manupulate relationships with dax inside measures using userelationship function
https://www.youtube.com/watch?v=2NW2XKblrME

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @TheLearner1 
You need to create third table "Segment" with uniwue values from both of your 2 tables and modify relationship one to many from both of your 2 tables to this third.

Ritaf1983_0-1688102275659.png

 

 

Ritaf1983_1-1688102320758.png

 

Link to the sample file 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks @Ritaf1983 - both of the tables have a one to many relationship with Date table so when I create a relationship between them for Segment, it turns off the Date relationship. I can't turn on both relationships, but I need both connections. 

@TheLearner1 
That seems that you need to modify your model.
Try to :

union those tables (2 with segment and value) or to manupulate relationships with dax inside measures using userelationship function
https://www.youtube.com/watch?v=2NW2XKblrME

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.