Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

search & remove value

yeruvab
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 ANTWORTEN 5
Deano478
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
Meteor

its giving the same values which is in col2

Deano478
Quasar

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

yeruvab
Meteor

Yes!! works like charm!! Thank you 

Raj
Nebula

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

 

Regards,

Raj

Beschriftungen
Top-Lösungs-Autoren