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

NEED HELP TO READ the textfile

kathbanc
8 - Asteroid

Hi Good Day!!!  

 

 

I am having trouble parsing the file. I have a 54 column text file that I am trying to read but it keeps coming in as one column if I tried the pipe delimited .  Already change the option # 2 to ( | ). 

 

But when I use the \t ( tab delimited) error message is " Too many fields" 

 

Attached is the sample file

 

 

thank you in advance.

6 REPLIES 6
caltang
17 - Castor
17 - Castor

Have you tried /0 as a delimiter? Then use Text to Columns tool to split it accordingly. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

Another method I recommended to another user: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Text-to-column-unstructured-tx...

 

hope it helps

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
geraldo
13 - Pulsar

@kathbanc 

 


This is the file you uploaded. and the delimiter is \t and the data starts at line 8

and there are columns that have no name as in the print

 

afiletxt.JPG

ArnaldoSandoval
12 - Quasar

Hi @kathbanc 

 

Somebody posted a similar question with exactly the same file you uploaded, the file as @geraldo described does not have pipes,

 

I am attaching the workflow that is reading the file on my side,

 

Arnaldo.

kathbanc
8 - Asteroid

It works T_T ,  The line start at line 8 T_T . thank you thank you! 

kathbanc
8 - Asteroid

Thank you all so much!. 

Labels