Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to align columns in text format

Sshasnk
8 - Asteroid

Hi, I have a dataset that is in text format but once I load it in alteryx the alignment becomes pretty messy. Is there a proper way to load text data in alteryx

 

attached the sheet,

Expected output:

I always have to pick the first one from the text, for example below 1 st record (9856452EX)Apple was the first so I picked the apple and not mango.

And also I have picked the quantity of apple

Code of the productProductQuantityTotal QuantityCurrency 
9856452EXApple525USD
956874FXMango525USD
3 REPLIES 3
PhilipMannering
16 - Nebula
16 - Nebula

Difficult to say @Sshasnk  without seeing the file. It shouldn't come in misaligned! I don't suppose you share any of the data or at least a screenshot of the txt file?

Sshasnk
8 - Asteroid

@PhilipMannering updated 

AkimasaKajitani
17 - Castor
17 - Castor

Hi @Sshasnk 

 

Here is the solution for you.

 

AkimasaKajitani_0-1607136652606.png

Result:

AkimasaKajitani_1-1607136802947.png

 

 

Your data is not simple, so you have to parse the data.

 

1.I used the RegEx tool to parse the each data.
2.I used the Multi-Row formula tool to separate the each record.
3.I used the Transform and CrossTab tool to put parsed data into each record.

 

Please refer attached Workflow.

 

Labels