Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
21 - Polaris
21 - Polaris
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
21 - Polaris
21 - Polaris

@kulkarnivinay 

You can have feast now😁

AngelosPachis
16 - Nebula

The magic of Alteryx!

Labels
Top Solution Authors