I am trying to design a process for creating comparison reports. This would allow the user to ask for any range of dates -- to be compared to another range of dates. For example, they may want to compare 2nd qtr (07/02 - 09/02) to 3rd qtr 2002 (10/02 - 12/02) Or they may select only a month - such as comparing 12-02 to 1-03.
I have 2 parameter queries that prompt for beginning/ending dates. The first one will extract data based on the first range of dates given - and likewise with the second.
Now comes my problem. I have no way to join this data. I was anticipating a report such as the one below - as the cross tab does not allow for as many months as may be requested... For the report - the first range was 7/02 - 9/02 and the second range was 10/02-12/02. The data is on 2 tables...
REP MO/YR SALES COMM MO/YR SALES COMM SALES %
BOB 07/02 $1000 $50 10/02 $1200 $60
08/02 0 0 11/02 $1100 55
09/02 $2000 $100 12/02 0 0
TOTAL $3000 $150 $2300 $115 -23.33%
Can anyone give me some pointers on how to do this? Or can you give me an alternative way??
I'm a newbie on this --
Thanks!!!!!!!!!
I have 2 parameter queries that prompt for beginning/ending dates. The first one will extract data based on the first range of dates given - and likewise with the second.
Now comes my problem. I have no way to join this data. I was anticipating a report such as the one below - as the cross tab does not allow for as many months as may be requested... For the report - the first range was 7/02 - 9/02 and the second range was 10/02-12/02. The data is on 2 tables...
REP MO/YR SALES COMM MO/YR SALES COMM SALES %
BOB 07/02 $1000 $50 10/02 $1200 $60
08/02 0 0 11/02 $1100 55
09/02 $2000 $100 12/02 0 0
TOTAL $3000 $150 $2300 $115 -23.33%
Can anyone give me some pointers on how to do this? Or can you give me an alternative way??
I'm a newbie on this --
Thanks!!!!!!!!!