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

Field Values update

jeetamar11
7 - Meteor

How can i change the values in field 2 based on a specific value in field 1. All other need to remain same in field 2.

Like if 'Country' column has value Japan then Column 'Status' will have value fail otherwise whatever is in Column status remains.

 

Following is not working:

 

if [Country]= 'Japan' then [Status]= 'Fail' else [Status] endif

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

This should work - just select the [Status] column in the Formula tool and put:

if [Country]= 'Japan' then 'Fail' else [Status] endif

jeetamar11
7 - Meteor

Thank you for quick response, Alex.

It worked like wonder!😀

Labels
Top Solution Authors