Forum Discussion

JAWL's avatar
JAWL
New Member
3 years ago
Solved

OR logic in multiple filters

Dear experts,

 

The default logic for multiple filters is 'AND'. Anyone knows how to apply filters with 'OR' logic for the table? My aim is to filter Potential Risk = "Un-defined" or RA Total = 0

 

 

 

  • Hi JAWL ,

     

    To get specific answer please share the sample data.

    However, you could try to create a measure as below and use it as visual level filter:-

    _filter =
    IF (
        OR (
            MAX ( table[Potential Risk] ) = "Un-defined",
            SUM ( Table1[RA Total] ) = 0
        ),
        1,
        0
    )
    

     

2 Replies

  • Samarth_18's avatar
    Samarth_18
    Icon for Community Champion rankCommunity Champion

    Hi JAWL ,

     

    To get specific answer please share the sample data.

    However, you could try to create a measure as below and use it as visual level filter:-

    _filter =
    IF (
        OR (
            MAX ( table[Potential Risk] ) = "Un-defined",
            SUM ( Table1[RA Total] ) = 0
        ),
        1,
        0
    )
    

     

  • I can't see you screenshot clearly.

     

    could you pls provide the sample data(not the screenshot) and the expected output?