Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

how to delete repeat text after concat

lilyyangadsk
9 - Comet

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". 

4 REPLIES 4
grazitti_sapna
17 - Castor

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
9 - Comet

THANK YOU VERY MUCH, it works!

lilyyangadsk
9 - Comet

may i ask where i can learn these  \b(\w+,?),(?=.*\b\1) that represent what? thank you

Labels