Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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