If you have two dates (dimensions), say Order Date and Delivery Date, how can you calculate the number of working days in between the two. It is necessary to eliminate bank holidays as well as weekends. It should ideally be usable in different countries (so different bank holidays). I wondered if it might be possible using a simple calendar maintained in Excel where each day is marked as working or holiday.
It exists a way of calculating the number of working days through 3 different variables, but not including bank days. I guess the only for this last one would be a calendar stored in a table but filled manually.
If you fill it manually I wish you good luck because it will be a very long work
Filling in the calendar is not a problem. It is a simple spreadsheet with a column for the date and a column for the status of the day (working or non-working). For one country it takes about 10 minutes to do it for a year (with copy/paste for the 5 working days and the weekends, followed by manual addition of about a dozen holidays). I just don’t know how to use the spreadsheet to effect the count in BO…
The Excel sheet is an option, but what about loading it into a table in your DB ? With such a table you could insert it into your universe and then all users could use it as well
Thanks all, I found a solution based on Deb’s idea. Guess I’ll play with it a bit first though before I try to persuade our database guardians to “pollute” their DB with my calendar tables…