We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Error: Too many fields in record #1 for CSV file

Kinetic_analytics
11 - Bolide

Hello Folks:

Good afternoon. I am trying to work with CSV file. I have used the input tool then browser tool. After running the workflow I got the Error.

Kinetic_analytics_1-1677793780499.png

 

 

 

appreciate your help.

Thanks

 

 

7 REPLIES 7
binuacs
21 - Polaris

@Kinetic_analytics Can you provide your input file configuration?

CharlieS
17 - Castor
17 - Castor

Hi @Kinetic_analytics 

 

This could happen where there's an unexpected delimiter (usually comma) in a field value. This would cause it to try and split that value into two fields, creating a mis-match.

 

Besides going back and fixing the value when the file in created, you could input all the data as text, then parse it out yourself in Alteryx. Set the delimiter to \0 , which is a shortcut for no delimiter. This will bring in your records from the csv, but all fields will be one text string. This way, you can browse the data in Alteryx and see where the problem is. You could even use a Text-to-Columns tool set to comma to split the records and see how the field count differs by record. 

 

This should lay out the problem for you to see. if you have any trouble, just let us know!

Kinetic_analytics
11 - Bolide

@CharlieS Thank you. Appreciate your help in my learning process.

Kinetic_analytics
11 - Bolide

@binuacs please check 

Kinetic_analytics_0-1677851820102.png

 

binuacs
21 - Polaris

@Kinetic_analytics Are you able to fix the issue which you were facing ?

Kinetic_analytics
11 - Bolide

@binuacs  Yes

 

k3pineapple
8 - Asteroid

I simply convert csv to xlsx, since /0, then column to Text is not suitable for me

Labels
Top Solution Authors