Alteryx Designer Desktop Discussions

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

Transpose partial the table and generate new columns

ahsankhalid
8 - Asteroid

Hello Community, 

 

I have a dataset of applicants and would like to transpose.

 

I need to repeat the 1st 5 columns times each measure the applicants applied for. 

 

Please can someone help. 

 

ahsankhalid_0-1581586117049.png

ahsankhalid_1-1581586222770.png

 

3 REPLIES 3
DavidP
17 - Castor
17 - Castor

If you set the 1st 5 columns as key fields in the transpose tool, they don't get transposed and will repeat for every column that does get transposed.

 

It's difficult to build a solution if you just provide a screenshot. If you can paste some sample data as a table, we can help you much easier.

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @ahsankhalid,

 

This would involve a simple transpose with Lot, WS, Area, Company and Value Band being ticked as "key columns" (in other words columns NOT to pivot") and the others being ticked as "data column" (columns TO pivot):

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

ahsankhalid
8 - Asteroid

Apologies @DavidP. I think I missed the attachment. 

Labels