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

Malformed statement erro

moshood
8 - Asteroid

Hi Community, 

 

can anyone tell me why i am getting this error "Malformed IF Statement" and Parse error at Char

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hi @moshood ,

 

You only need to delete the highlighted area from the image below.

 

fmvizcaino_1-1599150791418.png

 

Best,

Fernando Vizcaino

 

 

moshood
8 - Asteroid

Thank you this has worked. 

 

are you able to explain why this part did not work because i have a similar formula (attached) that has worked?

 

 

Thanks you  

fmvizcaino
17 - Castor
17 - Castor

Hi @moshood ,

 

The formula attached looks like the one we just corrected. The problem with your first formula was that you were doubling the parameter for datetimeadd adding days with lease start date and then subtracting 2.

 

Best,

Fernando Vizcaino

Labels
Top Solution Authors