all groups > sql server reporting services > january 2005 >
You're in the

sql server reporting services

group:

querying Weeks in between years


querying Weeks in between years TA
1/12/2005 3:43:06 PM
sql server reporting services:
Hi Guys

I am creating a report that is looking at the last 8 weeks sales, the
problem I have is that we are now in Week 3 in the new year and when I
populate a prameter for week 3 the query only returs the sales for the last 3
weeks (Which is correct).

How can I get around this problem? Is there another SQL method or function
that I can use to do this?


Regards

Re: querying Weeks in between years Jeff A. Stucker
1/12/2005 7:16:33 PM
Look up DateAdd in SQL Books Online. Hope that helps!

--
Cheers,

'(' Jeff A. Stucker
\

Business Intelligence
www.criadvantage.com
--------------------------------------
[quoted text, click to view]

AddThis Social Bookmark Button