Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

Vlookup on Multiple Columns

cohunter1990
Meteoroid

Hi I am new to Alteryx and I'm trying to do a Vlookup on multiple columns.

 

Any guidance would be appreciated.

 

FILE 1

Location CodeLocation Description
0DEFAULT
889010AL
889020AK
889030AZ
889040AR
889050CA
889060CO
889070CT

 

FILE 2

PO LocationLocationpo stloc st
0889010  
889020889020  
0889070  
889040889040  
889050889050  
0889060  

 

Desired Output

PO LocationLocationpo stloc st
0889010DEFAULTAL
889020889020AKAK
0889070DEFAULTCT
889040889040ARAR
889050889050CACA
0889060DEFAULTCO
6 ANTWORTEN 6
ChrisTX
Aurora

At the top of the main Alteryx screen, under the Join tab, try the Join Multiple tool.

 

Here's the tool mastery article:  https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Join-Multiple/ta-p/124...

 

 

Chris

Gumsmenezes
Comet

Hi @cohunter1990, please see attached the worflow I created to help you.

 

I used two joins and there you go :)

binuacs
Arcturus

@cohunter1990 One way of doing this

binuacs_0-1666726612070.png

 

cohunter1990
Meteoroid

The workflow did work but when I used it with my actual file that has more than 10,000 PO and Location codes, it only output like 1,300.

binuacs
Arcturus

@cohunter1990 It should output all the records. Can you connect your select tool output to a browser tool and check again ?

cohunter1990
Meteoroid

This worked!!! Thank you!!!

Beschriftungen