I am using Quantum 2009 with Crystal Reports v9--pervasive sql.
I have a report that lists items and displays the quantity sold by month and the sales amount by month and the last column is the YTD (year-to-date). I need the report to also show me the YTD column for Last Year.
There is a date range parameter and a selection statement:
{JrnlRow.RowDate} = {?Report Date Range}
I don't need to show Last Year's quantity sold by month or the Last Year's sales amount by month. I just need to show what the YTD Total quantity and YTD Total sales were for Last Year.
For example, if today is March 26, 2009, then I want to see the YTD for quantities sold and sales amount as of March 31, 2008.
Is there a formula I can use to get Last Year's YTD figures?
Item Jan Feb Mar........ YTD Last Year YTD
A 10 10 5 25 20
$100 $100 $50 $250 $200
B 5 5 10 20 10
$50 $50 $100 $200 $100
I have a report that lists items and displays the quantity sold by month and the sales amount by month and the last column is the YTD (year-to-date). I need the report to also show me the YTD column for Last Year.
There is a date range parameter and a selection statement:
{JrnlRow.RowDate} = {?Report Date Range}
I don't need to show Last Year's quantity sold by month or the Last Year's sales amount by month. I just need to show what the YTD Total quantity and YTD Total sales were for Last Year.
For example, if today is March 26, 2009, then I want to see the YTD for quantities sold and sales amount as of March 31, 2008.
Is there a formula I can use to get Last Year's YTD figures?
Item Jan Feb Mar........ YTD Last Year YTD
A 10 10 5 25 20
$100 $100 $50 $250 $200
B 5 5 10 20 10
$50 $50 $100 $200 $100