I have looked at FAQ703-5466 and seems close to what I'm doing, but not quite as the report I'm creating is not going by calendar weeks/months, rather by academic year, which straddles calendar years. Perhaps I am thinking in the wrong direction here, so any insight would be appreciated. I set up the crosstab and a report and they are working fine, but not sure how to "genericize" the headers without a complicated table. Output shows a rolling 5 week period for 3 yrs. Each week has a week number, however the week number corresponds to a semester and not a calendar year, so for example week ending 21-dec-2007 would be week 14.
I built a header table such as:
Yr01Wk01 200601
Yr01Wk02 200602
..
Yr02Wk02 200702
Here is a condensed sample output as of 07-Dec-2008
[tt]
2006 ----------| 2007 ----------| 2008----------
Wk10 Wk11 Wk12 | Wk10 Wk11 Wk12 | Wk10 Wk11 Wk12
LS A 5 5 6 | 2 2 5 | 0 0 1
B 2 2 2 0 0 1 0 0 0
...
DW A 18 18 22.....
[/tt]
The next week everything shifts over, week10 drops off and week13 is displayed
[tt]
2006 ----------| 2007 ----------| 2008----------
Wk11 Wk12 Wk13 | Wk11 Wk12 Wk13 | Wk11 Wk12 Wk13
LS A 5 6 8 | 2 5 6 | 0 1 3
B 2 3 4 0 1 2 0 0 0
...
DW A 18 22 26.....
[/tt]
The dates themselves are not displayed on report. I am showing here for reference to the week numbers in the example report above:
2006 2007 2008
Wk12 09Dec05 08Dec06 07Dec07
Wk11 02Dec05 01Dec06 30Nov07
Wk10 25Nov05 24Nov06 23Nov07
With present setup, using the crosstab header table the report refers to the values, Yr1Wk1 Yr2Wk2, etc. How would I get the date/weeks to fall in the correct bucket?
I built a header table such as:
Yr01Wk01 200601
Yr01Wk02 200602
..
Yr02Wk02 200702
Here is a condensed sample output as of 07-Dec-2008
[tt]
2006 ----------| 2007 ----------| 2008----------
Wk10 Wk11 Wk12 | Wk10 Wk11 Wk12 | Wk10 Wk11 Wk12
LS A 5 5 6 | 2 2 5 | 0 0 1
B 2 2 2 0 0 1 0 0 0
...
DW A 18 18 22.....
[/tt]
The next week everything shifts over, week10 drops off and week13 is displayed
[tt]
2006 ----------| 2007 ----------| 2008----------
Wk11 Wk12 Wk13 | Wk11 Wk12 Wk13 | Wk11 Wk12 Wk13
LS A 5 6 8 | 2 5 6 | 0 1 3
B 2 3 4 0 1 2 0 0 0
...
DW A 18 22 26.....
[/tt]
The dates themselves are not displayed on report. I am showing here for reference to the week numbers in the example report above:
2006 2007 2008
Wk12 09Dec05 08Dec06 07Dec07
Wk11 02Dec05 01Dec06 30Nov07
Wk10 25Nov05 24Nov06 23Nov07
With present setup, using the crosstab header table the report refers to the values, Yr1Wk1 Yr2Wk2, etc. How would I get the date/weeks to fall in the correct bucket?