Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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

Thanks

 

  • Hi Anonymous ,

     

    Please use this measure as the visual-level filter.

     

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

     

    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.

3 Replies

  • v-kkf-msft's avatar
    v-kkf-msft
    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] )
        )
    )

     

    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's avatar
      Anonymous
      Not applicable

      Thank you so much the solution worked for me.

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