Alteryx Designer Desktop Discussions

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

How to work with multi line test file's contents.

dizy_11
Météore

Hi all,

 

So i'm working with multi line test file. I have imported the file as fixed delimiter to import it. It's data is too much ununiform.  My input is like this:-

Deeksha1997_0-1627095162842.png

 

There are lots of similar pattern of data in the file. I have just created a random sample of the file.

 

I want to convert all these data to separate columns. My output should look like this:

Deeksha1997_0-1627095777544.png

Can anyone please help me how to achieve this.

1 RÉPONSE 1
atcodedog05
22 - Nova
22 - Nova

Hi @dizy_11 

 

Here is how you can do it. I am assuming to similar blocks like this one below other.

 

Workflow:

atcodedog05_2-1627112837770.png

 

1. In Input tool configure it to First rows contains data like below.

atcodedog05_1-1627112749467.png

2. Using Multi-row formula tool to create blockID/rowID on each occurrence of "Address" keyword in row.

3. Using summarize tool to concat rows for each blockID.

4. Using data cleanse tool to remove extra spaces.

5. Using regex tool to parse the data.

 

Hope this helps : )

Étiquettes