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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
joeybird
Creator III
Creator III

time bracket

Hiya

I have a time bracket working for 12 hours, but I need to get it to work for weeks

if(([CustomerOrderDateTime] - [CustomerOrderDateTimeComplete]) >= (1/2), 1,0) as [12 Hour Bracket]

how do I change this section  (1/2), to get e.g. 1 week?

Kind Regards

Joeybird

1 Solution

Accepted Solutions
robert_mika
Master III
Master III

If I understand this correctly:

IF 1/2=12 hours

then 7 days*24=168 hours

View solution in original post

2 Replies
robert_mika
Master III
Master III

If I understand this correctly:

IF 1/2=12 hours

then 7 days*24=168 hours

joeybird
Creator III
Creator III
Author

Hiya

brill!

thanx

kind regards

joeybird