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.

How to solve delimiter issue

Adarsh_R3
8 - Asteroid

Hi I got a file in which certain rows have delimiter issues and is causing line breaks. 

 

Can someone help me solve this issue?

 

Field 1Field 3Field 2
2022this is okabc
2022this line breaks into  
next lineabc 
2022this is okabc
2021this line breaks into  
next lineabc 

 

This is how it should be

 

Field 1Field 3Field 2
2022this is okabc
2022this is okabc
2021this is okabc

 

Also new line always starts with year and the delimiter in the raw file is tab

5 REPLIES 5
binuacs
21 - Polaris

@Adarsh_R3 Would you be able to share your input tool configuration? 

Adarsh_R3
8 - Asteroid

@binuacs  this is not an issue with input as i checked the raw file using notepad and the shift issues happened while writing/saving the data.

 

Is it possible to use Regex to solve this

binuacs
21 - Polaris

@Adarsh_R3 Have you tried using the Data Cleansing tool to remove the new line characters? Regex should also work. Try DataCleansing tool if that is not working we can work on the Regex Part

Adarsh_R3
8 - Asteroid

sure let me check

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Adarsh_R3 can you try this workflow, it might be what you're after:

BS_THE_ANALYST_0-1678209438356.png

 

 

All the best,
BS

LinkedIN

Bulien
Labels