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.

import csv with junk lines , junk data in some columns as it is.

sakshim
8 - Asteroid

I have a text file which has junk lines, data in some of the columns which I have to delete eventually but I need for verification purpose. Also, having multiple lines in 2 columns, Hence, how can I import complete csv as it is in Alteryx. 

6 REPLIES 6
binuacs
21 - Polaris

@sakshim use the '\0 delimiter to download the file'

image.png

sakshim
8 - Asteroid

@binuacs Thankyou for your response. 

'/0' is inserting everything in one column, so I want to import the data in tabular format only.

In a column, cell having multiple lines should get imported in same way.

binuacs
21 - Polaris

@sakshim can you provide a sample input file and expected result to better understand your problem?

sakshim
8 - Asteroid

@binuacs , I have attached the data.

I have 2 kind of ask here:

1. Import as is data in tabular format

2. Import only selective columns and discard rest

lwolfie
11 - Bolide

Did you figure this out?  Without seeing a sample of what you want to the end result, my guess would be importing the lines in as they are and then selecting the records that need to separated out with regex and the /n.  Alteryx will import all the columns, but then you would just use the select tool to remove what you don't want.

dreldrel
8 - Asteroid

You can import the whole data first, then use the Text To Columns Tool to split the multiple lines into either columns or rows. If this helps, feel free to like the comment

Labels
Top Solution Authors