Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Please help me about.

Hello everybody!

I am new with Qlik sense. I have one problem. i want to calculate count(Request ID) with 2 conditions: 1 Request Status ='Close'

2. Time spent >=4 hours ( 04:00:00)

what calculation can help me now? Thanks all!

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

Count({<[Request Status = {'Close'}, [Request ID] = {"=[Time Spent] >= MakeTime(4)"}>} [Request ID])

or

Count({<[Request Status = {'Close'}, [Time Spent] = {"$(='>=' & Time(MakeTime(4), 'TimeFieldFormatHere'))"}>} [Request ID])

View solution in original post

3 Replies
sunny_talwar

May be like this:

Count({<[Request Status = {'Close'}, [Request ID] = {"=[Time Spent] >= MakeTime(4)"}>} [Request ID])

or

Count({<[Request Status = {'Close'}, [Time Spent] = {"$(='>=' & Time(MakeTime(4), 'TimeFieldFormatHere'))"}>} [Request ID])

Not applicable
Author

Thanks Sunny T so much. i got it  with the first method.

sunny_talwar

Great, I am glad it worked, please consider closing this thread by marking the above response as correct answer

Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny