Question : Interactive Sorting with drill-down groups collapses group when sorting

HI!

   I have an SSRS 2005 Reporting Services report with a table that has a drill down group.  The report opens with the group details suppressed. The report also has interactive sorting set on a couple of column headings.  But, when you drill down to the detailson a group and then sort one of the columns and expect to see the details within your group sorted by the column you've chosen, instead the group collapses and the details disappear.  I've tried playing around with sorting by the group name as opposed to the details, and it's just not working.  I'm wondering if anyone else has seen this and whether or not there's a workaround.   This is just weird.  I hope someone has an explanation or a solution.

Thanks,
Karen

Answer : Interactive Sorting with drill-down groups collapses group when sorting

OK, this is a bug!

I've the following query;
Select Id=1, Store = 'A', Sales = 156
Union All
Select Id=2, Store = 'D', Sales = 123
Union All
Select Id=3, Store = 'A', Sales = 3786
Union All
Select Id=4, Store = 'A', Sales = 123
Union All
Select Id=5, Store = 'D', Sales = 149
Union All
Select Id=6, Store = 'B', Sales = 368
Union All
Select Id=7, Store = 'A', Sales = 49
Union All
Select Id=8, Store = 'A', Sales = 89
Union All
Select Id=9, Store = 'A', Sales = 4568
Union All
Select Id=10, Store = 'D', Sales = 24
Union All
Select Id=11, Store = 'C', Sales = 129
Union All
Select Id=12, Store = 'A', Sales = 1456
Union All
Select Id=13, Store = 'C', Sales = 14
Union All
Select Id=14, Store = 'A', Sales = 678
Union All
Select Id=15, Store = 'A', Sales = 357
Union All
Select Id=16, Store = 'D', Sales = 6105
Union All
Select Id=17, Store = 'A', Sales = 678
Union All
Select Id=18, Store = 'A', Sales = 3
Union All
Select Id=19, Store = 'B', Sales = 788
Union All
Select Id=20, Store = 'B', Sales = 45645

I've a table with a detail level and a group level on Store

To sort the whole report, the expression was Fields!Sales.Value
Current Group, and Detail Scope were used to get the it to sort within each group.
I tried all 9 combinations of Group and Scope setting and the only ones that produced a sensible result were;
Current + Detail,
Table + Detail
Dataset + Detail

I could not get it to order the groups and the details at the same time.

I also put an interactive sort at group header level and this just sorted the group whose header I picked. It also collapsed the expended selections it also only works on one group at a time.

I remember having issues with interactive sorts when it first came out and through the mist of times I think I was told it was a late add-in and only really works with basic tables (i.e. no grouping).

For complex sorting, I use parameters to control this. This doesn't get around your collapsing issue.

Best I can do for now!

Cheers
Chris




Random Solutions  
 
programming4us programming4us