Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Customize Filter

itssreeji
6 - Meteoroid

Hi All,

 

Need your expertise help. I have a input header which is a 5 character alpha numeric number and want to create a customize filter which is "Begins with" first two character, example 1B. which would limit my input data for further analysis.

 

Thanks

Sreejith

4 REPLIES 4
Amol_Telore
11 - Bolide

can you provide some sample data?

CharlieS
17 - Castor
17 - Castor

Do you want to filter the records based on data values, or fields based on the name> There's options for both.

 

If you want to filter records where data values in a [Field], then you can use a Filter tool with a custom expression for that that looks like this:
Left([Field],2)='1B'

Where the left two characters of the field value are "1B"

If it's the fields you want to select/deselect, you can use a Dynamic Select tool with a similar formula. 

 

Let us know if this makes sense and we can go from there. 

itssreeji
6 - Meteoroid

Including the sample

binuacs
21 - Polaris

@itssreeji the string function StartsWith will be helpful for your use case

 

String Functions | Alteryx Help

binuacs_0-1657313215945.png

 

binuacs_1-1657313256466.png

 

 

Labels
Top Solution Authors