Hi,
I would like to obtain the average of several columns in my report. Each column contains a figure from a different field (but same table) of the datasource. I used a formula in this report to display the average but it comes up blank. This is a bit confusing because when I set up the formula to be used in the formula field, Crystal confirms that there are no errors in my formula.
Here is an example of the formula I used:
Average ([{Rpt_Pension.AnnPay1}, {Rpt_Pension.AnnPay2}, {Rpt_Pension.AnnPay3}, {Rpt_Pension.AnnPay4}, {Rpt_Pension.AnnPay5}])
Any idea what could be wrong? Thanks for any help.
I would like to obtain the average of several columns in my report. Each column contains a figure from a different field (but same table) of the datasource. I used a formula in this report to display the average but it comes up blank. This is a bit confusing because when I set up the formula to be used in the formula field, Crystal confirms that there are no errors in my formula.
Here is an example of the formula I used:
Average ([{Rpt_Pension.AnnPay1}, {Rpt_Pension.AnnPay2}, {Rpt_Pension.AnnPay3}, {Rpt_Pension.AnnPay4}, {Rpt_Pension.AnnPay5}])
Any idea what could be wrong? Thanks for any help.