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

Alteryx Designer Desktop Discussions

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

Parse figures in columns of another dataset

Ben92500
5 - Atom

Hello

 

I'm a newbie. I'm trying to parse data and applying columns name from another dataset.

 

Basically I have one data set where I have all my columns name

 

ABCD
0000

 

Another one where I have my data

Data column
Data 1 2 3 4
Other data 1 2 3 4
More Data 1 2 3 4

 

I have been able parse data using regex tool separating text from figures. My issue is that I have to rename manually my columns in the regex output tool instead of applying automatically the columns names from my 1st dataset. 

 

I would like my output to be like this:

 

Data columnABCD
Data1234
Other data1234
More Data1234

 

Thanks for taking the time to answer me 

 

Benoit

 

 

 

5 REPLIES 5
afv2688
16 - Nebula
16 - Nebula

Hello @Ben92500,

 

Depending on how the data really is the process can change a lot.

 

Anyways, here is a way to do it.

 

Regards

 

Ben92500
5 - Atom

Hi @afv2688 

 

Thanks for your help!

 

The data is composed of a text description followed by numbers separated by spaces.

 

I've attached below a workflow of what I'm trying to achieve

 

I would like to paste automatically the headers made with the crosstab on the result of my parsing with regex. Let me know if it isn't clear!

 

 

Emil_Kos
17 - Castor
17 - Castor

Hi @Ben92500,

 

small changes in the workflow:

 

Emil_Kos_2-1615286723478.png

 

The output:

 

Emil_Kos_1-1615286711274.png

 

 

afv2688
16 - Nebula
16 - Nebula

Hello @Ben92500,

 

hope it helps now. I think what you want to use in this case is the dynamic rename tool.

 

Untitled.png

 

Regards

Ben92500
5 - Atom

Thanks to both of you, it was exactly what I was looking for !

 

I was wondering if it was possible to keep the name of the first column ("Data Columns") of my dataset, or should I just add manually the name in the "header" data set in the first line.

 

Let me know if it isn't clear

 

Benoit

Labels
Top Solution Authors