Alteryx Designer Desktop Discussions

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

Masking Match

clio
7 - Meteor

Hi everyone,

 

I want to do a masking match by designing different transformation parameter in Alteryx for matching. Wonder if it is possible?

 

Example:

 

I want to create a datasheet to have all transformation pattern of the wordings with only column "Name" and do the transformation in Alteryx.

NameAlteryx Transformation 1 Alteryx Transformation 2 Alteryx Transformation 3
Peter Simpson MotorPeter S* M*Peter S****** M****P* S* M*

Mary Lord

Mary L*Mary L***M* L*
Simon Royal Kota LoiSimon R* K* L*Simon R**** K*** L**S* R* L*

 

Then I would like to match any of the above pattern to description

DescriptionMatch
From Peter S* M*Yes
To Simon R*** K*** L**Yes
From Mary L**No
To Peter S* D*No
From M* L*Yes
To Simon No

 

Would someone like to offer some help to me? Thanks.

2 REPLIES 2
danrh
13 - Pulsar

There's likely some fancy way to do this with Regex, but here's a go without:

image.png

 

I'm doing a find and replace, then checking to see if there are any more asterisks left over to determine if there was an exact match.

 

Note that the tools in the container are reproducing what you already have as your transformations --- remove if you already have this built out.

 

Hopefully this gets you close.  Let me know if you need clarification on how it's working.

clio
7 - Meteor

Thanks so much for the help! @danrh

Labels