Alteryx Designer Desktop Discussions

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

Formula doesn't work as expected

elfunambolo
8 - Asteroid

I want to add a value in new column IBAS Maintenance based on a condition of others columns (see below formula), but the output doesn't work.

For example for Event ID 2955582 I except to see HGPI as values in IBAS Maintenance column instead of UNSC.

 

 

 

 

 

 

ELSEIF Contains([Maintenance],'UNSC') AND Contains([Outage Name],'HGPI')
THEN 'HGPI'

 

 

 

 

 

 

Can you support me? I attach WF and source file.

 

Thanks

Giovanni

7 REPLIES 7
atcodedog05
22 - Nova
22 - Nova

Hi @elfunambolo 

 

In the data you have given for Event ID 2955582 IBAS Maintenance has value Co hence and means both conditions needs to be met hence its failing. You can use Or if you want to check either of conditions is meeting.

 

atcodedog05_0-1643216937334.png

 

Hope this helps : )

RolandSchubert
16 - Nebula
16 - Nebula

Hi @elfunambolo ,

 

for the Event ID the field [IBAS Maintenance] is "CO", there is no condition in the formula. It's the field [Maintenance] that has the value "UNSC".

 

Best,

 

Roland

elfunambolo
8 - Asteroid

Hello, I fixed it changing the column to 'Maintenance', see new WF but issue remain.

elfunambolo
8 - Asteroid

Changed the columns, see WF updated but issue remains

RolandSchubert
16 - Nebula
16 - Nebula

I seems, [IBAS Maintenance] is 'HGPI' now after running the workflow. Do you want the result in [IBAS Maintenance] or in [Maintenance]?

atcodedog05
22 - Nova
22 - Nova

Hi @elfunambolo 

 

Same here even i am getting the value as HGPI

 

Workflow:

atcodedog05_0-1643218038085.png

 

Hope this helps : )

 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @elfunambolo 

Cheers and have a nice day!

Labels