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

Alteryx Designer Desktop Discussions

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

How to duplicate rows with in order to see same information across product and subproduct.

WCH
7 - Meteor

Hi Guys, 

 

I am figuring out how to duplicate rows in Alteryx for different product group, would you please help to shred some lights? Thanks in advance.

 

So here's the original table (what I have), product name is the sub product name. Each sub product have different lines of data.

Product NameData
X-11
X-22
X-23
X-35
X-36
X-38
Y-12
Y-16
Y-17
Y-23
Y-22

 

I would like to duplicate the rows into this table, all the product and sub product will see the same info. 

Product Name - RevisedData
X1
X2
X3
X5
X6
X8
X-11
X-12
X-13
X-15
X-16
X-18
X-21
X-22
X-23
X-25
X-26
X-28
X-31
X-32
X-33
X-35
X-36
X-38
Y2
Y6
Y7
Y3
Y2
Y-12
Y-16
Y-17
Y-13
Y-12
Y-22
Y-26
Y-27
Y-23
Y-22

 

4 REPLIES 4
DannyS
Alteryx Alumni (Retired)

Hi @WCH ,

 

See attached workflow and let me know if this is what you are looking for. I had to do some multi-row formulas for the Y records because the append fields was causing some extras duplicates ("dup"), so needed to remove those.

 

Hopefully this helps!

DavidP
17 - Castor
17 - Castor

Hi @WCH 

 

Have a look if this workflow does what you're looking for

 

DavidP_0-1600724324902.png

 

JWS
Alteryx Alumni (Retired)

@WCH take a look at this workflow.

JWS_0-1600724632577.png

 

WCH
7 - Meteor

you guys are so brilliant !!!

 

I pick your solution as it is very similar to mine.  I was keep digging how to use the Generate Rows APP, and finally it turns out this could all be solved without it! Excellent!!!!

Labels
Top Solution Authors