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

group by id then sort by sum of values

Status
Not open for further replies.

rrmcguire

Programmer
Oct 13, 2010
304
US
Hello,

I have a report with a bunch of records which are group by the main user of those records, then the values of the "revenue" field is sumarized for each user and a grand total

Question is the report is group by the user, but I need it to be sorted descending by the sum calculated for each users revenue.

Is this possible?
 
If revenue is based on a simple inserted summary, you can go to report->group sort and select the summary as your group sort field. If not, please post the formula used for revenue.

-LB
 
revenue=total charges - fsc


then in the group footer(grouped by user id) is a summary field which sums the value for each record based on that user id.

currently the report is grouped by user id for all the user id's records, then the revenue is totaled in the summary for the group

What I need the report to do is sort descending by those summary totals
 
got it figured out through the group sort expert...thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top