J
Jay
Hi,
I have a select query where records are grouped according to Car
Manufacturer. I want the query to also Average the 'Mileage' field, but
only for records where the Mileage is Between 45,000 and 75,000.
At present I have an 'Avg' in the Total field and 'Between 45000 And
75000' in the criteria row, but this means it averages all records and
selects results where the overall average is between the parameters.
I want it to only use records with mileages between those parameters in
the actual Average calculation.
I know I could probably do it with two queries, but if someone could
tell me how to do it in one I'd really appreciate it.
Many thanks,
Jay
I have a select query where records are grouped according to Car
Manufacturer. I want the query to also Average the 'Mileage' field, but
only for records where the Mileage is Between 45,000 and 75,000.
At present I have an 'Avg' in the Total field and 'Between 45000 And
75000' in the criteria row, but this means it averages all records and
selects results where the overall average is between the parameters.
I want it to only use records with mileages between those parameters in
the actual Average calculation.
I know I could probably do it with two queries, but if someone could
tell me how to do it in one I'd really appreciate it.
Many thanks,
Jay