Start Free Trial

Alteryx Designer Desktop Discussions

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

Multiple Column Mapping

kauser
8 - Asteroid

Hello,

i need to map one column from two different columns with two different conditions/rules. On output column i want to see if Item =AA then output column should be map from Number1 column and if Item=RR then output column should be map from Number2 column

 

 

ItemNUMBER1NUMBER2OUTPUT
AA123446371234
RR098727462746
AA567823735678
RR876547654765
3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@kauser 
How would your output look like?
I believe we need a mapping input at least.

0717-kauser.png

KGT
13 - Pulsar

IF [Item]="AA" THEN [Number1]

ELSEIF [Item]="RR" THEN [Number2]

ELSE Null()

ENDIF

 

If you have more than a couple options, then lookup table like @Qiu suggested!

flying008
15 - Aurora

Hi, @kauser 

 

FYI.

 

Switch([Item],Null(),'AA',[NUMBER1], 'RR', [NUMBER2])
Labels
Top Solution Authors