Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Solved! Go to Solution.
When you use OR || you must specify whole statements, not just one side.
E.G. Event[Est] = 1 || Event[Est] = 2 || Event[Est] =3
You could use IN instead.
Also, a SWITCH / TRUE() will be much easier to read
Estimate_Accuracy =
SWITCH( TRUE(),
(Event[Est] IN {1,2,3}) && (Event[Time] = "On Time") && (Event[Quality] = "GOOD")
,"Accurate Estimate"
,Event[Est]=0
,"No Estimate"
,"Inaccurate Estimate"
)
Make sure Event[Est] is numeric otherwise you will need to wrap all numbers in quotes in the DAX
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
When you use OR || you must specify whole statements, not just one side.
E.G. Event[Est] = 1 || Event[Est] = 2 || Event[Est] =3
You could use IN instead.
Also, a SWITCH / TRUE() will be much easier to read
Estimate_Accuracy =
SWITCH( TRUE(),
(Event[Est] IN {1,2,3}) && (Event[Time] = "On Time") && (Event[Quality] = "GOOD")
,"Accurate Estimate"
,Event[Est]=0
,"No Estimate"
,"Inaccurate Estimate"
)
Make sure Event[Est] is numeric otherwise you will need to wrap all numbers in quotes in the DAX
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.