Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Arranging Data

KmbrlyPC
アステロイド

I have a set of data in which I am needing it to be displayed horizontally instead of vertically so I end up with just 1 name per line. For example, currently John is listed 3 times with each subject and grade, but I want this information displayed all on 1 row.

 

KmbrlyPC_0-1626889937179.png

 

4件の返信4
atcodedog05
22 - Nova
22 - Nova

Hi @KmbrlyPC 

 

Can you provide the example as an excel file so that we can work on it.

KmbrlyPC
アステロイド

Here you go, thanks.

atcodedog05
22 - Nova
22 - Nova

Hi @KmbrlyPC 

 

Here is how you can do it.

 

Workflow:

atcodedog05_0-1626891179524.png

 

1. Using muti-row formula tool I am creating sub id. This will be used for identifying as subject(1), subject(2) etc

2. Using Transpose tool to convert subject and grade to rows.

3. Using formula tool to create column order. I,e while using crosstab columns are always arranged in ascending order. And creating new name as subject(1), subject(2) etc

4. Using crosstab to converting into table.

5. Using dynamic rename to rename the column name.

 

Hope this helps : )

 

KmbrlyPC
アステロイド

It worked beautifully, thank you!

ラベル
トップのソリューション投稿者