Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Designer - Lookup of field from other data source

LadyNaureen
7 - Meteor

Dear Community Members

 

I need your expert advice on following:

 

A CSV data file say STUDENT is being used as INPUT and we have to perform a transformation on COURSE_ID column of this file and add new column COURSE_DESC using this field. 

 

The transformation logic is that there is a separate  COURSE CSV, which has COURSE_ID and COURSE_DESC columns. 

 

We tried to use FORMULA control on COURSE_ID field but it is not giving option lookup and adding a new field. 

 

Can you please help us to resolve this blocker for us.

 

Thank you. 

 

Regards,

LadyN 

8 REPLIES 8
mceleavey
17 - Castor
17 - Castor

Hi @LadyNaureen ,

 

Can you post your data or mock data so we can help?

 

M.



Bulien

mceleavey
17 - Castor
17 - Castor

Hi @LadyNaureen ,

 

the answer is the join tool, using the COURSE_ID field as the key on which to join.

If you post your data I can build it for you.

 

You can click HERE to read about the join tool.

 

M.



Bulien

LadyNaureen
7 - Meteor

Two files attached.

mceleavey
17 - Castor
17 - Castor

Hi @LadyNaureen ,

 

thanks for that.

 

I've attached the workflow for you.

The input tool needs to be ";" separated:

 

mceleavey_0-1621940700444.png

 

mceleavey_1-1621940734736.png

 

mceleavey_2-1621940751019.png

 

Hope this helps.

 

M.

 



Bulien

LadyNaureen
7 - Meteor

Thank you for prompt resolution 

 

 

 

 
 
 
atcodedog05
22 - Nova
22 - Nova

Hi @LadyNaureen 

 

Based on your scenario, my suggestion would be to use Find&Replace tool which works like excel (vlookup i,e does a left outer join.)

 

atcodedog05_0-1621942588484.png

 

There resource on it : https://community.alteryx.com/t5/Interactive-Lessons/VLookUps-with-Designer/ta-p/80201 

 

hope this helps 🙂

LadyNaureen
7 - Meteor

Thank you all for prompt response and resolution. 

 

This is really a great community 🙂 

 

Regards,

LadyN

atcodedog05
22 - Nova
22 - Nova

Hi @LadyNaureen 

 

Hope your issue get resolved 🙂

Labels