Home > Archive > MS SQL Server OLAP > January 2006 > Filtering out weekend days in a datediff









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Filtering out weekend days in a datediff
Ian Wright

2006-01-31, 11:24 am

I need to create a calculated measure that will show the number of days
between when a submission was created and when it was closed. I've used the
DateDiff from the VBA library to accomplish this because we had reqs. that
called for all calendar days. However, these reqs. were changed so that
days falling on the weekend should not count in the calculation. What are
some strategies for tackling this problem?

I'm using AS 2000.

Thanks in advance.


Voorshwa

2006-01-31, 11:24 am

I have an idea for this in my head, but seeing your current code would
help me put it into your context. You mind posting what you are using
now?

V

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com