Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How can I import these .txt data in a clean way.

Kinetic_analytics
11 - Bolide

Hello:

Good afternoon. I want to import the text data in a clean separate columns. How can I do that? I have attached txt file for your information.

Thanks

3 REPLIES 3
Felipe_Ribeir0
16 - Nebula

Hi @Kinetic_analytics 

 

This file is delimited by width. So, import it as a flat file:

 

Felipe_Ribeir0_1-1673379447026.png

Felipe_Ribeir0_2-1673379484102.png

 

 

 

Felipe_Ribeir0_0-1673380200319.png

 

 

Kinetic_analytics
11 - Bolide

@Felipe_Ribeir0  Thank you. 

JeffK
Alteryx Alumni (Retired)

I'm assuming you are need of the rows of data starting with '0001 Transit' and organized into the columns appropriately. You can read in the .txt. file as a Flat ASCII file and then split the headers off from the data using the Filter tool. From there you'll want to use the Parse tools (Text to Columns or RegEx) to organize the table. I've attached the a workflow showing the first 2 steps I mentioned.

Labels
Top Solution Authors