Chapter 12. Grouping, Sorting, and Aggregating Data, Working with Scope

In This Chapter

• Grouping Data on a Report

• Sorting, Including Interactive User Sorting

• Scope of an Aggregate Function

• Level and InScope Functions

Grouping and sorting functionality provides some of the key motivators for purchasing reporting tools. Although every enterprise DBMS has the ability to group and sort data, reports presented to business users usually have multiple levels of grouping inside of them, not to mention lots of pretty pictures, complex layouts, and graphs. A simple query tool is inadequate for this task. This chapter discusses grouping and sorting as well as when it is appropriate to do it in SSRS versus the DBMS. In SSRS, grouping and sorting ...

Get Microsoft® SQL Server 2005 Reporting Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.