Via a "Group By" field with the department's identifier.
I suspect that there is more to this question. For example, do you ALSO
want min, max, &c., statistics for the entire organization, and for some
intermediate levels? Or is something else involved that's not obvious?
-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
Use a Totals type query. Create a new query and add the
table. Then use the View - Totals menu item to display the
Totals row in the query design grid.
Drag the department field down to the field list and make
sure the Totals cell fo the field is Group By.
Now, drag the salary field to the field list three times.
Set the Totals cell to Min, Max and Avg respectively.
Run the query yo see if you're getting the desired results.
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.