SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Interactive Sorting


Interactive Sorting

Author
Message
akoeli
akoeli
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 19
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.
Jack Corbett
  Jack Corbett
SSC-Forever
SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)

Group: General Forum Members
Points: 44397 Visits: 14925
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
At best you can say that one job may be more secure than another, but total job security is an illusion. -- Rod at work

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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search