community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Chain IF

Highlighted
Meteor

Hi all

 

I have  2 fields A & B. They all have values

 

So

If A > X1, then replace A with new value else do nothing 

 

If A get replaced from the original, B will get replace, else do nothing ....

 

 

Can you do that in Alteryx

Alteryx Certified Partner
Alteryx Certified Partner
Yes. Yes is always (almost) the answer.

Within one single statement the answer is not yes. Within one formula tool when helped by a select, the answer becomes YES.

Write the results of each replacement to a new variable. Then use a select to deselect the original variables with their new fields.

W-A is the new variable:

Iif(A>x1,Q,A)

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Labels