In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

search & remove value

yeruvab
7 - Meteor

how to remove a value which is equal to same value in other column?

 

example: col1 has ABC

col2 has ABC,DGH,HYG

so output should be DGH,HYG

 

Thank you!

5 REPLIES 5
Deano478
12 - Quasar

@yeruvab for this specific use case above I tested and you can use the formula: 

REGEX_Replace([Col 2], "\b" + [Col 1] + "\b,?", "")
yeruvab
7 - Meteor

its giving the same values which is in col2

Deano478
12 - Quasar

See the WF attached is gives the output of DGH,HYG

yeruvab
7 - Meteor

Yes!! works like charm!! Thank you 

Raj
16 - Nebula

@yeruvabPlease accept @Deano478's solution if it resolves the issue. This will assist others and help address pending challenges.

 

Regards,

Raj

Labels
Top Solution Authors