Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
ALTER.NEXT:

Join us on Dec 2 for a half-day virtual analytics + data science event!
US & CA customers only

SAVE YOUR SPOT
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
SOLVED

Alteryx IF Logic

Highlighted
7 - Meteor

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

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Hi @czjames87 ,

 

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

 

cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Highlighted
7 - Meteor

that did it. thank you!

Labels