Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Rearrange data columns

TiffanyH12
7 - Meteor

I have two data sets joined by a common account number. I want to have the same columns from both sets be shown next to each other but using the select tool to drag and drop 50+ columns is very time consuming. Any suggestions?

 

The columns in both sets have the exact same names.

 

What I want:

Acc. #DataSet1Col1DataSet2Col1DataSet1Col2DataSet2Col2
###    
###    
###    
###    

 

If possible I also want to be able to find the differences between data set 1 and 2 and have a new column insert after. So at the very very end should look like below. I need the differences from each criteria so that's 50+ more which would again be very time consuming to do formulas for each one.

Acc.#DataSet1Col1DataSet2Col1DifferenceDataSet1Col2DataSet2Col2Difference
       
       
3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@TiffanyH12 
Prepared something for your.
Please note that you still need to adjust according to your real case.

1202-TiffanyH12.PNG

TiffanyH12
7 - Meteor

Thank you! I was able to apply this to my workflow. Is there a way to put the difference column after the first two columns of data instead of in between without having to use manually rearrange all of them?

Qiu
21 - Polaris
21 - Polaris

@TiffanyH12 

Thank you for the mark. 

And yes to your question.

1202-TiffanyH12-1.PNG1202-TiffanyH12-2.PNG

Labels