Forum Discussion
tina345
Helper II
5 years agoNOT in clause in DAX
Hello all, I am trying to use not in clause which is equivalent to SQL in DAX and struggling on it. I have a table/query which has list of accounts which has always been there in that query...
- 5 years ago
tina345 try this
cnt_new_loan = calculate(DISTINCTCOUNT(my_table[LOAN_ACCT_NBR]),NOT my_table[LOAN_ACCT_NBR] IN {1,2})Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
parry2k
Super User
5 years agotina345 it doesn't matter but you marked your own reply as an answer. It is always good to make a proper reply as an answer so that it helps others in the future.
tina345
Helper II
5 years agoSorry I accidently marked my own msg as solution, I have reverted back and marked your's steps as solution.