Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
KommulaRahul
Contributor III
Contributor III

I have one formula which is written in excel.

Can anyone come up with an appropriate Expression on how to replicate the same expression in Qlik by using set analysis . Pls look into the attachment below for the  Excel formula

Labels (1)
4 Replies
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

HI,

 

You can try an expression like:

 

IF(Len([Delivered formatted])=0,
  If([Order status]='Delivered',
    If([Delivery window starttime] <= [Delivered formatted],
      If([Delivered formatted] <= [Lastest delivery endtime], 'TRUE', 'FLASE')
      'FALSE'
    )
  )
)
 

 

Help users find answers! Don't forget to mark a solution that worked for you!
KommulaRahul
Contributor III
Contributor III
Author

I tried this expression but the resultant output we get is true or false. It's in a text format

I want the result in the form of number(Eg 3422) 

So can u write this expression by using Count

 

G3S
Creator III
Creator III

the true & false can be replaced with 1 and 0. then you can sum it.

Gabbar
Specialist
Specialist

Use the same expression which you have used in Excel, it should work properly, 
IF it is showing null, aggregate it with a respective primary key dimension.