Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter Node if then else

arunchandra
6 - Meteoroid

Hi All,

 

I am trying to achieve the following in the filter node but it is not working,...can you please help....

 

 

if [Country] ="India" then [Flag]="Yes" else [Flag]="No" Endif  

 

The node runs but the output is yes for all the countries....can you please help..

 

 

Thanks,

Arun

2 REPLIES 2
JohnJPS
15 - Aurora

Hi @arunchandra

 

Please try:

 

If [Country] ="India" then "Yes" else "No" EndIf

 

I assume that [Flag] is being assigned by the result of this... therefore you do not need "[Flag]=" inside of it.

 

arunchandra
6 - Meteoroid

Thanks John!

Labels
Top Solution Authors