Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Wild card lookup to update another field.

jdelaguila
8 - Asteroid

Good Afternoon,

Hope everyone is doing well. I have an update statement that i believe to be very simple, but i just can't figure it out.

 

I have two fields [COMPANY], [DROPREASON].  See attached workflow.

 

Everytime the word "Fund" or "Trust" appears in the [COMPANY] field - i need to update the [DROPREASON] field with "08"

 

Its basically a wild card. I tried building the formula out using the CONTAIN tool but had no luck, then i tried the Find and Replace tool, but that updates the same field. Any thoughts?

4 REPLIES 4
AbhilashR
15 - Aurora
15 - Aurora

Hi @jdelaguila, you could use the following formula to populate the DROPREASON field.

IF Contains([ICOMPANY],'Fund')
OR Contains([ICOMPANY],'Trust')
	THEN '08'
ELSE Null()
ENDIF

 

AbhilashR_0-1592417362643.png

 

RobertOdera
13 - Pulsar

Hi, @jdelaguila 

 

Try this.

Please mark as solution + like, if it works for you.

Gave you both options.

 

RobertOdera_0-1592427499818.png

 

The workflow is attached.

Cheers!

 

jdelaguila
8 - Asteroid

Thank you both so much! This is exactly what i was looking for.

 

Javier Delaguila

RobertOdera
13 - Pulsar

You're most welcome @jdelaguila !

Cheers.

Labels