In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transpose data

hzpetro
7 - Meteor

Hi

 

I ahve a data that consists 25 row. Column W i need to be the header and the qty should be follow. The rest of the data colum will be remain and the info will be required to be follow . The data as per attachment. I am quite new to alteryx and will need some guide

 

 

 

 

 

1 REPLY 1
davidskaife
14 - Magnetar

Hi @hzpetro 

 

I think this will give you what you require.

 

First Transpose the data, where all columns are key, except for column AA as you want these to be vertical.

 

Then using a Cross Tab tool you convert W to headers, and Values column to the new columns. Note you have a duplicated year/quarter column in V, so I've omitted that. Cross Tab must have a method for aggregating which i've set to Sum, but as long as your group by is correct this shouldn't matter.

 

Finally i sort on column S to put it in the right order.

 

Hope this helps!

Labels
Top Solution Authors