Join 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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 8 | |
| 8 | |
| 7 |