Alteryx Designer Desktop Discussions

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

Converting Column Header into Rows

katalay
5 - Atom

Hi, 

 

I have the following data set. (example below)

 

NewYork and Boston as headers. 

 

New YorkBoston 
Store ABrand A 
Store BBrand B
Store CBrand C

 

How can I convert NewYork and Boston into rows (with a different column name - Area) while assigning the remaining rows an extra column name? (Label)

 

AreaLabel
New YorkStore A
New YorkStore B
New YorkStore C
Boston Brand A 
Boston Brand B
Boston Brand C

 

Thank you!

2 REPLIES 2
CharlieS
17 - Castor
17 - Castor

The attached solution uses the Transform and Sort tools to achieve the desired structure. A Select tool then renames the fields.

 

 

katalay
5 - Atom

Thank you Charlie, this was super helpful!

Labels