Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Need to associate Label Descriptions to Coded values across numerous columns (and tables).

joelpep
5 - Atom

I'm cleaning some data for analysis from a highly normalized database and many of the columns (over 40) values are encoded with non-readable numeric values. There is a 'valuesets' reference file that contains the translation from 'code' to 'human readable label' values that I'd like to dynamically apply so that all columns in the target table are translated to their human readable values instead of the code. 

 

I tried using 'dynamic replace', but this doesn't seem to work - I think I have the wrong tool. What's the easiest way to do this? I don't want to go the route of joining each individual column with a separate join tool. My target table is ultimately just one of 20, which will likely need to be cleaned via the same method. 

 

See attachment so you can have a sense of what I mean by "encoded values".

encoded values.PNG

 

2 REPLIES 2
cmcclellan
13 - Pulsar

Does this help ? (using Dynamic Rename)

 

 

joelpep
5 - Atom

I should have worked the problem a bit more before posting. I should preface that I'm an alteryx beginner. I walked away for a little bit and the solution dawned on me. Sometimes the mind works best when you give it a rest :) 

 

All that was really need was a transpose, two factor join, then cross-tab the data back to it's original form. 

 

solution.PNG

Labels