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

Alteryx Designer Desktop Discussions

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

Transform and transpose row to column with corresponding values

mrnice
7 - Meteor

Hi all,

 

I have the following table which I would like to use the data contained in the Name column and use it as a new column with the correspondent values. I tried to used transpose without success so any help would be appreciated.

 

NameValues
abcAB1
cbaAB3
abcSG1
cbaAD12
abcAD3
cbaAB1
abcAD3

 

Final output should look like:

 

abccba
AB1AB3
SG1AD12
AD3AB1
AD3 
2 REPLIES 2
charlie_archer
7 - Meteor

Hi there,

 

I worked around this using a combination of a Multi-row formula and Crosstab tool (see the attached workflow)

 

Step 1 was to give each of the [Values] a rowID restarting for each [Name] using the Multirow formula. Once i had this i could use this new RowID as the key field with which to crosstab my data back out.

 

Hope this method works for your data.

 

Charlie

mrnice
7 - Meteor

Thanks Charlie.

Exactly what I was trying to achieve.

Labels