Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Transposing a single column into multiple columns

csodesza
7 - Meteor

I am having difficulty in transposing a single column into multiple columns. I am trying to transpose the data in Column E into their own headers. I tried using the cross tab tool but resulting in undesired results when I implement a record ID to each row. Is there an alternative solution to get the desired outcome?

 

Here is my working file:

csodesza_0-1666196384162.png

 

Desired result:

csodesza_1-1666196416315.png

 

 

7 REPLIES 7
binuacs
21 - Polaris

@csodesza One way of doing this

 

binuacs_0-1666197103036.png

 

acarter881
12 - Quasar

Hello, @csodesza. I believe the attached workflow is what you're describing.

Spoiler
acarter881_0-1666197330197.png

 

csodesza
7 - Meteor

Thank you for the swift response. I noticed the values of these new fields are being mapped to 'PID'. How would I transpose without mapping to any of the data shown here?

 

csodesza_0-1666197964382.png

 

csodesza
7 - Meteor

Here's an updated sample. Thanks for all your help!

 

csodesza
7 - Meteor

Thank you for the swift response. I noticed the values of these new fields are being mapped to 'PID'. How would I transpose without mapping to any of the data shown here?

 

Attached is the updated sample

 

csodesza_0-1666200406117.png

 

binuacs
21 - Polaris

@csodesza I updated the workflow to reflect Null() value for all the fields 

 

binuacs_0-1666211066967.png

 

csodesza
7 - Meteor

Thanks that did the trick! Appreciate your help on this 😁

Labels
Top Solution Authors