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

Slicer Validations

Hi,

I have two slicers: First slicer contains list of colleges and Second slicer contains list of Comparitive colleges. Both the slicers has same list of colleges. You can see the below two slicers: I want to validate the selection of slicers. When I select the colleges from slicer 1 that colleges should be disappear from competitor college slicer or user should not be able to select same colleges. Note: I can select multiple colleges from the both slicers. Can you plz suggest how to validate the it

mitcoe2015_0-1653040154426.png

Thanks

 

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

Hi @Anonymous ,

 

Please use this measure as the visual-level filter.

 

Measure = 
COUNTROWS (
    EXCEPT (
        VALUES ( 'Competitor College List'[Competitor College List] ),
        VALUES ( CollegeList[CollegeList] )
    )
)

vkkfmsft_0-1653269279528.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

That would create a circular reference. Not something you can do in Power BI.

v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please use this measure as the visual-level filter.

 

Measure = 
COUNTROWS (
    EXCEPT (
        VALUES ( 'Competitor College List'[Competitor College List] ),
        VALUES ( CollegeList[CollegeList] )
    )
)

vkkfmsft_0-1653269279528.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you so much the solution worked for me.

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.