Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Replace data fields

RodrigoOlmedo
6 - Meteoroid

Hello all !! please your help with this issue:

 

I have a table with these catalog fields:

CODECOUNTRYSTATECITY
001USA  
011USACA 
012USACASAN DEIGO
013USATX 
014USATXAUSTIN

 

And other one with customers:

CUST IDCOUNTRY CODESTATE CODECITY CODE 
001001011012 
002001013014 
003001013014 

 

What I need is to replace the code with country / state/ city names. Please your advice on this.

 

Thank you very much.

 

Rodrigo

3 REPLIES 3
apathetichell
18 - Pollux

Join tool- match Code with City Code will match it. You have to figure out how you want your final data though. Do you need columns for each city/state/zip?

 

Since the city code is the most specific if you match via that you can then take the rest of the information over.

AngelosPachis
16 - Nebula

Hi @RodrigoOlmedo , 

 

You may have to change the structure of your data slightly, before joining the two streams together

 

AngelosPachis_0-1618324006960.png

 

Hope that helps,

 

Regards,

 

Angelos

RodrigoOlmedo
6 - Meteoroid

@AngelosPachis , thank you very much for your help !!

 

I have another issue, let me make another post.

 

Regards

 

Rodrigo

Labels