Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

output

jonick1205
7 - Meteor

any one can help how to output the below example

 

given file 

 

NAMEAGESEXLOCATION
Juan23MSan Pedro

 

 

Expected Out Put

NameJuan
Age23
SexM
LocationSan Pedro

 

 

 

 

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @jonick1205 

 

This can be done using the transpose tool. Refer to below screenshot.

 

Workflow:

atcodedog05_0-1630073062788.png

 

Reference resource: https://community.alteryx.com/t5/Interactive-Lessons/Changing-Data-Layouts/ta-p/82876 

 

Hope this helps : )

jonick1205
7 - Meteor

Thank you but i have a follow up question, What if i have multiple set how can i separate the other record?

danilang
19 - Altair
19 - Altair

Hi @jonick1205 

 

If you have multiple records, add a RecordID tool before the transpose and include the recordID as a Key Column in the Transpose tool configuration

 

Dan

atcodedog05
22 - Nova
22 - Nova

Hi @jonick1205 

 

Has @danilang mentioned you can use the record id tool to set row id. And transpose with keeping row id as key for reference.

 

atcodedog05_0-1630157214175.png

 

Hope this helps : )

 

Labels
Top Solution Authors