General Discussions

Discuss any topics that are not product-specific here.
SOLVED

How to transpose columns to rows dynamically

Varad_Paranjape
6 - Meteoroid

I have variable number of columns in my output and a set number of rows (parameters). I would like to transpose the data dynamically within the Alteryx workflow. To explain this in detail, I have 35 rows and N columns and I would want the data to look like (N rows*35 Columns). How can I take a transpose of data when the number of columns are dynamic.


Name123…...N
P1    
P2    
P3    
….P35    
     
And I would like to transpose the data into : 
     
Name P1P2P3…P35
1    
2    
3    
….N    
2 REPLIES 2
griffinwelsh
12 - Quasar

See the attached sample. This will transpose data as requested and pick up new rows/columns as they are added.

Varad_Paranjape
6 - Meteoroid

Thanks a lot it worked, need to do a few modifications but the concept is quite clear now ! Thanks once again ! 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels