Qlik Community

Ask a Question

New to QlikView

If you’re new to QlikView, start with this Discussion Board and get up-to-speed quickly.

Announcements
Do More with Qlik - for Beginners and Beyond, Topic: Qlik Replicate on January 21, 2PM EST. REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Calculating lead time between order date and delivery date

Hi there,

I have a Qlikview overview that shows for each invoice the order date and the delivery date.

Substracting both dates gives me the lead time between order and delivery.

However, the result of this formula is influenced negatively by weekend days.

Does someone know if it possible to calculate only working days between two dates within Qlikview. In excel it is feasible but it would be great if I could get this information within the Qlikview table of course.

Thanks for your feedback or ideas.

Peter

5 Replies
Contributor III
Contributor III

Creator II
Creator II

Hi,

Did you give networkdays() a try?

Thanks,

RT

Try to share that excel file which working so then we may replicate that in View.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Creator
Creator

In your master calendar, could you identify which days are work days, and which weekend? 

Load this as a new dimension and use in the set analysis

Contributor III
Contributor III

Hi,

Networkdays will resolve the issue. Passing Order date as Start date and Delivery date as end date will give you the working days.

Hope it helps.

Thanks