In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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