Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Crosstable / Transpose Help

fiorano
8 - Asteroid

Hi I have a dataset in excel similar to the following :

 

IDBlackRedBlueGreenOrangeYellowGrayLilacMagenta
360Black        
873    Orange    
095 Red       
921   Green     
084Black        
862   Green     
874   Green     
965   Green     
668       Lilac 
744         
124       Lilac 
988        Magenta

 

What I need to do is 'transpose' this table so I have a two columns of 'ID' and 'ColorGroup' which results in :

 

IDColorGroup
360Black
084Black
095Red
921Green
862Green
874Green
965Green
873Orange
668Lilac
124Lilac
988Magenta

 

Can anyone advise on the ideal solution for this?

 

Much appreciated!

2 REPLIES 2
AmeliaG
Alteryx
Alteryx

Hi @fiorano,

 

Thanks for your question! I've attached a workflow which uses transpose in conjunction with a filter to achieve your desired results. 

 

Let me know if you have any questions!

 

Amelia

fiorano
8 - Asteroid

Perfect thanks !!!!

Labels
Top Solution Authors