Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

Malformed formula with multiple if statements and criteria

pattersonmichaelk
6 - Meteoroid

Relatively new to Alteryx and struggling to get some formulas to work. Below is an example. Can someone potentially point me to where the malformed error is? The one new column I want to return true/false for has about 7 of these if statements.

 

IF [C.4.a. Asset Type] = "ABS-CBDO" AND [Industry_Group] = "Other Asset Backed Securities" THEN "True" ELSE "False" OR

IF [C.4.a. Asset Type] = "ABS-MBS" AND [Industry_Sector] = "Mortgage Securities" THEN "True" ELSE "False" OR

ENDIF

3 REPLIES 3
Garabujo7
Alteryx
Alteryx

Hello @pattersonmichaelk ,

 

I did some small changes and now is working:

 

Garabujo7_0-1632425048277.png

IF [C.4.a. Asset Type] = "ABS-CBDO" AND [Industry_Group] = "Other Asset Backed Securities" THEN "True" elseif
[C.4.a. Asset Type] = "ABS-MBS" AND [Industry_Sector] = "Mortgage Securities" THEN "True" ELSE "False"
ENDIF

 

Hope this helps

Gabriel

pattersonmichaelk
6 - Meteoroid

Thank you!

Garabujo7
Alteryx
Alteryx

Anytime!

Labels
Top Solution Authors