Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Problems with slicer

I have one table with multiple columns with false/true values. I'm trying to create a slicer that will filter all of the columns by linking a seperate table with the values true/false but having prob...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    Try to create a similar calculated column and use it as a field for the slicer.

    Kontroll = 
    SWITCH (
        TRUE (),
        'Table'[Column1] = "True"
            && 'Table'[Column2] = "True"
            && 'Table'[Column3] = "True"
            && 'Table'[Column4] = "True", "TRUE",
        'Table'[Column1] = "False"
            && 'Table'[Column2] = "False"
            && 'Table'[Column3] = "False"
            && 'Table'[Column4] = "False", "FALSE",
            BLANK()
       )

    Sieve out the blanks in the slicer.

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly -- How to provide sample data