Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

parse error with nested If

ayush_mishra
8 - Asteroid

I am getting parse error message while using nested IF formula and not able to determine what is the error. Please assist.

 

Formula looks good so far until I add an apostrophe (see 2nd screenshot) but I believe that's not the issue (see screenshot 3 and 4).

 

Screenshot 1:

ayush_mishra_0-1607360904463.png

 

Screenshot 2:

ayush_mishra_1-1607361071452.png

 

Screenshot 3:

ayush_mishra_3-1607361325568.png

 

Screenshot 4:

ayush_mishra_4-1607361350352.png

 

And when I execute, I get following error

ayush_mishra_2-1607361145074.png

 

5 REPLIES 5
BrandonB
Alteryx
Alteryx

Is it possible that your # of days column isn't a numeric data type? Try checking if it is a double with a select tool. 

grazitti_sapna
17 - Castor

Hi @ayush_mishra,

 

It would be great if you could share some sample data, it would help us troubleshoot your problem better.

 

 

Sapna Gupta
Qiu
21 - Polaris
21 - Polaris

@ayush_mishra 
The error message shows that the expression#2 is having the error.

I tested on my side, that there is no issue with the formula in your Snapshot#2.

So most likely, your '# of Days' is not numeric?

Capture111.PNG

ayush_mishra
8 - Asteroid

hi @BrandonB , yes that was the issue. thanks!

ayush_mishra
8 - Asteroid

hi @grazitti_sapna, issue was because of incorrect data type, now resolved. thanks for responding.

Labels
Top Solution Authors