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

Convert Embedded Lines into Single Line

jniles
5 - Atom

Hi,

 

I have a data set that has some embedded lines in it and I need to combine these embedded lines into a single line in order to join with another data set.

 

Example:

Is there a 1/2 Pallet at Store?

Please refer to attachment

 

I need it to look like this:

Is there a 1/2 Pallet at Store? Please refer to attachment

 

I've tried a number of tools (Find and Replace, Reg Ex, etc) but havent been able to find a solution, any help would be great!

 

Thanks,

 

Joel

3 REPLIES 3
JordanB
Alteryx
Alteryx

Hi @jniles

 

You could maybe use a Text to columns tool and use the delimeter "\n" for new line and split to columns. This would then have the embedded line on the same row and use can use a formula tool to concatenate the two fields back?

 

Best,

 

Jordan Barker

Solutions Consultant 

jniles
5 - Atom

Thanks Jordan that worked perfectly.

etechman
8 - Asteroid

disregard

Labels
Top Solution Authors