Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have this formula in the custom column formula
if(OR([AR Failure Mode 1] = [QC Failure Mode 1],
[AR Failure Mode 1] = [QC Failure Mode 2],
[AR Failure Mode 1] = [QC Failure Mode 3]), [AR Failure Mode 1])
However, the error Token RightParen Expected is showing up under the "R" where I have underlined.
Why is this issue occuring?
Solved! Go to Solution.
@Anonymous
I am not sure I correctly understood your issue.
Is this what you are looking for?
@Anonymous
I am not sure I correctly understood your issue.
Is this what you are looking for?
Just when I thought PBI couldn't get any stupider.
Who comes up with these stupid OR() and AND() functions that are useless?
Why would anyone ever use the stupid OR() and AND() functions when you can use || and && ?
@Anonymous
Hi,
The OR function in DAX evaluates only two conditions at a time. If you need to evaluate more than 2 conditions then use || instead of comma (,) and instead of OR function:
if(([AR Failure Mode 1] = [QC Failure Mode 1] ||
[AR Failure Mode 1] = [QC Failure Mode 2] ||
[AR Failure Mode 1] = [QC Failure Mode 3]), [AR Failure Mode 1])
Related article on OR: https://docs.microsoft.com/en-us/dax/or-function-dax
Hope this helps.
Thanks,
Vivek
PS: Please mark this as solution if this solves the purpose.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 76 | |
| 52 | |
| 51 | |
| 46 |