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: 
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
MVP
MVP

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
MVP
MVP

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