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!

Grouping and Sorting 1

Status
Not open for further replies.

Bennie47250

Programmer
Nov 8, 2001
515
US
Using CR Developer version 14.0.4.738 RTM
Reporting from a MS SQL Database

Have a report that is grouping by the customer number so by default it is sorting by customer number.

I have been asked if it would be possible to sort by the total sales dollars. The total sales dollars is a Running Total field.

Did not see an option to sort by the running total, is that possible?

Been my experience with other reports that if you have a grouping that changing the sort order to a field other than the group field is not possible. Is this correct or have I missed something?

Bennie47250
 
You are basically correct on both counts. Grouping supersedes any sorting. Also in the Report Processing Model. Sorting comes before running totals. That does not mean you couldn't create a formula to do your 'running total' to get around that a little bit.

Here is a link that explains a little bit about the Report Processing Model.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top