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

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