Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum value without grouping?

Status
Not open for further replies.

achaaran

Programmer
Jan 19, 2005
18
0
0
CA
Just wondering if it is at all possible to not group a field but try to find the maximum of it using Report Studio.

ie.

Dept Name Salary
IT Bob 10,000
Tony 5,000
Sam 6,000
Max 10,000

HR Amanda 10,000
Jill 4,000
Jane 3,000
Max 4,000

I find that since 10,000 was the max of the IT dept, that it won't appear in the max of the HR dept, can anyone help?

Thanks!
 
Did you try:
Code:
maximum(salary for dept)

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top