Start Free Trial

Alteryx Designer Desktop Discussions

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

Looking up value from a column, using another field as column lookup

JamieV
5 - Atom

Hi, I had a search around for something along these lines but haven't been successful

 

I have a column of data with a "key" (reference) value. Then I have a number of columns, one of which will be titled the "key" value. I want to return the matching value into a new field at the end of the row. Example is as follows:



KeyPurpleRedWhitePinkGreenOrangeBlueBlackMatch

Green

123456785
Blue876543212
Red2468101214164
Yellow13579111315NULL

 

How would I go about this?

 

Kind regards,

Jamie

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@JamieV 

We can use a Transpose tool to make the columns expect "Key" column to be vertical then filter out the matching.

0429-JamieV.jpg

JamieV
5 - Atom

Thank you Qiu, this worked perfectly for me.

Qiu
21 - Polaris
21 - Polaris

@JamieV 
Good to know it helps. 😁

Labels
Top Solution Authors