Alteryx Designer Desktop

Get started with Alteryx Designer Desktop.

Creating a Unique ID (correlating multiple items) based on data in columns and rows

bleu
8 - Asteroid

Hi Community, 

 

Does any body have any ideas on the best way to get the desired output below?

A number can have multiple fruit and a fruit can have multiple numbers. How do I tie that together for each item. I tried concatenating the data, separating into rows, joining etc. and it's getting messy.

 

 

Data  Desired Output
123456Apple 123456123456- Apple-Pear-Banana
789101Lime 789101789101-Lime
111213Pineapple 111213111213-Pineapple
141516Lemon 141516141516-Lemon
123456Pear 123456123456- Apple-Pear-Banana
555777Orange 555777555777-Orange
123456Banana 123456123456- Apple-Pear-Banana
171819Grape 171819171819-202122-Grape
232425Peach 232425232425-Peach
202122Grape 202122171819-202122-Grape
   Apple123456- Apple-Pear-Banana
   Lime789101-Lime
   Pineapple111213-Pineapple
   Lemon141516-Lemon
   Pear123456- Apple-Pear-Banana
   Orange555777-Orange
   Banana123456- Apple-Pear-Banana
   Grape171819-202122-Grape
   Peach232425-Peach
   Grape171819-202122-Grape

 



0 REPLIES 0