Scott said:
I have a table that I have created a report from. The calculations are done
on the report itself. For example field c was blank on the table so I created
a formula in there a/b, that worked. Now I am trying to get the avg of c. It
won't work.
When you want to aggregate a value across multple records,
you need a way to specify the the group of records. In a
report, this is either all the records in the entire report
or the records in a group specified in Sorting and Grouping.
Then the expression/value you want to aggregate would be
used in a text box in the corresponding header or footer
section. One very important point is that the aggregate
functions only operate on fields in the report's record
source table/query, they are unaware of calculations done in
controls on the report. Another important point is that all
the aggregate functions, except Count(*), ignore Null
values.
Putting all that together, I think you need to use:
=Avg(a / b)