Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Transform column to row

AnGi
7 - Meteor

hi guys

i have a file with this situation

 

DayName 1Name 2Name 3Name 4Name 5
MondayPaulMartinJohn  
TuesdayCrisSebastianPhilippeJohnRalf
WednesdayPaulPhilippe   
ThursdayCarlManuelAlexAndrew 
FridaySebastian    

 

and would like to have this

 

MondayTuesdayWednesdayThursdayFriday
PaulCrisPaulCarlSebastian
MartinSebastianPhilippeManuel 
JohnPhilippe Alex 
 John Andrew 
 Ralf   

 

What's the best tool and hot have to configure it?

 

Thanks

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @AnGi 

 

Here is how you can do it.

 

Workflow:

atcodedog05_0-1622102658646.png

1. Using Day as key transpose all columns.

2. Using Name as key use day as name and value as value crosstabing it back to table.

3. Using select to order columns.

 

Hope this helps 🙂

 

Hamder83
11 - Bolide

Hi 

Maybe like this?

Labels