Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
SOLVED

Convert row to column and pivot

Highlighted
Alteryx Certified Partner

I have data like this

MaliniLakshman_1-1581622598038.png

 

I want to convert this data as below

MaliniLakshman_2-1581622633003.png

 

How could we achieve this in alteryx? Thanks

 

Highlighted
13 - Pulsar
13 - Pulsar

Let me know if this works for you.  Looks like this is just a sample of your data, so the parsing of the text for the Drug Type field may need to be modified depending on the questions in field F1.

 

Convert row to column and pivot.png

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Hi @MaliniLakshman ,

 

Attached is an example showing how to do it.

 

Take a look and let me know if this makes sense to you.

Best,

Fernando Vizcaino

Highlighted
Alteryx Certified Partner

Thank you. It worked

Highlighted
Alteryx Certified Partner

Thanks a lot. It worked.

Labels