Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum DBA Videos
internet.com

» Database Journal Home
» DBA Videos
» Database Articles
» Database Tutorials
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed



follow us on Twitter

Marketplace Partners
Be a Marketplace Partner

internet.commerce
Be a Commerce Partner


















Mariposa Bot Shipped With Vodafone Smartphone

IT Job Market Heating Up: Report

Bing Makes Strides But Momentum Stalls

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Database Journal | DBA Support | SQLCourse | SQLCourse2







Related Articles
MSSQL Server Reporting Services: A New Paradigm for Enterprise Reporting
MSSQL Server Reporting Services: The Authoring Phase: Overview Part I
MSSQL Server Reporting Services: The Authoring Phase: Overview Part II

Oracle DBA (IL)
Next Step Systems
US-IL-Lombard

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

December 19, 2005

Interactive Sorting Within Reporting Services

By William Pearson

Verification: Preview the Report and Inspect Effectiveness of Interactive Sorting

Let's preview the report to inspect the results of our handiwork.

1.  Click the Preview tab.

RS024_Interactive Sort executes, and returns the data for the default Sales Order Number indicated atop the report. We note this time, however, the appearance of upward / downward pointing arrows, alongside the Item Number column heading, as shown in Illustration 22.


Illustration 22: Interactive Sorting is Enabled ...

Recall that we have established sorting based upon the Line Totals for each of the Item Numbers in the report. Clicking the "up" arrow should, therefore, sort the Item Numbers listed, by Item Total, in ascending fashion (they are not sorted at present).

2.  Click the upper of the two arrows.

The report reorders itself to sort as expected. We see the downward pointing arrow disappear, leaving the upper arrow in place to indicate that Item Number has been sorted. We also note that the Line Totals are, indeed, presented in ascending order, as depicted in Illustration 23.


Illustration 23: Ascending Sort Accomplished ...

We can just as easily sort in descending fashion, by clicking the upward pointing arrow that remains. The re-sort will occur, leaving the Item Numbers sorted by Item Total, this time in descending order.

We thus see that the interactive sorting capability accomplishes the intended ends, and allows us to meet the need as expressed by the information consumers. The flexibility of interactive sort support is extended in its allowance for selection of data region and scope for our sorts, as we have seen. Through this means we can meet varying needs of the organizations we support, limiting the desired sort actions to the data region containing the textbox upon which we enact the capability, or allowing us to extend the scope of our sorts to another set of data regions that we can choose as easily as we have done with the one in our practice example.

3.  Select Save --> Save All to save our work to this point.

4.  Select File --> Exit to leave Reporting Services, when ready.

Conclusion ...

In this article, we extended previous examinations of sorting capabilities to focus upon a popular feature within Reporting Services that supports a commonly encountered business need: the desire of information consumers to be able to perform ad hoc sorting for a given item or items within the report, based upon their own values or upon a corresponding value that appears in, say, another column of the report. As a part of preparing the backdrop for a practice exercise surrounding the setup of interactive sorting support, we created a copy of an existing sample report to leave the original intact for other uses.

The steps we took within the context of the clone report gave us a feel for what is involved in bringing the capability to perform interactive sorting to existing reports in our own environments. We emphasized that, with the introduction of interactive sorting, Reporting Services closes yet another of the few remaining gaps between itself and other, once dominant enterprise reporting solutions.

To set the stage for our discussion and practice session, we presented a business requirement based upon the needs of a hypothetical client. We prepared for our practice session by opening the Report Server project that contains the sample reports, and which, along with a set of other samples, ships with MSSQL Server 2005. From within the Business Intelligence Development Studio, where we opened the project, we then created a "clone" report, within which we performed the steps of our practice exercise.

Once we had aligned the underlying shared data source to our local sample database, we made the appropriate setting to support ad hoc sorting for a column within our report, based upon a value in another column. As we performed the necessary settings to enable interactive sorting within the report, we addressed the importance of scope within the properties. Finally, we verified the operation of our enhancements in a test of report operation.

» See All Articles by Columnist William E. Pearson, III

Discuss this article in the MSSQL Server 2000 Reporting Services Forum.

