Hi, I am wanting to do a conditional average for a group in a Report builder pro report. I could use a DBCalc component, and average a field, but I can not make that conditional. I have a field called "Duration", and another called "Call_type", so I want to sum the Duration where Call_Type = 1, but I really want the Average of the total displayed on the report. I need to know the total number of rows printed for the group. How can I get this value? The detailband.Count property appears to return the number of rows on the current page, and not the total rows printed. Chris --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz