Forum Discussion
Anonymous
7 years agoNot applicable
Switch Column Logic Help
Hi All, I'm in a pickle. I have the below logic using 3 columns on the same table: Label = Switch( True(), ActiveHC[Country Name] = "Turkey", "Cars", ActiveHC[Country Name] = "Greece", "C...
Anonymous
7 years agoNot applicable
Anonymous - Does this work?:
Label =
SWITCH(
TRUE(),
ActiveHC[Country Name] IN { "Turkey", "Greece", "Italy" }, "Cars",
ActiveHC[Layer 2] IN { "Beth", "Joanie", "Dan", "Bill", "Christina" }, "Corporate",
ActiveHC[Layer 2] = "Steven", "Cars",
ActiveHC[Layer 2] = "Bobby", "Audio",
ActiveHC[Layer 2] = IN { "Matt", "Peter", "Edward" }, "Photos",
ActiveHC[Layer 2] = "Joey", "Software",
ActiveHC[Business Unit] = "Cameras", "Cameras",
BLANK()
)
Anonymous
7 years agoNot applicable
Thanks for this, but it will not work. That's a standard SWITCH which I can do, I'm trying to make it so the COUNTRY is the default return if it is NOT one of those countries, then return the other switch function.