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.
SOLVED

Error in File importing

SJBI
8 - Asteroid

Hi All,

 

I'm new to this tool. The issue I'm facing is When I try to import .txt file which is ";" delimeted file. I'm not able to view the data in the Preview part. Could you help me in resolving this issue plese.

Alterix.png

 

20 REPLIES 20
AndrewW
11 - Bolide

What you have done should work. Are you able to post a sample of the file?

SJBI
8 - Asteroid

My data is looks like.

 

locatin;Financial Company;email;Customernumber;status

US;1;abc@gmail.com;1234;Active

US;2;abcd@xyz.com;1233;Active

 

In preview I dont see the data.

s_pichaipillai
12 - Quasar

@SJBI

 

It works for me when i used ; as delimiter

can you check the Input file configuration and it should look like below

 

Make sure the file is not opened when you click on Preview :)

Flatfile.PNG

AndrewW
11 - Bolide

Yes, works for me as well. Not sure why you're having problems.

SJBI
8 - Asteroid

Hmm.. I will check with source file once again and come back to you.

SJBI
8 - Asteroid

Small Change 

 

My data is looks like

 

locatin;Financial Company;email;Customernumber;status

US;1;abc@gmail.com;1234;Active;

US;2;abcd@xyz.com;1233;Active;

 

 

AndrewW
11 - Bolide

Ok, makes sense now. You have fewer headers than data columns. Add an additional ; at the end of your header row OR remove the ; at the end of the data rows.

s_pichaipillai
12 - Quasar

try this as well

configure your input with NO delimiter i.e \0

then use parse tool and split the col into 5

then use formula to REPLACE the end ';' 

test the attached workflow

 

SJBI
8 - Asteroid

Thank you for the reply. I got one more Issue.

I have totally 47 columns in my source  and in 22 column I have data with special characters .

There Error as:  

There are multiple Fields names "xxxx;xxxxx;xxxxx;xxx"

 

 

Labels