Forum Discussion
Anonymous
4 years agoNot applicable
NOT IN dax showing wrong counts
I am trying to write a DAX statement for NOT IN but i don't know the syntax for it. It's like: CALCULATE(sum(C[T_S]),C[S] <> "C" || C[S] <> "V" || C[S] <> "D" || C[S] <> "C") Eventhough, I m...
- 4 years ago
Hi, Anonymous ;
You could change to it.
q = DIVIDE ( CALCULATE ( SUM ( C[T_S] ), FILTER ( C, NOT ( C[S] ) IN { "C", "V", "D", "C" } ) ), SUM ( T_D[T_S] ) )
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
4 years agoAnonymous , Try like
CALCULATE(sum(C[T_S]), Filter(C, not( C[S] in {"C" ,V","D","C"} ) ) )