Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

match 3 letter city code or 3 letter airport code with city name

merypals
6 - Meteoroid

Hi everybody, 

 

Is there a way to join two data sets using a 3 letter city code from File1 and city name from File2?

 

File 1

 

airport codeairport name
SXWSauren
NDVUSN Heliport
EAPEuro Airport Basel-Mulhouse-Freiburg Airport
NETNew Bight
MSKMastic Point

 

 

File 2

 

 

City name
Sauren

Mastic Point

Bahamas

Basel

Anascotia

 

6 REPLIES 6
Raj
16 - Nebula

can you share the expected output

Kottapally_Ramesh
7 - Meteor

Share the sample output, given data is not sufficient to perform the join function. 

merypals
6 - Meteoroid

the expected output is this 😊

 

 

airport codeairport namecity name
SXWSaurenSauren
NDVUSN HeliportAnascotia
EAPEuro Airport Basel-Mulhouse-Freiburg AirportBasel
NETNew BightBahamas
MSKMastic PointMastic Point
FinnCharlton
13 - Pulsar

Hi @merypals , you need additional context to join these data sets. I would recommend a lookup table of airport codes and their cities. You can find them online, for example here: https://www.nationsonline.org/oneworld/IATA_Codes/IATA_Code_A.htm

merypals
6 - Meteoroid

Thanks! I will try that :)

Raj
16 - Nebula

Hi @merypals , this is incomplete information
we need to have a secondary table as well with primary key and City name so we can join them

else result is not possible with this data

 

Labels
Top Solution Authors