Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Filter out multiple value

Hi Guys   Any easier way to filter multi value in the same column in dax? I have more than 20 values that consist of %CSH% and %CRT% which i want to filter out. Currently I'm using Calculate(Count)...
  • v-xuding-msft's avatar
    v-xuding-msft
    6 years ago

    Hi Anonymous ,

     

    You could try to add filter condition like this:  && NOT ( 'Table'[Column] IN { 1000005,1000006,1000007 } )

     

    My sample:

     

    Measure 2 =
    CALCULATE (
        SUM ( 'Table'[Sales] ),
        FILTER ( 'Table', NOT ( 'Table'[Product] IN { "Paseo", "Velo", "VTT" } ) )
    )