Alteryx Designer Discussions

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

how to delete repeat text after concat

lilyyangadsk
8 - Asteroid

lilyyangadsk_0-1659669627198.png

hi, may i ask your help how do I only show solution group only one text  "PSEB" if after concat it is same text from two line by group order number. Currently it shows "PSEB,PSEB". 

3 REPLIES 3
grazitti_sapna
16 - Nebula

Hello @lilyyangadsk, use the regex below on your group column.


\b(\w+,?),(?=.*\b\1)

grazitti_sapna_0-1659672848325.png

 

Thanks!

 

Sapna Gupta
NexBK
7 - Meteor

Hello @lilyyangadsk

NexBK_0-1659675324074.png

 

Use the Summarize Tool to work only on the "Solution Group" column.
First, Group by "Order Number" and "Solution Group". After that, concatenate "Solution Group" by "Order Number".
Finally, join based on Order Number.

lilyyangadsk
8 - Asteroid

THANK YOU VERY MUCH, it works!

Labels