Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
There's an extremely similar equivalent for SQL's NOT IN - I have no imagination, so an example extremely similar to the last one I actually wrote:
Select * from report where report_status not in ('Diselesaikan')
NOT IN doesn't work - what's the simpliest DAX equivalent of SQL's NOT IN?
thanks.
Solved! Go to Solution.
Thanks for your suggestion.
the last one I actually wrote in pbx :
Measure = CALCULATE( COUNT('patra_inspection entity__report'[report_status]),NOT('patra_inspection entity__report'[report_status]) = "Diselesaikan")
Please see this link:
https://community.powerbi.com/t5/Desktop/DAX-equivalent-of-SQL-s-NOT-IN/m-p/586184
https://docs.microsoft.com/en-us/dax/not-function-dax
https://www.sqlbi.com/articles/the-in-operator-in-dax/
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
Thanks for your suggestion.
the last one I actually wrote in pbx :
Measure = CALCULATE( COUNT('patra_inspection entity__report'[report_status]),NOT('patra_inspection entity__report'[report_status]) = "Diselesaikan")
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
15 | |
7 | |
6 |