Alteryx Designer Desktop Discussions

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

Transpose columns to rows

kulkarnivinay
5 - Atom

Hello Experts,

 

I have data in the below format 

 

IDNameqtr_begin_amtqtr_end_amtyr_begin_amtyr_end_amtqtr_tranyr_tran
123ABC2550251001020

 

and I would like it to be in this format -

 

IDNamePeriodbegin_amtend_amtTran
123ABCQtr255010
123ABCYear2510020

 

Can someone please help.

 

Thanks

5 REPLIES 5
AngelosPachis
16 - Nebula

Hi @kulkarnivinay ,

 

That should do it

 

AngelosPachis_0-1612334980538.png

 

I transposed to get all column headers in a single column, which allowed me to edit the names and flag if that column refers to a year or quarter.

 

Hope that helps,

 

Cheers,

 

Angelos

Qiu
20 - Arcturus
20 - Arcturus
Emil_Kos
17 - Castor
17 - Castor

Hi @kulkarnivinay,

 

Alternative solution:

Emil_Kos_0-1612335213575.png

 

The output:

 

Emil_Kos_1-1612335224278.png

 

It is funny. Each of us @Qiu @AngelosPachis took different approach 🙂

Qiu
20 - Arcturus
20 - Arcturus

@kulkarnivinay 

You can have feast now😁

AngelosPachis
16 - Nebula

The magic of Alteryx!

Labels