SSRS 2005
Main Topics
Browse All TopicsIn SQL Reporting Services, I have a simple Table on a report with one group defined. I set the sorting options for the group and the sorting options for the details grouping. When I preview the report, the group sorts properly, but the details grouping does not. When I return to the properties page, the sort options for details grouping are gone.
Am I doing something wrong?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi.. not sure why your having this issue. Are you sorting on the same field in both the detail group and the main table?
In design view, click on the table and then right click on the grey box that contains a 1 with a bar ontop and select Edit Group. On the Sorting tab select the field that you want to sort the detail group by and click ok.
Select the table again but make sure the border is the shaded one, right click on the shaded border and select properties. Go to the Sorting tab and select the field you want to groups to be ordered by in the table.
Now run your report and see if the sorting is working properly.
Rob
The report is to show a breakdown of calls per community, grouped by community with details of call type. So the table groups by community and that group sorts descending by total number of calls for the community. The detail is each type of call and sorts descending by total calls of that type.
But the detail grouping just refused to keep the sort information. I tried setting it for the whole table using the table properties sort tab, rather than the one on the details grouping. It seems to work, but is extremely counter intuitive...and begs the question: What the heck is the sort tab on the details grouping page for?
Hi.. I've been looking around to see how you can resolve this but havnt found anything definitive. However, you could try something else.. You currently have one group on your report at the moment that groups by community right? You could add another group within that one that groups by call type (without using the detail group option) basically nesting one group inside another. In design view, you will get two groups showing.. one with a 1 in the the grey box which represents the community group and another with a 2 in the grey box which represents the call type sub group.
Edit each group and set the sort order by right clicking on the grey boxes and selecting Edit group. For each group, you can hide the group header/footer accordingly.
See if this works. Also see this link as it might help
http://sqlserveruniver
Rob
I did manage to get it to work. As I said in my previous comment, setting the sort at the table level seems to affect the detail group level. It's rather confusing why there is a sort tab on the detail group at all if it doesn't do anything.
I appreciate your responses and I'll happily award you the points for a solution that I believe would have worked had I not unraveled the mystery of Microsoft's screwball design.
Business Accounts
Answer for Membership
by: shorakPosted on 2009-01-13 at 06:42:07ID: 23363080
Which version of SSRS are you using?