ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

How do I transpose data ?

I m using a basic 30 x 30 matrix that requires for some statistical analysis to be transposed. It's extremely simple in Excel but I m not able to find anything similar to it.

 

I attached an example set that I would want to transpose, any idea or pointer would be highly appreciated

3 REPLIES 3
Trifacta_Alumni
Alteryx Alumni (Retired)

You could use the following wrangle script to transpose your data

 

unpivot col: first_name,last_name groupEvery: 1

pivot col: id group: key value: any(value) limit: 50

 

Just copy and paste each line when you click on adding a script

Awesome, that did the trick!

 

4d54873a545f04fb2ca3
8 - Asteroid

What happens if you have a bigger matrix to transpose? Say something like 4 * 100