Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jochem_zw
Partner Ambassador
Partner Ambassador

Start date and calculate end date, skip weekends!

Hi,

i like to calculate a end date for example start date 7-5-2013 (7 may 2013)

Duration is 12 days, but i have to exclude the weekends. My end date has to be 22-5-2013.

What formula can i use, i tried some things with networkdays etc. but till now not the desired result.

Hope someone can help me.

1 Solution

Accepted Solutions
jochem_zw
Partner Ambassador
Partner Ambassador
Author

thnx Gysbert this was exactly what is was looking for!

View solution in original post

3 Replies
Gysbert_Wassenaar

What you're looking for is the lastworkdate function. lastworkdate('7-5-2013', 12) should return 22-5-2013. Make sure you're using the correct date format. Use the date# and/or date functions as necessary.


talk is cheap, supply exceeds demand
jochem_zw
Partner Ambassador
Partner Ambassador
Author

thnx Gysbert this was exactly what is was looking for!

gaurav2017
Creator II
Creator II

Hi,

Please close this issue if you got what you were looking for.

Regards,