Alteryx Designer Desktop Discussions

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

transpose multiple columns into rows

chenyzhao
6 - Meteoroid

Hello - i want to transform the below table into rows instead so it's easier to filter by period/fund. Could you please help? 

 

Original

FundInvestor Name2021 Q22021 Q2 %2021 Q32021 Q3 %2021 Q42021 Q4 %
A14040%3030%3030%
A26060%7070%7070%
Total 100100%100100%100100%
B33030%3030%3030%
B43030%3030%3030%
B54040%4040%4040%
Total 100100%100100%100100%

 

New Table

FundInvestor NamePeriodAmount%
A12021 Q24040%
A22021 Q26060%
Total 2021 Q2100100%
A12021 Q33030%
A22021 Q37070%
Total 2021 Q3100100%
A12021 Q43030%
A22021 Q47070%
Total 2021 Q4100100%
B32021 Q23030%
B42021 Q23030%
B52021 Q24040%
Total 2021 Q2100100%
B32021 Q33030%
B42021 Q33030%
B52021 Q34040%
Total 2021 Q3100100%
B32021 Q43030%
B42021 Q43030%
B52021 Q44040%
Total 2021 Q4100100%
3 REPLIES 3
ShankerV
17 - Castor

Can be achieved with the below steps.

 

Step 1: Use Record ID

Step 2: Use the Tile tool

Step 3: Use the Sort tool

Step 4: Then use the MultiRow Field tool

Step 5: Use the Transpose tool

 

Many thanks

Shanker V

Felipe_Ribeir0
16 - Nebula

Hi @chenyzhao 

 

One way of doing this:

 

transpose12.png

chenyzhao
6 - Meteoroid

thank you both!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels