Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Parsing and melting data

Lakshmi3
5 - Atom

Hi everyone and anyone!

 

I have data that looks similar to what I have created below:

 

Partneramountcampaign
RS7.26abc - def- ghi
Spot22.88def - ghi
U29.72xyz - uvw - srt - opq

 

What I want is to maintain the data, but create rows based on splitting the campaign. So it would look like:

 

Partneramountcampaign
RS7.26abc
RS7.26def
RS7.26ghi
Spot22.88def
Spot22.88ghi
U29.72xyz
U29.72uvw
U29.72srt
U29.72opq

 

My thought process would be two parse the campaign into separate columns and then gather/melt those columns. But, I am neither sure that this would be the best way nor do I know how to go about this in Alteryx.

 

Appreciate any ideas!

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @Lakshmi3,

 

You can solve that by using a text to columns tool and a formula to trim left spaces.

Example attached.

 

Let me know if this works for you.

Best,

Fernando Vizcaino

 

Lakshmi3
5 - Atom

Thank you so much, Fernando! That was too easy!

Labels