This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi
I am trying to get an IF dax to work, I have the one I used in excel but can't seem to get it to work in power BI. This is my excel reference:
=IF([Non-Compliant]>0, IF(OR([Comments]=0, [Evidence Files]="Without Evidence"), "No", "Yes"), "Needs evidence and/or comments")
Essentially what I want to happen is if the non-compliant is >0 the following occurs:
No comments or Evidence (seperate columns)= Needs Evidence and or comments
Has Comments = Yes
Has Evidence (says "without evidence" when no evidence) = Yes
Thanks 🙂
Solved! Go to Solution.
As I tested, your expression works properly. You may verify your logic to get your expected result.
Column = IF('sample'[Non-Compliant]>0,IF('sample'[Comments]="0" || 'sample'[Evidence Files]="Without Evidence","No","Yes"),"Need comments and or Evidence")
Regards,
As I tested, your expression works properly. You may verify your logic to get your expected result.
Column = IF('sample'[Non-Compliant]>0,IF('sample'[Comments]="0" || 'sample'[Evidence Files]="Without Evidence","No","Yes"),"Need comments and or Evidence")
Regards,
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 62 | |
| 36 | |
| 30 | |
| 25 | |
| 21 |