Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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