Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Remove text after comma

sericson
8 - Asteroid

I have data that depending on the input can produce duplicates in one box, I need to be able to remove everything from the first comma and over while keeping the data in other rows that are not duplicates. I have tried several formulas, RegEx etc.. I can't seem to get it quite right. 

 

example of how it is formatted now

 

Install type

Reallocate

Mapping

Reallocate,Reallocate,Reallocate

 

Example of how I need it to look

 

Install type

Reallocate

Mapping

Reallocate

 

2 REPLIES 2
griffinwelsh
12 - Quasar

You can do this using the text to columns tool and the unique tool. Sample solution is attached for you.

Qiu
21 - Polaris
21 - Polaris

@sericson 
We can also try the RegEx

0618-sericson.png

Labels
Top Solution Authors