Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Alteryx is here to help you solve your biggest data challenges. Read about the new Virtual Solution Center here.
SOLVED

Convert row to column and pivot

Highlighted
7 - Meteor

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
12 - Quasar

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

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
7 - Meteor

Thank you. It worked

Highlighted
7 - Meteor

Thanks a lot. It worked.

Labels