Start Free Trial

Alteryx Designer Desktop Discussions

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

Conversion of Embedded lines in a one cell to multiple rows

Anjankumar2021
8 - Asteroid

Hi All / @binu_acs 

 

Kindly help on the below.

 

Input :

 

Product IDSeries
880528311 (LG)0070964046.1.9999 (LG),
0099235825.1.9999 (LG),
0099184094.1.9999 (LG)
990528311 (LG)0070964046.1.9999 (LG),
0099235825.1.9999 (LG),
0099184094.1.9999 (LG)
770528311 (LG)

0070964046.1.9999 (LG),
0099235825.1.9999 (LG),
0099184094.1.9999 (LG)

 

 

Required Output:

 

Product IDSeries
880528311 (LG)0070964046.1.9999 (LG)
880528311 (LG)0099235825.1.9999 (LG)
880528311 (LG)0099184094.1.9999 (LG)
990528311 (LG)0080964046.1.9999 (LG),
990528311 (LG)0089235825.1.9999 (LG)
990528311 (LG)0091184094.1.9999 (LG)
770528311 (LG)0060964046.1.9999 (LG),
770528311 (LG)0079235825.1.9999 (LG)
770528311 (LG)0069184094.1.9999 (LG)

 

 

1 REPLY 1
Pilsner
13 - Pulsar

Hello @Anjankumar2021 

One way to tackle this would be with a text-to-columns tool.

If you configure the tool to split to rows based on a "," delimiter, it should separate out the data into multiple cells.

Screenshot 2025-06-03 163726.png

 

Then use a data cleanse tool to remove duplicate white space and line break, to get the following output:


Screenshot 2025-06-03 163821.png


I've attached the workflow below, please let me know if you have any questions.

Regards - Pilsner

Labels
Top Solution Authors