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: 
danielnevitt
Creator
Creator

Transact Time flag

Dear all,

I would appreciate some help with the best way to flag timestamps between a range.

For example I have a field TransactTime and I would like to report all TransactTime's between 23:00 - 06:00.

Any help would be great.

Regards,
Daniel

1 Solution

Accepted Solutions
sunny_talwar

May be create a flag like this

If(Frac(TransactTime) >= MakeTime(23) or Frac(TransactTime) <= MakeTime(6), 1, 0) as TimeFlag

 

View solution in original post

3 Replies
sunny_talwar

Does this field only include time or is it made up of date and time both?

danielnevitt
Creator
Creator
Author

Hi Sunny,

The field contains date and time.

Thanks,
Daniel

sunny_talwar

May be create a flag like this

If(Frac(TransactTime) >= MakeTime(23) or Frac(TransactTime) <= MakeTime(6), 1, 0) as TimeFlag