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

front end filter

I Have data as 

Chinnu3_1-1637044010953.png

 

 

I need a filter in front end like which i select i need to see the data last 24hrs from yesterday 11pm to today 11pm. when ever i select this filter it should show yesterday's 11pm onwards today 11pm only.

If today date and time is 15-11-2021 11:30:20pm, If I select that filter it should show below data.

Chinnu3_2-1637044011043.png

 

 

1 Reply
vinieme12
Champion III
Champion III

create  a new field in your script and offset to date+1 if hour>= 11

Date(floor(Report_Date) + if(Hour(Report_Date)>=11,1,0)) as new_Report_Date,

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.