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
18 - Pollux
18 - Pollux

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

OTrieger
13 - Pulsar

@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
18 - Pollux
18 - Pollux

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

alexnajm
18 - Pollux
18 - Pollux

@Johmz let us know if it worked

Johmz
8 - Asteroid

Thank you. Its now working. 

alexnajm
18 - Pollux
18 - Pollux

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

Labels
Top Solution Authors