Alteryx Designer Desktop Discussions

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

What is the best way to translate multiple fields?

jhouseslu
7 - Meteor

I have multiple fields that need to be translated. Is the best way to handle this to create a formula fore ach field? For example, one field is a gender translation from Male->M, another is Yes->Y, another is White->WH. Is there a way to have one tool do all of these translations?

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @jhouseslu 

 

Best way would be multi-Field formula. Refer the link below.

 

https://community.alteryx.com/t5/Interactive-Lessons/Multi-Field-Formulas/ta-p/424422

atcodedog05
22 - Nova
22 - Nova

Hi @jhouseslu 

 

Can you give some sample data and logic so that i can help you out.

TheOC
15 - Aurora
15 - Aurora

Hi @jhouseslu,
I have provided an example, as @atcodedog05 said, best case is a multi-field formula. I'm sure there's a more elegant solution here but for one tool, this will do the job!



Bulien
atcodedog05
22 - Nova
22 - Nova

Hi @jhouseslu 

 

Here is example

 

Input:

atcodedog05_0-1602166253795.png

Output:

atcodedog05_1-1602166272078.png

 

Hope this helps 🙂

jhouseslu
7 - Meteor

This works nicely. Thank you.

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @jhouseslu 

 

Cheers and Happy Analysing 😀

Labels