Free Trial

Alteryx Designer Desktop Discussions

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

Parse the data in one cell

Data_Alter
8 - Asteroid

Hi, 

 

All the data from a Database come in one. What is the best way to Parse it?

 

The data to parse is in the file - Data to Parse. Please note that the data needs to inputted in one cell as I am getting this data from download tool in Alteryx. I can't output this and re-import using input tool so please help me without any formatting in input tool.

 

The final data should look like this.

 

TB codeDocument NoAmountDateTypeDescriptionDetailsText
200-192-0053177108-600001/04/2022FOSBREAKDOWN REB P3Qtr 1 2022 Rebate0F000
200-192-0053177108-400001/04/2022FOSBREAKDOWN REB P3Qtr 1 2022 Rebate0F000
200-192-0053177108-700001/04/2022FOSBREAKDOWN REB P3Feb 22 Rebate0F000
200-192-0053177108-700001/04/2022FOSBREAKDOWN REB P3Mar 22 Rebate0F000

 

6 REPLIES 6
Prometheus
12 - Quasar

In my Input Data tool, I chose to use no delimiter (\0) because I was getting errors inputting the data. Then I used the Text to Columns tool and used the pipe (|) delimiter to split DownloadData to 8 columns. After that, I used the Dynamic Rename tool and renamed all the columns with the first row of data. A Select tool came after that because "TB code" came in as "?TB code," so I renamed it without the "?". Finally, I used a Filter tool to only allow records where the Document No was not null.

Parse Data.PNG

No Delim.PNG

Text to Columns.PNG

Felipe_Ribeir0
16 - Nebula

Hi @Data_Alter 

 

Try the attached workflow

 

table.png

Data_Alter
8 - Asteroid

Thanks, the data is coming from download tool so I can't use input tool. This needs to be parsed without the input tool.

Felipe_Ribeir0
16 - Nebula

Hi @Data_Alter 

 

Try the version, it is using just text.

 

 

Prometheus
12 - Quasar

If that's the case, just replace the Input Data tool with your workflow up to the Download tool. What comes out of the Input Data tool is the same data that's coming out of your Download tool.

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

@Data_Alter ,

 

Assuming that you want to get the data in one cell once, and then parse it to columns later,

I would input the CSV file as BLOB and then convert to text as below.

The rest of the work is similar to others community members.

 

I hope this helps.

 

Workflow

ParseOneCell_1.png

Labels
Top Solution Authors