Hi team. Why is this not working? Seems simp...

expressions
(Christian Farley) #1

Hi team.

Why is this not working? Seems simple enough:

SWITCH([Entree],“Decors”,“A”,“Costumes”,“B”)

Error:SWITCH function is used incorrectly:Inputs to SWITCH() must be an initial expression, one or more value-result pairs, and a default result

(Christian Farley) #2

Found the problem. I was missing the default value at the end… note: this is easy to miss in the documentation…