Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Create Colunms from Records

jmckenna97
8 - Asteroid

Hey 

 

I need to be able to merge multiple columns into one record like seen below 

 

Before 

jmckenna72_0-1605634000396.png

 

After 

jmckenna72_1-1605634048757.png

 

 

Many thanks in advance
Joe

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @jmckenna97 

 

Can you provide this data as excel or paste the data here instead of a image.

 

We will be happy to help 🙂

PhilipMannering
16 - Nebula
16 - Nebula

Hey @jmckenna97 

 

I mocked up a solution. See attached.

PhilipMannering_0-1605634481387.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @PhilipMannering 

 

In the final use dynamic rename to replace "_" to space your output will be near to expected output 🙂

 

After that i think column header sequence is a headache 😅

PhilipMannering
16 - Nebula
16 - Nebula

@atcodedog05 Good catch. Though had to use a regex expression: 

regex_replace([_CurrentField_], '_(\d+)$', ' \1')

 ...so that it didn't change the earlier underscores... :S

jmckenna97
8 - Asteroid

Thanks for your help 🙂 

Labels