Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to convert column to a row?

vmadyala
6 - Meteoroid

Hi, i am trying to convert column in table 1 to row in table 2.

Table1:

Header1Header2
ABABCD
ACACDE
ADADEF
AEAEFG
AFAFGH

 

Table2:

ABACADAEAF
ABCDACDEADEFAEFGAFGH

 

Also, after i get the output of table2 i would like to find a matching row in another file with multiple rows of similar data.

 

Thanks for your help in advance.

3 REPLIES 3
T_Willins
14 - Magnetar
14 - Magnetar

Hi @vmadyala,

 

Part one is done with a Cross Tab tool.  Part two is done with a Join tool configured to match on all columns that should be the same in both files.

 

cross tab and join.png

 

vmadyala
6 - Meteoroid

Thanks for the help. Part1 is fine. However, with part2 my columns are different in another file and there are many columns to compare. so, it would be tedious to select each column in join function. I would like to find a close or exact match to part1 output in the other file. Hope you can assist.

T_Willins
14 - Magnetar
14 - Magnetar

Hi @vmadyala,

 

 Another option is to concatenate and join.

 

Concatenate and join.png

 

Labels
Top Solution Authors