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

Filter by Partial String in a List

knnwndlm
9 - Comet

Hi SME,

 

I have a list that contains partial string that I want to look up against the raw data and filter out rows that contains the partial string.  Attached is an example where the column C in the Raw_Data tab has the raw data with all kinds of string.  I want to look up the table in the Lookup_Value tab to filter out anything in the Raw_Data tab that has the partial string in the Lookup_Value.

 

What is the most efficient way for me to do this?  I could do this the long way but want to learn best practice.  

 

Appreciate it.

 

Thanks,

kwl

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

Sounds like a Find Replace tool to me! Raw Data into the F anchor, Lookup table in the R anchor, and find on "Any Part of Field". You can use the append option to add this column - if there's a matching value, a value will come through. If there isn't, it'll be null - this is where a Filter can then filter out those rows you need / don't need.

griffinwelsh
12 - Quasar

@knnwndlm see the attached solution

1. Use append Records to create a cartesian product

2. Use filter tool with formula Contains(trim(uppercase([Value])), trim(uppercase([TAX RATE LEVY])))

3. Summarize to eliminate duplicates.

knnwndlm
9 - Comet

@alexnajm - That was my initial approach but I kept getting null value.

Labels
Top Solution Authors