
Contributor III
2019-04-23
12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Restrict the Time in Set Analysis
Dear Experts,
I'm trying to restrict the TIME using Set analysis in QlikSense Straight table.
Requirement: Count of Items during 9 am to 5pm, Field name = DateTimeField and Format = DD/MM/YYYY hh:mm:ss
Please correct me the below expression-
=Count ( {<Time(Frac(DateTimeField) )={'>=09:00:00<=17:00:00' } >} Items)
I do not have access to create a variable in Edit script to trim Time from the DateTimeField. All I need to show on front end UI level only..
please suggest me the solution.
1,070 Views
2 Solutions
Accepted Solutions

MVP
2019-04-23
12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Count({<DateTimeField = {"=Frac(DateTimeField) >= MakeTime(9) and Frac(DateTimeField) <= MakeTime(17)"}>} Items)

Contributor III
2019-04-23
01:05 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great Sunny 🙂 , Many thanks For your help.
1,054 Views
2 Replies

MVP
2019-04-23
12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Count({<DateTimeField = {"=Frac(DateTimeField) >= MakeTime(9) and Frac(DateTimeField) <= MakeTime(17)"}>} Items)

Contributor III
2019-04-23
01:05 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great Sunny 🙂 , Many thanks For your help.
1,055 Views
