Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
Top Solution Authors