Alteryx Designer Desktop Discussions

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

rearranging data from horizontal to vertical

ChloeW
7 - Meteor

input.PNG

hello!! please help!

im trying to use alteryx to rearrange my data but cant seem to figure it out. 

so basically the columns highlighted in purple are the types of medicine while the ones in blue are the demographic details of some patients

im trying to get the medicine name to be in the same row of the various customer types when the "steady" condition is met 

in the next few columns, i have more medicine types. hence i would like it to be compiled in one line.

 

i would like the output to be like this:

output.PNG

 

thank you!

 

3 REPLIES 3
caltang
17 - Castor
17 - Castor

Please provide relevant data to this use case, and kindly provide your criteria in as much detail as possible. If you have a workflow built halfway, kindly export that over as well.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
ChloeW
7 - Meteor

i dont have the existing workflow with me. but here is the data that i would like to work on with regards to the question i had earlier! thank you!

caltang
17 - Castor
17 - Castor

You can try something like this:

 

image.png

 

I only took medication which were labelled "steady".

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels