Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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