0
IN operator in Pyramid Formulate (Custom Column)
Hello,
What's the best way to setup an IN operator in Pyramid formulate ?
For e,g. I want to be able to do something like
if (colvalue in ("10","11"....))
I know I can do this via multiple ORs but if the list is too long, what other options do I have ?
Thanks
Mad
3 replies
-
Hi ,
Try HasItem().
Hope that helps.
Ian
-
Hello ,
Pyramid does not have an "in" function.
The 2 possible ways to write this would be:
IF([col] = "10" or [col] = "11" or... , "GOOD", "BAD")
or
SWITCH([col],
"10", "GOOD",
"11", GOOD"
...
"BAD") // default
You can suggest adding "IN" as a function in the product ideas section.
Imbar