Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How to trim and combine data in Alteryx

Avishek1
8 - Asteroid

I am trying to trim all the value after a specific special character and combined rest of the value with underscore.please find the description as below:

 

Input : at1:x,at2:y,at3:z........

Output:. x_y_z

 

I am trying with text to column but unable to achieve desired output.please note that input will be having dynamic length

6 REPLIES 6
mot
11 - Bolide

Hi @Avishek1,

 

Will you have only x y z? Or can it be more than that? If you could give more information, it would be helpful. Best.

messi007
15 - Aurora
15 - Aurora

@Avishek1,

 

Please see below:

 

messi007_0-1614610532847.png

 

Attached the workflow,

Hope this helps,

 

Regards

Avishek1
8 - Asteroid

Hi @mot thanks for responding it will be dynamic based on input length 

mot
11 - Bolide

Hi @Avishek1,

 

You can use tokenize especially if the length is unknown.

Screen Shot 2021-03-01 at 9.55.20 AM.png

I have attached the workflow. I hope this helps. Best.

Avishek1
8 - Asteroid

Is it possible to only get desired result in output which is column 2

mot
11 - Bolide

Sure. See attached. I hope this helps. Best.

Labels