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

Convoluted Cycle Time Report

I have 5 sets of start timestamp and end timestamp. I also have 5 sets of stop timestamp & restart timestamp which can occur between the start & end timestamps. I need to create a net cycle time report, which basically is below:

networkdays(start timestamp, end timestamp) - networkdays(stop timestamp, restart timestamp) (if stop & restart timestamps fall between start & end timestamp).

Is there a better way to write the above code than a big hairy if condition?

Thanks,

Dinesh.

0 Replies