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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If else statement

Hi ,

I am getting the error as error in expression when i tried to use the if else statement in the chart.

= if(((Time(Date,'hh:mm:ss')>='13:00:00PM') and (Time(Date,'hh:mm:ss')<='20:59:59PM')),'Shift 1',(((Time(Date,'hh:mm:ss')>='21:00:00PM')and(Time(Date,'hh:mm:ss')<='04:59:59PM')),'Shift 2','Shift 3'))



1 Reply
Not applicable
Author

Hi,

I have fixed the issue. It is the problem with the if statement.