Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I wrote the below DAX statement but it is showing me error "
" My DAX statement is :
Solved! Go to Solution.
Use this
= IF('Query6'[TICKET_STATE] = "NEW" || 'Query6'[TICKET_STATE] = "OPEN", "COMPLETED", "REJECTED")
This can also be written like this:
IF ( 'Query6'[TICKET_STATE] IN { "NEW", "OPEN" }, "COMPLETED", "REJECTED" )
Use this
= IF('Query6'[TICKET_STATE] = "NEW" || 'Query6'[TICKET_STATE] = "OPEN", "COMPLETED", "REJECTED")
Done. Sorry for the mistake.
Thank you for your help. It worked for me. 🙂
You marked wrong post as answer. Could you please correct it?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |