Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!
Free Trial

Foro

RESUELTAS

Import - Too many fields in record No

GusDC
Meteoro

Hi guys,

 

I am importing a CSV file, delimited by pipelines "|" and alteryx stops and gives me this message: "Too many fields in record No".

I have seen the file but I did not find anything strange like for example:

 

rare characters
More pipelines than the rest of the records

 

Could you help me?

 

attached image.

 

Thanks :)

7 RESPUESTAS 7
Garabujo7
Alteryx
Alteryx

Hola @GusDC , puedes escribir en español también 😁

 

That error is usually due to larger field lengths.

You may try to increase that:

 

Garabujo7_0-1685636989712.png

 

If that gives the same error. Then try with no delimiters using \0.

 

Garabujo7_1-1685637046972.png

 

 

Then just parse the file with text to columns.

 

Gabriel

GusDC
Meteoro

Thanks Gabriel!

 

I did what you told me but it didn't work. What function should I use to get the columns if I import it as a flat file? I guess a function similar to split or something.

 

:)

Garabujo7
Alteryx
Alteryx

Ypu should configure it like this:

 

Garabujo7_0-1685640527767.png

 

 

Check out the number of columns of your file:

 

Garabujo7_1-1685640566805.png

 

 

Finally, to get the field headers.

 

Garabujo7_2-1685640625753.png

 

 

Hope this helps.

Gabriel

 

 

 

GusDC
Meteoro

Muchas gracias Gaby!

 

Lo voy a probar :)

 

Saludos,

Gustavo

FláviaB
Alteryx Community Team
Alteryx Community Team

Gracias por la ayuda, @Garabujo7

Hola, @GusDC. Gracias por compartir tu pregunta con nosotros. Le pedimos que cuando esté en la comunidad en español escriba en el idioma para que los otros usuarios puedan participar en la conversación. ¡Muchas gracias!

Flávia Brancato
GusDC
Meteoro

Hola Flávia!! 

 

Disculpa, no me dí cuenta que estaba en el foro español.

 

Gracias por avisarme :)

 

Saludos,

Gustavo :)

FláviaB
Alteryx Community Team
Alteryx Community Team

Sin problemas, @GusDC. Es común que esto suceda. ¡Al final, todos los idiomas son bienvenidos! 😀

 

Saludos!

Flávia Brancato
Etiquetas