ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Does not contain criteria

DiyaR
アステロイド

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件の返信6
Thableaus
17 - Castor
17 - Castor

Hi @DiyaR 

 

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

AND 

!Contains([Number], "920") 

 

Try this out.

 

Cheers,

DiyaR
アステロイド

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
16 - Nebula
16 - Nebula

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

 

jamielaird
マグネター
Or use Left([fieldname],2)=“XX” and Right([fieldname],2)=“33” etc to specify the first or last two digits.
DiyaR
アステロイド

thank you.. It worked 🙂

ラベル
トップのソリューション投稿者