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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Katrina_White
Frequent Visitor

Slicer to filter third table single direction

Hi everyone,

 

This is my dilemma 😞

 

I have three tables A, B, C

Table A is filtering B (single direction relation), and table C is filtering B as well (single direction)

I have a visual that is created with only data from table C, but I have a slicer for table A that is not affecting the visual.

If I change the connection between B and C to be bi-directional, it will work, but I want to avoid that.

 

So the question is, how can I use the slicer in A to filter B and then filter C without creating an extra slicer?

Katrina_White_0-1668258228947.png

 



1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Create a new measure along the lines of:

Filter Slicers = 

COUNTROWS(RELATEDTABLE (Table B))

 

now add this measure to the filter pane for each slicer and set the value to greater or equal to 1

Slicer A will now filter slicer C and viceversa





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

Create a new measure along the lines of:

Filter Slicers = 

COUNTROWS(RELATEDTABLE (Table B))

 

now add this measure to the filter pane for each slicer and set the value to greater or equal to 1

Slicer A will now filter slicer C and viceversa





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi try to create a non active relation and active it on the measure with the command userelationship

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.