In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
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.
SOLVED

IF statement with multiple conditions check

NitiGupta
6 - Meteoroid

I am trying to perform something like this instead of writing each case individually

 

N1.123
E1.162
N1.275
N1.404
N1.383
N1.460

 

if [Project No] in (
'N1.123',
'E1.162',
'N1.275',
'N1.404',
'N1.383',
'N1.460') then '1' else '0'

 

but it doesn't work. What should be the right way.

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

Endif 

 

just add that to the end of your if statement. 

so close!

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
NitiGupta
6 - Meteoroid

Oh yes.. haha. Thanks for that.

Labels
Top Solution Authors