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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sonipradeep
Contributor
Contributor

getting error in if else

I have 2 dates Planned start date and planned end date ,  i want to find out the Project status as Completed, Inprogress, yet to start  depending on Today Date  if today date falls in between start and end date it should be in Progress,  if planned start date is less then today then it should Done. I am trying for in progress it giving me error as missing right parenthesis . trying  to make new column(Calculated field).

2 Replies
jerryyang756
Creator
Creator

Can you share the expression with dimension and measure details ?

jyothish8807
Master II
Master II

Hi Soni,

May be like this:

If(Today() >= Planned_St_Date and Today() <=Planned_end_date,'Inprogress',

if(Today() < Planned_St_Date,'Yet to start','Completed'))

Best Regards,
KC