Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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