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

Help: Text to Column / Regex on txt file

pchong
8 - Asteroid

Hi there,

 

I am having difficulty reading text files. (Attached for reference)

This was what I did with my input tool:

pchong_1-1668701379988.png

 

Ultimately, I want to achieve a proper text to column that look like this :

pchong_2-1668701523783.png

However, row 2 to 5 will shift to the left because of blanks under column Date3

 

pchong_4-1668701732202.png

 

I would also like to avoid problems with any empty columns like above.

What is the best way to do Text to Column or Regex to get my desired result here?

 

Thank you.

 

 

 

 

11 REPLIES 11
pchong
8 - Asteroid

Hi @afv2688 ,

 

I'm just wondering how I create this flat file from scratch.

Can I set the width, then export the format to a txt file from Alteryx?

If I would like to import the flat file to different files every day, is it just as easy as changing the file path?

 

Thanks!

afv2688
16 - Nebula
16 - Nebula

Hello @pchong ,

 

this is just a small example showing how to create a flat file, you just have to add the needed info.

 

Regards

Labels
Top Solution Authors