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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
GaryChin
Contributor III
Contributor III

Filter Data by Hour

Hi All,

I have a timestamp field in 'YY/DD/YYYY hh.mm.ss' format. And only want to set analysis the data form 9:00 AM to 6:00 PM. How can I do it in Filter Data 

GaryChin_0-1591586126345.png

Or in a filter pane

 

Thanks

Gary

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

What if you create a filter pane with this dimension expression?

=MakeTime( hour(timestamp# ([Your Field], 'YY/DD/YYYY hh.mm.ss')), minute(timestamp# ([Your Field], 'YY/DD/YYYY hh.mm.ss')))

View solution in original post

2 Replies
Vegar
MVP
MVP

What if you create a filter pane with this dimension expression?

=MakeTime( hour(timestamp# ([Your Field], 'YY/DD/YYYY hh.mm.ss')), minute(timestamp# ([Your Field], 'YY/DD/YYYY hh.mm.ss')))

GaryChin
Contributor III
Contributor III
Author

Dear Vegar,

Thank you for your help.

I modify it to add a new field :

MakeTime( hour(timestamp([My_field], 'YY/DD/YYYY hh.mm.ss'))) 

and the result is what I need.

 

Thanks