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

If condition

mmustkee
10 - Fireball

Hi team,

 

I am receiving an error while applying if formula. I want if my reason column is = ACCEPTED, Offered, Permit, Asked, Given, shared, added, Taken then amt column should be '0' else should remain the same.

PFA data and workflow

Thanks,

Mohamamd Mustkeem

4 REPLIES 4
Emil_Kos
17 - Castor
17 - Castor

Hi @mmustkee,


I have updated your workflow.


I also made some changes in the formula to make it cleaner:

 

if [Reason] IN ('ACCEPTED' ,'Offered','Permit','Asked') THEN 0 else [Amt] ENDIF

 

Emil_Kos_0-1614001321928.png

 

Assaf_m
11 - Bolide

Hi @mmustkee 

 

Check attached solution

 

Assaf_m_0-1614001440745.png

let me know if it works for you

mmustkee
10 - Fireball

Great Help.

 

That worked for me.

mmustkee
10 - Fireball

Yes, Asaf it worked for me.

 

Thanks,

Mohammad Mustkeem

Labels
Top Solution Authors