Alteryx Designer Desktop Discussions

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

Split Rows based on row values from 2 columns and match

David-teryx
7 - Meteor

Hi All, 

I have to generate a row for each ProductName with its own ProductValue but couldn´t figure out how it can be done.

 

My input looks like this

 

CompanyName

ProductName

ProductValue

Company1

ABC,CDE,FGH

RG?,1XE,HS8

Company2

X7-8

RT,UV

Company3

R2,A4-5,B1-3

15D5?T

 

Now, the desired output should look like this

 

CompanyName

ProductName

ProductValue

Company1

ABC

R

Company1

CDE

G

Company1

FGH

?

Company1

ABC

1

Company1

CDE

X

Company1

FGH

E

Company1

ABC

H

Company1

CDE

S

Company1

FGH

8

Company2

X7

R

Company2

X8

T

Company2

X7

U

Company2

X8

V

Company3

R2

1

Company3

A4

5

Company3

A5

D

Company3

B1

5

Company3

B2

?

Company3

B3

T

 

Please help! 🙂

4 REPLIES 4
Aaron_Harter
11 - Bolide

Hi @David-teryx

 

You'll want to break the names & values into separate streams, parse them into the desired shape, then use the Tile tool to assign the proper location for each data point relative to the original starting position:

10-8.PNG 

atcodedog05
22 - Nova
22 - Nova

Hi @David-teryx 

 

Here is my approach to the task.

 

Input: table given by you

Output:

atcodedog05_0-1602177605357.png

Workflow:

atcodedog05_1-1602177626054.png

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

 

grazitti_sapna
17 - Castor

Hi @David-teryx , give this a try.

grazitti_sapna_0-1602229559753.png

 

Thanks.

 

Sapna Gupta
atcodedog05
22 - Nova
22 - Nova

Great usecase

 

Happy to help 🙂 @David-teryx 

 

Cheers and Happy Analysing 😀

Labels