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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Users online (786)