Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Alpha Numeric Filter

Viswadeep
5 - Atom

Hi 

 

I need to filter an alpha numberic word eg: I5.5 or Q45.3 or I765.3 or Q78.99

 

How will i filter all these in a single go

 

Thank you

3 REPLIES 3
PaulN
Alteryx Alumni (Retired)

Hi @Viswadeep,

 

If you want to filter on exact value, you could use a Filter tool with a formula like the following:

 

[valueToCheck] IN ("I5.5","Q45.3","I765.3","Q78.99")

 

Where [valueToCheck] is the name of the field you would like to filter on.

 

Source: https://help.alteryx.com/11.0/Reference/Functions.htm (section Operators)

 

Thanks,

 

Paul Noirel

Sr Customer Support Engineer

MarqueeCrew
20 - Arcturus
20 - Arcturus
Regex_match([field],"\u\d+\.\d+") should work for you.

Cheers,
Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Viswadeep
5 - Atom

Thanks mark, 

 

It worked, i need to add on a few things

Data like the below

"-SBI35.2/HLQ34.0" "-SBI35.4/HLQ34.1"

 

I am able to build on from your expression and able to filter out the below data using 'Regex_match([F1],"-?\u+\d+\.\d+")'

"-SQI70.1"

 

So how do I add on that "/" to filter that out in the same expression

 

Thank you

Labels
Top Solution Authors