Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Nested IF statement - Error in expression:')' expected

Hi,

I am attempting a nested if statement with two conditions, but am receiving the following error message:

Error in expression:')' expected



Any ideas why this isn't working would be gratefully received.

The statement is as follows:

if

([Current Status]='Authorised' AND [No. Of days from date reported]=< 21,'On track',if([Current Status]='Processed' AND [No. Of days from date reported]=< 21,'On track',if([Current Status]='Checking' AND [No. Of days from date reported]=< 7,'On track',if([Current Status]='Draft' AND [NO. Of days from date reported]=< 7,'On track',if([Current Status]='Closed','Closed','Overdue'))))) as OnTrack,

Thanks!



1 Solution

Accepted Solutions
Not applicable
Author

You have your less than or equal tos reversed. You need:

<=
You're using =<

View solution in original post

2 Replies
Not applicable
Author

You have your less than or equal tos reversed. You need:

<=
You're using =<

Not applicable
Author

Thanks - Problem solved!