I am trying to compare transaction data between previous years and the current year. I am using tdate as the transaction date and I have two parameters called Start Date and End Date. How do I assign the following. (Using Crystal Syntax)
Start Date>= tdate - 1 year and End Date<= tdate - 1 year
The transaction data needs to be shown in two columns one for this year one for last year showing the sum per day. I will eventually either use a cross tab or possibly a group to do each day but need them split per year as well.
If possible I would like to match the day of this year to the same day of last year. E.g. Sunday 29th Jan 2012 would match up with Sunday 30th Jan 2012.
Any ideas much appreciated!