Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Visual advanced filter multiple values

I have created a table visual to show a list of items that do not have a valid status. I have a list of valid statuses (A, D, N, S, O, and more) and want to show any item with anything other than the...
  • v-yulgu-msft's avatar
    7 years ago

    Hi Anonymous,

     

    You need an extra table (suppose it's 'ValidStatus') to list all valid statuses.

     

    Create such a measure:

    Measure =
    IF (
        ISERROR (
            FIND (
                SELECTEDVALUE ( DataTable[Status] ),
                CONCATENATEX ( ValidStatus, ValidStatus[ValidStatus], "," )
            )
        ),
        0,
        1
    )

    Add this measure to visual level filters and set its value to 1.

     

    Best regards,

    Yuliana Gu