CR 8.5 on Oracle 8i
My brain is just not functioning today.
I Currently have a report grouped by year with yearly summarized distinct counts. I now need to show a variance from year to year
Example
Year Total Variance
1993 1000
1994 1100 10.0%
1995 1500 36.3%
On a given year, how can I get the previous year's summary to use with the formula
if RptYear = year(currentdate) - 10 then
0
else
RptYear - PreviousRptYear % PreviousRptYear
Any help much appreciated.
My brain is just not functioning today.
I Currently have a report grouped by year with yearly summarized distinct counts. I now need to show a variance from year to year
Example
Year Total Variance
1993 1000
1994 1100 10.0%
1995 1500 36.3%
On a given year, how can I get the previous year's summary to use with the formula
if RptYear = year(currentdate) - 10 then
0
else
RptYear - PreviousRptYear % PreviousRptYear
Any help much appreciated.