We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transpose data

chintan2171
5 - Atom

Hello:

 

need help with transposing data from Column to rows

 

for example:

From:       
CountryDiscount CodeNew Product GroupOld Product name 1Old Product name 2Old Product name 3Old Product name 4Old Product name 5
AA11426429430431432433
AA11428456456456456456
AA11429465465465465465
        
To:       
CountryDiscount CodeNew Product GroupOld Product name    
AA11426429    
AA11426430    
AA11426431    
AA11426432    
AA11426433    
AA11428456    
AA11428456    
AA11428456    
AA11428456    
AA11428456    
AA11429465    
AA11429465    
AA11429465    
AA11429465    
AA11429465    
3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @chintan2171 

 

Here's how you can do this:

 

  • Transpose tool selecting Country, Distinct Code, and New Product Group as the key columns
  • Select tool to remove the auto-generated 'Name' column and rename the 'Value' column to meet your requirement.

Luke_C_0-1629832790926.png

 

chintan2171
5 - Atom

Thank you!!

Luke_C
17 - Castor
17 - Castor

@chintan2171 Not a problem! Please remember to mark my solution so others can search for it easier in the future.

Labels
Top Solution Authors