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

Multiple Duplications

mquast
8 - Asteroid

I am trying to duplicate the 2nd column 35 times and insert all of them to the left of column 2 and duplicate the last column 44 time and insert them to the right. I was wondering if there was a faster way then using multiple formula tools.

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@mquast 
I use the Generate Row tools to duplicate the columns.

1. First we can do the transpose then filter out the 2nd and last column by their Filed Name

2. Generate Rows tool to generate the necessary coumns then Union Back with the original data stream

3. Cross Tab and Sort will bring the data back to orginal format.

0630-mquast.PNG

flying008
15 - Aurora

Hi, @mquast 

 

Another way for this case.

 

录制_2023_06_30_12_12_33_213.gif

Labels
Top Solution Authors