We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Save output fields in sequence as per lookup file

sn2200
8 - Asteroid

i am trying to get the output fields in the same sequence as per the lookup file, please assist.

 

Data

acfbhg
122345677845

 

LOOKUP FILE
a
b
c
d
e
f
g
h

 

Desired Output

abcdefgh
126723  454578
6 REPLIES 6
apathetichell
20 - Arcturus

attach a recordid to the lookup table.

use dynamic rename to match column names --- taking the column name from the numeric column.

your columns now have numbers for names.

use select tool ---- sort column names---- ascending.

use dynamic rename --- this time match the numbers back to the letters.

sn2200
8 - Asteroid

thank you @apathetichell  for your comment but i am not able to follow. Could you please help build a sample workflow, that'll be very helpfull? 

Thank you again!

apathetichell
20 - Arcturus

Hey --- don't have a designer license currently - so just follow my instructions and let me know where you hit an issue.

RJ_1988
6 - Meteoroid
 

Here is the attached solution.

sn2200
8 - Asteroid

@RJ_1988  thank you for your help. if the data is vstring then it is not working. Can you please try with the below data?

acfbhg
asoodyhjjjtuinnheiouiomjbjh
gnhhdopaiwkjlkjkiikkmjjjbhjhg
vbnmjjhwtypooiikkzuu
RJ_1988
6 - Meteoroid

Is the data structure going to remain the same or is it dynamic ?

Labels
Top Solution Authors