Average Function in a report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how do I get the average function to ignore columns that have 0.00 as the
amount. Or is there a way to hide the zeroes like you do in excel.
 
Stuart said:
how do I get the average function to ignore columns that have 0.00 as the
amount. Or is there a way to hide the zeroes like you do in excel.


The Aggregate functions ignore null values so you can test
for 0 and use Null instead:
=Avg(IIf(field <> 0, field, Null))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top