Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

IF/THEN

nihou
8 - Asteroid

I have tried the formula: 

 

IF Contains([SysProdCode]"GAS") and Contains([Type]"Processing" THEN '03'
ELSE IF Contains([SysProdCode]"GAS" and [Type]"Treatment" THEN '04'

 

Source

SysProdCodeType
GasProcessing
GasProcessing
GasTreatment

 

Desire Output

SysProdCodeTypePC
GasProcessing03
GasProcessing03
GasTreatment04
3 REPLIES 3
nihou
8 - Asteroid

 

 

Ar13f
10 - Fireball

Dear @nihou 

 

please see the workflow below ... I hope this is what you are looking for

 

Nihou solution.png

Qiu
21 - Polaris
21 - Polaris

A master table should be easier for maitenance.

Capturew1.PNG

Labels