Alteryx Designer Desktop Discussions

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

Tabulate multiple tables from a text file

Pankhudri20
8 - Asteroid

Hello,

 

I would like to tabulate a text file which consists of multiple tables. 

However, I need only the tables in the output file(excel or csv) and remove all the rows between the tables.

I have attached a sample image of the file. 

Is there a way I can do this in Alteryx?

Thank you

2 REPLIES 2
AkimasaKajitani
17 - Castor
17 - Castor

Hi @Pankhudri20 

 

The workflow to make your request happen is not simple. It requires multiple tools.

 

The rows that you required are started by "|" or "-", so you can use Filter tool.

After that you can separate each table by Filter tools and format the tables by using Text to Columns tool and so on.

 

clip2.png

 

If you may use the RegEx tool, the workflow will be simple. But It takes a little getting used to.

 

Please refer attached file.

Pankhudri20
8 - Asteroid

Thank you! 

I will work on it using the proposed workflow.

 

Labels