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