Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Duplicate values Based on Record ID

batista_randy
6 - Meteoroid

I have Data that looks like this 

1  Name1Question 1
1   Question 2
1 CountryX Question 3
1XYZ  Question 4
1   Question 5
1   Question 6
2  Name2Question 1
2   Question 2
2 CountryB Question 3
2ABC  Question 4
2   Question 5
2   Question 6

 

 

I want to duplicate the rows based on the number on column 1 so it looks like this. Note this is for multiple columns.

 

1XYZCountryXName1Question 1
1XYZCountryXName1Question 2
1XYZCountryXName1Question 3
1XYZCountryXName1Question 4
1XYZCountryXName1Question 5
1XYZCountryXName1Question 6
2ABCCountryBName2Question 1
2ABCCountryB Name2Question 2
2ABCCountryB Name2Question 3
2ABCCountryB Name2Question 4
2ABCCountryB Name2Question 5
2ABCCountryB Name2

Question 6

7 REPLIES 7
binuacs
20 - Arcturus

@batista_randy One way of doing this

image.png

nagakavyasri
12 - Quasar

@batista_randy Another way of doing this:

 

Capture9.PNG

flying008
14 - Magnetar

Hi, @batista_randy 

 

FYI.

 

录制_2024_01_10_14_50_46_809.gif

grazitti_sapna
17 - Castor

Hi @batista_randy 
I have made Workflow for your Problem. Please Check.
If it works Kindly accept it as Solution.
Thanks 

Sapna Gupta
batista_randy
6 - Meteoroid

Hi, I don't have the option to concatenate on my summarize tool. Is there something I'm missing?

batista_randy
6 - Meteoroid

Disregard my last question as I just figured out how. The problem I am having now is the values have a ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,," after the concatenate. What is causing this and how can I remove that? See example below.

,,CountryB,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,XYZ.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,CountryX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,ABC,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,CountryC,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,BCD,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
flying008
14 - Magnetar

Hi, @batista_randy 

 

Maybe your fileds have many blank in the cells, so you need use Multi-Fields Formula tool to remove the unless space.

Labels