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

CONTAINS

Johmz
8 - Asteroid

hi,

 

I need help to create formula to identify column that contains valid code IMAGE*:ORIG. e.g IMAGE1:ORIG, IMAGE2:ORIG 

 

Sample column

 

object.PNG

12 REPLIES 12
Johmz
8 - Asteroid

I need to identify if the column has a code IMAGE with any values that contains ORIG

 

alexnajm
19 - Altair
19 - Altair

Regex_Match([Object], “.*IMAGE\d+:ORIG.*”) should work!

OTrieger
14 - Magnetar

@Johmz 

You can use it in a formula Contains(Field,text) or in filter tool

Johmz
8 - Asteroid

It working but the result is not match based on the syntax. it resulted to "ESCALATED" even there's a IIMAGE1:ORIG

 

 

If

REGEX_MATCH([OBJECT],"*IMAGE\d+:ORIG")

then "AGREE"
else "Escalated"
Endif

Luke_C
17 - Castor
17 - Castor

Hi @Johmz 

 

Your formula needs to be tweaked slightly:

If

REGEX_MATCH([OBJECT],".*IMAGE\d+:ORIG.*")

then "AGREE"
else "Escalated"
Endif

 

alexnajm
19 - Altair
19 - Altair

@Johmz You didn’t type it the way I did!

alexnajm
19 - Altair
19 - Altair

@Johmz let us know if it worked

Johmz
8 - Asteroid

Thank you. Its now working. 

alexnajm
19 - Altair
19 - Altair

Great! Please accept the response(s) that helped as a solution then.

Labels
Top Solution Authors