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: 
mahitham
Creator II
Creator II

if logic help

Hi Experts,

Can any one please help me to replicate the below logic into qlik

=If(OR(ISBLANK(Startdate ), ISBLANK(Enddate)),"",

     IF(AND(Type="New",Status="Completed"),NETWRORKDAYS(Startdate,Enddate), "")

  )


Thanks in advance.


1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

if(Type='New' and Status='Completed', NetWorkDays(Startdate,Enddate))

View solution in original post

4 Replies
tresesco
MVP
MVP

Qlik too has a networkdays().

mahitham
Creator II
Creator II
Author

Hi Tresesco,

Thanks for your reply.

could you please help me to replicate this whole logic into Qlik.

=If(OR(ISBLANK(Startdate ), ISBLANK(Enddate)),"",

     IF(AND(Type="New",Status="Completed"),NETWRORKDAYS(Startdate,Enddate), "")

  )


Thanks in advance.

arulsettu
Master III
Master III

may be like this in qlik

if(Type='New' and Status='Completed',

NETWORKDAYS('21/11/2017' , '27/11/2017' ))

replace date with your date field

tresesco
MVP
MVP

Try like:

if(Type='New' and Status='Completed', NetWorkDays(Startdate,Enddate))