Alteryx Designer Desktop Discussions

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

IF Conditional Formatting

magsbiel
7 - Meteor

Hi,

 

I have two columns in my data:

 

Item   Category

A        Apple

B        Apple

C        Lemon

D        Orange

E        Apple

 

I am trying to replace "Apple" for "B" with "Banana" and "Apple" for "E" with "Banana" as well. I tried IF statements, switch, nothing works. Any idea how to do it?

2 REPLIES 2
afv2688
16 - Nebula
16 - Nebula

Hello @magsbiel ,

 

Does this work for you?

 

IIF([2] = 'Apple' AND [1] IN ('B','E'), 'Banana', [2])

 

Untitled.png

 

Regards

magsbiel
7 - Meteor

It worked. Thank you so much!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels