G
Guest
I have a chart report based on a query which calculates average of revenue
for orders placed under supervisors across months. For this, I have grouped
by supervisor and month and calculated average of revenue. This is a
parameter query with the supervisor name as criterion. Another requirement is
to calculate these averages for managers who have supervisors under them. In
the same query, if I group by manager, the averages still remain the same
because averages are calculated at the lowest level. I can do this in 2
different reports based on 2 different queries, one for manager and another
for supervisor but I would prefer a single report. These manager and
supervisor criteria are passed to the query-report-chart through a dialog
form.
Can this be done in a single report/query? Basically I dont want the records
to be grouped by supervisor when the manager criterion is present
for orders placed under supervisors across months. For this, I have grouped
by supervisor and month and calculated average of revenue. This is a
parameter query with the supervisor name as criterion. Another requirement is
to calculate these averages for managers who have supervisors under them. In
the same query, if I group by manager, the averages still remain the same
because averages are calculated at the lowest level. I can do this in 2
different reports based on 2 different queries, one for manager and another
for supervisor but I would prefer a single report. These manager and
supervisor criteria are passed to the query-report-chart through a dialog
form.
Can this be done in a single report/query? Basically I dont want the records
to be grouped by supervisor when the manager criterion is present