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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

ENDIF causing issues in IF formula?

jwlam
8 - Asteroid

Hi all,

 

I am trying to use operators on a formula that I've changed to a numeric data type. The formula doesn't give me an error until I type ENDIF. Data Type within Formula tool is Float (has decimals) and I've used the Select tool to change CPE and Max Credit to Float and tried Double just to see what would happen. Both give me the Malformed IF Statement error. What am I doing wrong here?

 

Thanks.

 

Formula ENDIF.jpg

Metadata.jpg

Error.jpg

 

 

3 REPLIES 3
adamweaver39
9 - Comet

Hey @jwlam ! I think you are missing your ELSE condition at the end of the formula before your ENDIF

jwlam
8 - Asteroid

@adamweaver39 Ahh I knew it was a simple solution. Thanks!

adamweaver39
9 - Comet

Sure thing :) glad it was that easy!

Labels
Top Solution Authors