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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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
MVP
MVP

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
MVP
MVP

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