Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Transposing or cross tabbing?

Bigmonki
8 - Asteroid

Hi everyone,

 

Probably an easy fix that I am missing, but, I am really struggling to format a table to use in Alteryx (file attached with two tabs of example).

 

This is how my table looks to start with:

Bigmonki_0-1647439569977.png

 

I would really like it to look like this after it has been manipulated:

Bigmonki_1-1647442153248.png

Any assistance would be appreciated

 

4 REPLIES 4
TheOC
15 - Aurora
15 - Aurora

hey @Bigmonki 

For this i believe both tools actually need to be used to transform the data:

TheOC_0-1647442559584.png



First , transposing to get the data into a cross-tab ready format:

TheOC_1-1647442592574.png

 

Second, Cross-tab the data:

TheOC_2-1647442615773.png



Hope this helps, please find attached.

Cheers,
TheOC


Bulien
binuacs
20 - Arcturus

@Bigmonki 

binuacs_0-1647442809105.png

 

mceleavey
17 - Castor
17 - Castor

Hi @Bigmonki ,

 

this would be first one then the other.

First, Transpose the data grouping by the recordID. Then filter the null values that you produce, so those only populated are required.

 

Then Crosstab back using the RecordID as the header, and the value as the value, grouped by Name. 

 

mceleavey_0-1647442857536.png

 

This then leaves you one problem:

You are sorting it in a strange way, so use the sort tool to get it sorted as you wish.

 

 

Hope this helps,

 

M.



Bulien

Bigmonki
8 - Asteroid

Hi Everyone, thank you so much for your support. I have been trying to do this for hours and you guys sorted it out in minutes? I was on the right track but didn't add the finishing cross tab. Your assistance is much appreciated.

Labels