Alteryx Designer Desktop Discussions

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

Multiple Splitting of rows

QurrathAmeena
8 - Asteroid

Hi all!

I am unable to split row since it has multiple comma separated values.I would highly appreciate the help!

This is the sample data :

FruitPriceRegion
apple,kiwi,orange10,20,30A
banana,watermelon,grapes30,40,50B
kiwi,grapes,guava15,25,20C

 

The Output I'm trying to get is :

 

FruitPriceRegion
Apple10A
kiwi20A
orange30A
banana30B
watermelon40B
grapes50B
kiwi15C
grapes25C
guava20C

 

 

 

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@QurrathAmeena 

Try to be dynamic

0212-QurrathAmeena.PNG

RolandSchubert
16 - Nebula
16 - Nebula

Hi @QurrathAmeena ,

 

I assume, the number of fruits in column [Fruit] is the same as the number of prices in column [Price]. A very simple solution could be to split column [Fruit] and column [Price] using different Text To Column tools, add an ID to each of the results and to re-join.

2021-02-12_07-33-23.jpg

 

Let me know if it works for you.

 

Best,

 

Roland

 

 

 

grazitti_sapna
17 - Castor

 Hi @QurrathAmeena,

 

Here is my solution to the problem.

grazitti_sapna_0-1613114147015.png

If this is what you are looking for kindly like and mark this post as solution.

Thanks.

Sapna Gupta
QurrathAmeena
8 - Asteroid

Hi @RolandSchubert 

Thanks for Quick response,It worked!!

Labels