The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RESUELTAS

Alteryx IF Logic

czjames87
Asteroide

Good afternoon. 

 

I am trying to create a new column with the logic below. However, I keep getting the malformed if statement error when i try to use the existing (At fault groups) column. Essentially, I want the column to read like below.

 

If (at fault groups) says "carrier related" or Ryder Related" than "NO" else "YES" endif. Any help would be greatly appreciated. Below is what i am currently using and what i am seeing as a result. 

 

 

czjames87_0-1598990071932.png

 

2 RESPUESTAS 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

Hi @czjames87 ,

 

IIF([field] in ("This", "That"), "True", "False")

 

cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
czjames87
Asteroide

that did it. thank you!

Etiquetas
Autores con mayor cantidad de soluciones