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
I am trying to replicate the below Tableau column in PowerBI DAX:
That column will equal 'Yes' if any of the designated columns hold 'Yes' for each applicant.
I'm struggling to replicate this in PBI. My current code is not returned the expected results:
Can anyone help?
Solved! Go to Solution.
You can use
Grade Discount =
Hi @Anonymous,
It's been a while since I've heard back from you and I wanted to follow up. Have you had a chance to try the solution that has been offered? If the issue has been resolved, could you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!
You can use
Grade Discount =
Thanks for your reply. Unfortunately this has increased the difference between the PBI and Tableau. See below:
@Anonymous ,
The logic in Tableau is that if exactly one of the conditions is "YES", then the final result is also "YES". Otherwise it should be "NO".
Your code above does exactly the same, so the result should be correct without adding any changes.
Do you still see differences between Tableau and PBI? If you can create a sample dataset, it will be easier to verify.
| Memorable Member | Former Super User If I helped, please accept the solution and give kudos! |
Hi @Anonymous ,
The Tableu code returns is if ONLY ONE of the conditions is YES. If it turns out that there are more YES, the code returns "No".
To make your code check if any factor is equal to "YES", please change the condition to:
RETURN
IF (ConditionCount >= 1, "YES", "NO")
| Memorable Member | Former Super User If I helped, please accept the solution and give kudos! |
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 |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 25 | |
| 25 |