Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

New Column to Classify String Values from Other Columns

RDF25087
8 - Asteroid

Hi all -

 

I'm sure this is ridiculously easy, but I'm scratching my metaphorical beard...

 

For example, I have a column called [Colour One] and another column called [Colour Two] containing string values. I want to create a third column called [Mixed] that creates the following:

 

[Colour One] = Black [Colour Two] = Grey [Mixed] = Black

[Colour One] = Yellow [Colour Two] = Red [Mixed] = Orange

[Colour One] = Red [Colour Two] = Blue [Mixed] = Purple

[Colour One] = White [Colour Two] = Pink [Mixed] = White

 

You get the idea. Sometimes I want to create a new string value based on [Colour One] AND [Colour Two] and sometimes I just need to reference [Colour One].

 

Any help as always greatly received and appreciated.

RDF

5 REPLIES 5
messi007
15 - Aurora
15 - Aurora

@RDF25087,

 

Please see below how you can do it :

 

messi007_0-1637579660257.png

 

 

Attached the workflow.

Hope this helps!

Regards,

Qiu
21 - Polaris
21 - Polaris

@RDF25087 
almost same with @messi007 😁

1122-RDF25087.PNG

RDF25087
8 - Asteroid

Thank you both for the quick response. @messi007 I've amended your response for my workflow and have set it running. Fingers crossed it does the trick. It takes about an hour to run the flow - even on the business network so I'll keep you advised.

RDF25087
8 - Asteroid

Thanks @messi007  - worked a treat.

messi007
15 - Aurora
15 - Aurora

@RDF25087,

 

Happy to help 🙂

 

Regards,

Labels
Top Solution Authors