Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Interactive Sorting Expand / Collapse
Author
Message
Posted Wednesday, August 20, 2014 9:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 29, 2014 7:11 AM
Points: 2, Visits: 13
In a table with some grouped rows (sales grouped by country, region and city) I wish to add "interactive sorting" for the sales column.
The "interactive sorting" works fine but only within ONE group or details.
What I want is to sort within ALL groups and details:
Groups            sales
--------------------------
Group 1 Germany 561
Group 2 Region West 159
Group 3 City 3 64
Group 3 City 8 54
Group 3 City 5 41
Group 2 Region Süd 150
Group 3 City 4 99
Group 3 City 9 51
Group 2 Region Nord 133
Group 3 City 7 50
Group 3 City 98 48
Group 3 City 2 20
Group 3 City 10 15
Group 2 Region Ost 119
Group 3 City 90 74
Group 3 City 15 45

I look forward to get some responses.
Post #1605498
Posted Wednesday, August 20, 2014 11:00 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 12:10 PM
Points: 11,322, Visits: 13,115
Unfortunately the built-in interactive sort in SSRS only allows you to sort on one column at a time. Another option is to have Sort By parameter (or parameters) on the report and then apply the sort on rendering using expressions.



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #1605529
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse