Forum Discussion
Filter Function with "Not Contains"
Yoiu will want to investigate the CONTAINSSTRING DAX function:
CONTAINSSTRING function (DAX) - DAX | Microsoft Learn
And wrap it in a NOT ( ) funciton:
Filter(Table1, status=1 && Total Time>5 min && NOT ( CONTAINSSTRING ( [C] "ACL" ) ),
(Not 100% sure of the above. Do your own researsh and testing, please.)
Hope this helps
- Anonymous1 year agoNot applicable
Thanks ToddChitt I tried this one already but I want the condition which says for any C values of Same "A" column value that does not contain "ACL" or "BCL"
so here I should probably use Allexcept but that's not working.
- ToddChitt1 year ago
Super User
Sorry, I don't quite understand the comparison logic. Can you explain in plain language the relationship between A and C and what would, or would NOT, make a row acceptable or unacceptable.
- Anonymous1 year agoNot applicable
So A here is ID -
for same 1002 we have different C column Values, the idea here is if any of the C column for same value of A column has ACL or BCL it should not be in the result.