Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Grouping and Sorting

Grouping and Sorting

Grouping and Sorting

Using CR Developer version 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?


RE: Grouping and Sorting

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. http://www.bidw.org/crystal-reports/crystal-report...

RE: Grouping and Sorting

Thanks kray4660 2thumbsup

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close