Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Transpose? Cross Tab? Pivot?

RAM-ler
6 - Meteoroid

Hi everyone:

 

 

 

I need to merge different columns of same table into one column:

 

A|B|C|1

 

D|2

 

E|F|3

 

G|4

 

H|5

 

I|J|K|L|6 

 

 

 

The desired output is:

 

A|1

 

B|1

 

C|1

 

D|2

 

E|3

 

F|3

 

 

 

How can I get there? 

 

 

 

Best regards 

3 REPLIES 3
Carolyn
11 - Bolide

This is what I would do... 

 

  1. The Filter is just to remove the blanks that I picked up from copying your sample data
  2. I used a RegEx parse to split the letters and the numbers - note: This assumes that you always have the numbers at the end and there is only a single number on each line (e.g. not A|10|10)
  3. Text to Columns Tool to split the Letters column into rows on the | delimiter
  4. Formula Tool to combine the Letter and Number back together
  5. Select to remove the extra stuff

 

2024-08-05_15-22-39.png

flying008
14 - Magnetar

Hi, @RAM-ler 

 

FYI.

录制_2024_08_06_08_39_18_659.gif

Carolyn
11 - Bolide

@flying008 - What program are you using to record that? 

Labels