Found this answer from Structure SME in Slack and works well!
WITH unit_a =
IF components.CONTAINS_ANY(array("TeamA1", "Team A2", "Team A3")) :
"Unit A" :
WITH unit_b =
IF components.CONTAINS_ANY(array("TeamB1", "Team B2", "Team B3")) :
"Unit B" :
WITH unit_c =
IF components.CONTAINS("TeamC1") :
"Unit C" :
WITH unit_d =
IF components.CONTAINS_ANY(array("TeamD1", "Team D2")) :
"Unit D" :
MERGE_ARRAYS(unit_a, unit_b, unit_c, unit_d)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.