Forum Discussion
Anonymous
6 years agoNot applicable
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)...
- 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" } ) ) )
amitchandak
6 years agoSuper User
Anonymous , You need to use search find or containsstring
Like
FILTER(TableA,search("CSH",TableA[ColumnA],,0)<=0 && search("CRT",TableA[ColumnA],,0)<=0)
Here =0 means it does not have that string