I am working on a database which will generate a report for data based on week numbers. Everything is going good so far with an exception to one problem I am having.
When a year starts or ends in the middle of a week, its throwing the data off for that one week when referencing the week number.
Example: The first full week of 2013 is December 30-January 5, 2013. When I run the query now that has a calculated field in it to give me week number. The problem with this, is when a new week is started in the prior year its starting a 53rd week.
I want to be able to generate a report for three years comparing week to week between the three years. When the year ends in the middle of the week, how do I make the data for the 53rd week include itself for the first week of the next year in situatuions such as this.
We need data for the 52 full weeks.
I am currently using the following criteria to generate the week number.
WeekNumber: Format([CaseDate],"ww")
Any help is appreciated.
When a year starts or ends in the middle of a week, its throwing the data off for that one week when referencing the week number.
Example: The first full week of 2013 is December 30-January 5, 2013. When I run the query now that has a calculated field in it to give me week number. The problem with this, is when a new week is started in the prior year its starting a 53rd week.
I want to be able to generate a report for three years comparing week to week between the three years. When the year ends in the middle of the week, how do I make the data for the 53rd week include itself for the first week of the next year in situatuions such as this.
We need data for the 52 full weeks.
I am currently using the following criteria to generate the week number.
WeekNumber: Format([CaseDate],"ww")
Any help is appreciated.