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 on specific values which begin a string value

cfine
7 - Meteor

I am trying to filter on string data so it will return values which begin with any of the following numbers

110

120

121

130

140

141

 

The entire string value may look like 110200000000.  I have attached a list I need to filter off of.

 

Thank you

 

 

5 REPLIES 5
JosephSerpis
17 - Castor
17 - Castor

Hi @cfine I mocked up a workflow that produces the output you describe. Let me know what you think?

cfine
7 - Meteor

This is good, but what if I have more than 16 values I need to append?  I have 25 total values I need to look up.  Thank you

JosephSerpis
17 - Castor
17 - Castor

Hi @cfine I adjusted the append tool and changed to allow all appends see the attached.

vmartinez
Alteryx
Alteryx

Hi @cfine,

 

Please find attached a workflow with 2 solutions. One in case your list of codes is small. and a second one in case the list of codes (110, 120, etc) is very big

 

VianneyM_0-1578427536497.png

 

Let me know if you have any questions

 

Best,

Vianney

Best,
Vianney
cking6178
8 - Asteroid

Maybe I'm missing something, but this seems like a pretty straightforward case to use Left with OR statements...similar to what @JosephSerpis provided. Is there something else you're looking for @cfine ?

Labels
Top Solution Authors