In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
Top Solution Authors