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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find Top 20 2

Status
Not open for further replies.

NewToThis2

Technical User
Mar 30, 2004
62
US
CV9 - I have a wage report that I need to show only the top 20 highest total wages for the year. A parameter will ask the user to enter the year they want to report on.
The report is grouped by employee. There is a 2nd group that has the sum of all the employee's wages for the year.

I would appreciate anyone's advice on how to write the formula. Thanks!
 
Have you looked at using the "TopN" report type? That should get you what you need.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
In recent versions of Crystal you have the Report->Group/Sort expert.

Note that a choice within is Top N.

Set it to 20, and use the sum of wages

Not sure what your second grouping is, you stated what's in there, but not what it is.

You should only need the Employee group as the report is already filtered for just the obne year.

-k



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top