Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Shift section of table data to a new column based on another column value

ArunAnnaldas1908
6 - Meteoroid

Hi, 

 

I am trying to transpose a section of data into another column based on values present in attribute column. I couldn't find a similar solution to my problem statement and unable to think of an approach to do it. 

 

Could you please assist here?

 

Example : 

 

Input

 

IDattributeValue
1OuterAmount10
1OuterAmount20
1Inner Amount30
1Inner Amount40
5OuterAmount20
6OuterAmount100

 

Output

 

IDOuterAmountInnerAmount
11030
12040
520 
6100 
4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@ArunAnnaldas1908 
Try the CrossTab tool😁

flying008
14 - Magnetar

Hi, @ArunAnnaldas1908 

 

maybe you can use Tile tool option with "Unique Value"  to get it.

Unique Column: [attribute]
Group by : [ID]

 

录制_2022_08_30_10_17_11_455.gif

flying008_0-1661826214556.png

 

 

***********

Please mark this as the solution if it answers your question, it will help others to find solutions quicker.

binuacs
21 - Polaris

@ArunAnnaldas1908 Another way of doing this with the MultiRow and corss Tab tool

 

binuacs_0-1661849164632.png

 

ArunAnnaldas1908
6 - Meteoroid

Thank You! 

 

This solution worked. Appreciate your quick help!

Labels