Alteryx Designer Desktop Discussions

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

Group by similar characters

sergiospolo
Alteryx
Alteryx

I have the following file structure and I want to replace the approver's name that have similar characters with just one of my choosing. You can see in my sample data that I have many similar approver's name for one single person.

 

For instance, all the approver's names that are similar in structure like "C Arnold" or "C.Arnold" or "C ARNOLD" OR "c arnold" or "c..Arnold" or "C/ Arnold" need to be replaced with just one of those names of my choosing and so on for the rest of the names.

 

Here is a sample of the data.

 

Return NotesApproverOrder IDProduct IDReturn Reason
not all rings lockedC  ArnoldCA-2015-148950OFF-BI-10001249Defective
Replacement machine sentC ArnoldCA-2017-134803TEC-MA-10001972Defective
Customor thought item wasn't in active order.C ARNOLDCA-2015-127012OFF-FA-10004854Incorrect Product Ordered
Customer thought phone was removed from cart.C ArnoldCA-2015-124688TEC-PH-10000455Incorrect Product Ordered
cust. thought that this was already removed from cart.C ArnoldCA-2015-151162TEC-PH-10001809Incorrect Product Ordered
customer didn't know item was in cartC ArnoldUS-2015-164763OFF-PA-10003063Incorrect Product Ordered
customer didn't know item was in cartC ArnoldCA-2015-156349FUR-BO-10000362Incorrect Product Ordered
The item DID NOT satisfy customer requirements.c arnoldCA-2015-166744FUR-FU-10004952Incorrect Product Ordered
customer meant to order different color.C ArnoldCA-2016-142601OFF-ST-10002756Incorrect Product Ordered
Customer wanted power strip with surge protectorC ArnoldCA-2018-162016OFF-AP-10003040Incorrect Product Ordered
customer received cardstock paper, instead of the printer paperC ArnoldCA-2015-164861OFF-PA-10001972Incorrect Product Shipped
This item was never shipped. Did not arrive with orderC ArnoldCA-2017-145583OFF-BI-10004781Incorrect Product Shipped
Black chair was shippedC ArnoldCA-2017-162159FUR-CH-10001146Incorrect Product Shipped
Customer found cheaper item elsewhereC ArnoldCA-2018-137428FUR-CH-10002774No Longer Needed
customer ordered too manyc. arnoldCA-2016-164882OFF-SU-10004231Incorrect Product Ordered
One ring was misalignedC.. ArnoldUS-2017-157490OFF-BI-10002571Defective
screen wouldn’t adhere correctlyC/ ArnoldCA-2017-145982TEC-PH-10000011Defective
One ring won't closeE   WilliamsUS-2015-164406OFF-BI-10002309Defective
Appeared to be corruptE   WilliamsCA-2016-143238TEC-AC-10003499Defective

 

Complete file containing all the data attached.

1 REPLY 1
grazitti_sapna
17 - Castor

Hi @sergiospolo , please refer to the screenshot and workflow attached along with this post. If this post seems helpful please mark it as a solution.
Thanks.

grazitti_sapna_0-1592285162224.png

 

 

Sapna Gupta
Labels