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

Choose Time Period

Hello,

 

I have a problem to choose values between a time period. I want to create a button and when you click on it the time should be between yesterday 06:00 am and today 06:00 am.

The values of yesterday before 06:00 am and today after 06:00 am should not be shown. 

 

Does anyone could give an advice how to solve this problem?

2 Replies
aakritiv
Contributor
Contributor

Create a button and in Actions add - select in field (Date field) and add the following condition :

='<='&Timestamp(Today()+(6/24))&'>='&Timestamp((Today()-1)+(6/24)) 

Attached is a sample data. 

Brett_Bleess
Former Employee
Former Employee

The IntervalMatch function might possibly work for you as well, I am not a very good developer, but this one struck me when I read what you were trying to do here:

https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/Sc...

Hopefully may work or give you some other ideas.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.