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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Mapping a slicer selection to another slicer (i.e. mirroring slicer selections)

Is there a way I can map/mirror the selection of a slicer to another slicer? I have two slicers that pull from separate tables Table1[ColumnB] and Table2[ColumnA]. Entries on both columns in both tables are either Yes or No. The intent is to have the user select Yes/No on one of the slicers, which then selects Yes/No on the other slicer.

 

A relationship already exists between the two tables for another column (i.e. Table1[ColumnX] to Table2[ColumnY], unidirectional many-to-many) so I won't be able to map ColumnB to ColumnA with the Model view.

 

I'm thinking this can be done with a measure. Something along the lines of:

If 'Yes' is selected for Table1[ColumnB] then select 'Yes' for Table2[ColumnA]

If 'No' is selected for Table1[ColumnB] then select 'No' for Table2[ColumnA]

If Yes and No are selected then seleect Yes and No

 

Below is what I'm trying to accomplish

image.png

 

 

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can create a measure as below and make the slicer filtered by it.

Measure = VAR SELE = VALUES(Table1[Column B])
RETURN
IF(MAX(Table2[ColumnY]) IN SELE,1,0)

Capture.PNG

 

For more details, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can create a measure as below and make the slicer filtered by it.

Measure = VAR SELE = VALUES(Table1[Column B])
RETURN
IF(MAX(Table2[ColumnY]) IN SELE,1,0)

Capture.PNG

 

For more details, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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