Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Does not contain criteria

DiyaR
8 - Asteroid

I am trying to replicate my Access query but failed. My code should not contain "*33" and "XX*" and number should not be like "920*"

 

Capture.PNG

6 REPLIES 6
Thableaus
17 - Castor
17 - Castor

Hi @DiyaR 

 

!(Contains([Code], "33") OR Contains([Code], "XX"))

AND 

!Contains([Number], "920") 

 

Try this out.

 

Cheers,

DiyaR
8 - Asteroid

I actually tried this out.. however,I want code which ends with 33 and XX, Number starts with 920. Do i have to go with Regex??

danilang
19 - Altair
19 - Altair

Hi @DiyaR 

 

Look into the StartsWith() for XX* and 920* and Endswith() functions for *33.  preface both of these with Not to match your requirements 

 

Dan

ChrisTX
15 - Aurora

Since your Access query is using wildcards, try the Alteryx function REGEX_Match

 

jamielaird
14 - Magnetar
Or use Left([fieldname],2)=“XX” and Right([fieldname],2)=“33” etc to specify the first or last two digits.
DiyaR
8 - Asteroid

thank you.. It worked 🙂

Labels