Alteryx Designer Desktop Discussions

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

Output Data Order From a Join Tool

Brian_Stoffel
8 - Asteroid

Output Data Order From a Join Tool

How do you set the data order in the output of a Join tool?

 

Example:

DataFile A

Column A
222222
1111111
444444
333333


DataFile B

Column A Column B
444444 Cat
1111111 Dog
222222 Tree
333333 Apple


Join Output

Column A Column B
1111111 Dog
222222 Tree
333333 Apple
444444 Cat


How do I keep the data order from DataFile A after the Join in the output? Should I be using another tool? I am looking for the below output data order after the join.

 

Column A Column B
222222 Tree
1111111 Dog
444444 Cat
333333 Apple

4 REPLIES 4
MilindG
12 - Quasar

Perhaps you can add RecordID tool before join. Sort by record ID after join and see if that works

Brian_Stoffel
8 - Asteroid

This is what I am receiving after the Join.

Column AColumn B
1111111Dog
222222Tree
333333Apple
444444Cat

 

This is what I'm looking for after the join.

 

Column AColumn B
222222Tree
1111111Dog
444444Cat
333333Apple
MilindG
12 - Quasar

@Brian_Stoffel  Check out the workflow

Brian_Stoffel
8 - Asteroid

That did the trick. I appreciate it. Thanks!

Labels