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: 
Anonymous
Not applicable

Displaying data between two time ranges

Dear All,

I have data available in a similar timestamp format : 11/2/2016  11:28:00 AM.

I have a requirement wherein I need to display records/data between a particular time range ie. 9:00 AM to 5:00 PM using the above timestamp.

Could you please with this query.

Labels (1)
22 Replies
Tanya_Sharma9
Contributor
Contributor

Below is the format of my TimeStamp column:

Tanya_Sharma9_1-1621505932609.png

 

mdmukramali
Specialist III
Specialist III

Hi @Tanya_Sharma9 ,

You can't use the same condition in Expression.

you need to use the Condition in Set Analysis .

Upload the sample file i will help you in writing the Set analysis syntax.

 

Thanks,

Mukram

 

Tanya_Sharma9
Contributor
Contributor

Hi @mdmukramali ,

Please find attached the data.  I want to display a value where value for 'TAG A' is divided by sum of values for 'TAG B' and 'TAG C' for the maximum minute(5/4/2021 2:00 AM).

For E.g:

=(4/(2+1))  for '5/4/2021 2:00 AM'

 

Also, I want to display this above calculated data for the last one hour(1:01 AM to 2 AM).