MSSQL Server Reporting Services
Part 71: Introducing the Tablix Data Region: Basic Grouping Concepts
Part 70: Introducing the Tablix Data Region in Reporting Services 2008
Part 69: 100% Stacked Column Chart for Analysis Services Data
Part 68: XY (Scatter) Chart for Analysis Services Data
Part 67: Simple Doughnut Chart for Analysis Services Data
Part 66: Exploded Pie Chart for Analysis Services Data
Part 65: Stacked Bar Chart for Analysis Services Data
Part 64: Line Chart for Analysis Services Data
Part 63: Stacked Column Chart for Analysis Services Data
Part 62: A More Advanced Pie Chart for Analysis Services Data
Part 61: Simple Pie Chart for Analysis Services Data
Part 60: Simple Bar Chart for Analysis Services Data
Part 59: Simple Column Chart for Analysis Services Data
Part 58: Introducing Reporting Services Charts for Analysis Services
Part 57: Mastering OLAP Reports: Parameterized Grouping
Part 56: Mastering OLAP Reports: Parameterizing Number of “Top” Items with the MDX TopCount() Function, Part II
Part 55: Mastering OLAP Reports: Parameterizing Number of “Top” Items with the MDX TopCount() Function, Part I
Part 54: Mastering OLAP Reports: Parameterizing Number of “Look Back” Periods with the MDX LastPeriods() Function, Part II
Part 53: Mastering OLAP Reports: Parameterizing Number of “Look Back” Periods with the MDX LastPeriods() Function, Part I
Part 52: Support Parameterization from Analysis Services – Parameter Defaults
Part 51: Parameterization from Analysis Services – Cascading Picklists
Part 50: Support Parameterization from Analysis Services
Part 49: Parameter Support Objects, Pt II: Support OLAP Parameter Defaults with Datasets
Part 48: Reporting Services: Customize Automatically Created Parameter Support Objects
Part 47: Snapshot Reports II: SQL Server Management Studio Perspective
Part 46: Snapshot Reports I: Report Manager Perspective
Part 45: Report Execution Caching II: Report Manager Perspective
Part 44: Black Belt Administration: Report Execution Caching I: SQL Server Management Studio Perspective
Part 43: Black Belt Administration: Caching Options: Report Session Caching
Part 42: Black Belt Administration: Reporting Services Configuration Manager
Part 41: Intelligent Layering: Leverage Conditional Formatting Logic from Analysis Services
Part 40: Black Belt Administration: Performance Dashboard for Microsoft SQL Server, Part II
Part 39: Black Belt Administration: Performance Dashboard for Microsoft SQL Server, Part I
Part 38: Mastering OLAP Reports: Extend Reporting Services with Custom Code
Part 37: Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. II
Part 36: Black Belt Components: Support Simple Navigation with a Document Map
Part 35: Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. I
Part 34: Black Belt Components: Interactive Sorts within a Matrix Data Region
Part 33: BlackBelt Authoring: Conditional Drillthrough to Multiple Reports
Part 32: Mastering OLAP Reporting: Prototype KPIs in Reporting Services
Part 31: BlackBelt Administration: Linked Reports in SQL Server Management Studio
Part 30: BlackBelt Administration: Linked Reports in Report Manager
Part 29: Mastering OLAP Reporting: Reporting with Analysis Services KPIs
Part 28: Report Builder: Creating a Report Model
Part 27: Mastering OLAP Reporting: Meet Business Needs with Matrix Dynamics, Part II
Part 26: Mastering OLAP Reporting: Meet Business Needs with Matrix Dynamics, Part 1
Part 25: Mastering OLAP Reporting: Display a Dataset Field in a Report Page Header
Part 24: Interactive Sorting Within Reporting Services
Part 23: Mastering OLAP Reporting: Multiple Value Selection in a Parameter Picklist
Part 22: Mastering OLAP Reporting: Drilling Through Using MDX
Part 21: Mastering OLAP Reporting: Relationally-Based Picklists for OLAP Reporting
Part 20: Mastering OLAP Reporting: Extending Conditional Formatting: SWITCH and Drilldown Defaults
Part 19: Mastering OLAP Reporting: Percent of Total - Chart Presentation Nuances
Part 18: Mastering OLAP Reporting: Percent of Total - Two Perspectives
Part 17: Mastering OLAP Reporting: Ad Hoc TopCount and BottomCount Parameters
Part 16: Black Belt Components: Ad Hoc Sorting with Parameters
Part 15: Black Belt Administration: "Governor" Capabilities: Report Execution Timeout
Part 14: Black Belt Administration: Execution Log Performance and Audit Reports
Part 13: Black Belt Administration: Prepare the Execution Log for Reporting
Part 12: Black Belt Components: Ad Hoc Conditional Formatting for OLAP Reports
Part 11: Black Belt Components: Manage Nulls in OLAP Reports
Part 10: Reporting Services Basics: Create a Reusable Template Report
Part 9: Master Chart Reports: Track Exchange Rates in a Line Chart
Part 8: Master Chart Reports: Pie Charts in Reporting Services
Part 7: Mastering OLAP Reporting: Cascading Prompts
Part 6: Managing Reporting Services: Data-driven Subscriptions, and External Data Sources for Subscriber Data
Part 5: Managing Reporting Services: Report Execution and Standard Subscriptions
Part 4: Managing Reporting Services: Data Connections and Uploads
Part 3: The Authoring Phase: Overview Part II
Part 2: The Authoring Phase: Overview Part I
Part 1: A New Paradigm for Enterprise Reporting


Go to page: Prev  1  2  3  4  5  6  

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives








Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
Dropping database yogesphu 2 March 18th, 02:11 PM
shrinking a Database tkatende 1 March 18th, 12:19 PM
Inner and outer select mussab 3 March 17th, 11:05 AM
Help with Getting Started jozepeter 1 March 15th, 11:03 AM









The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers