Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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