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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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 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