In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
Top Solution Authors