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

Rows to column simple transpose

kalindideshmukh
7 - Meteor

Hello Designers,

 

I have the following table:

 

LocationParameter 1Parameter 2DifferenceDifference %
A108225
B2014642.85
C30201050

 

 

How do I convert into simple transpose like this:

LocationABC
Parameter 1102030
Parameter 281420
Difference2610
Difference %2542.8550

 

 

Thanks in advance.

 

Kalindi

3 REPLIES 3
lmorrell
11 - Bolide

Hi @kalindideshmukh 

 

Solution is attached.

 

The trick here is to push all your values into a single column by transposing your original table, and taking the results of that and crosstabbing it out. 

 

Snag_9e34b3b.png

 

Additionally, to retain the order of the rows - I have created a sort column so that the outputs are visually identical. 

 

Hope this helps!

kalindideshmukh
7 - Meteor

@Imorrell, Thanks a lot!

allanxu23
5 - Atom

You can just download the Transpose Excel Style Macro from Alteryx Community. 

Labels