Alteryx Designer Desktop Discussions

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

Text to columns (add header)

tiverson
8 - Asteroid

I have a crazy text file that I need to parse out and create consistent columns.  

My file does not have a header row, but I know what it needs to be:

 

How can I add the header column titles and parse out the file into columns (based on a fixed width)

 

Text file:

tiverson_1-1671044740843.png

I need to add the following column titles (plus number of characters)

System - 3

Posting Date - 8

Doc Date - 8

Account - 10

Text - 50

Amount = 13

 

There are a lot more I need to add and the files I have are huge, but if I could get an example of the above items I believe I can finish up the rest.

 

Thanks,

Todd

 

1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @tiverson 

 

The best way here is to input this file as a flat file - delimited text

 

Felipe_Ribeir0_1-1671045233150.png

 

Felipe_Ribeir0_0-1671045049157.png

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels