SSRS: Nested Groups

Integrating multi-level groups within reports. Often within reports, a natural hierarchy reveals itself that if grouped properly, provides the user an efficient means for viewing large numbers of records while avoiding repeating values. To illustrate this feature, I’ll begin with an average report illustrating a company’s store demographics. As you can see, the first two…

SSRS: Mail Merge

Using SQL Server Reporting Services to generate form letters to users. As businesses grow, so does their customer base and the need to communicate with them. SSRS provides an easy way to automate the communication process by generated form letters utilizing user-based data from a centralized data source. In this example, I’ll begin with a…

SSRS: List Report

Using a list report to display separate discrete record sets. I’ll begin by creating new “rptEmployees” report to display employee data. Next, I’ll drag a list object unto the design surface. When prompted with the “Dataset Properties,” I’ll name my new dataset, and to use an “embedded” dataset, then I’ll click “New” to create a new…

SSRS: Grouping

Integrating logical grouping into rows. In reports displaying data with rows duplicating values in the field that identifies each row to the user, it’s helpful to group those rows together under a common header. In this example, I’ll begin where my Report Header article left off to illustrate how to group like rows together. Notice…

SSRS: Group Totals

Applying a sum within a group’s records. As I illustrated in my Grouping article, grouping records that share an identical value for a column is a very helpful method to avoid repeating data and provide the user with a more intuitive manner to view records similar to each other. In this example, I will show…

SSRS: Graphic Query Designer

Using the graphic query designer to quickly construct sql to populate the dataset. The Graphic Query Designer provides one of the most efficient methods for creating sql necessary to populate a report’s dataset and avoids and syntax errors by writing the sql for the user. I’ll begin this example by creating a new dataset for…

SSRS: Global Collections

Applying consistency and helpful information to reports. When deploying multiple reports for user consumption, it’s helpful to users if they have helpful information when traversing the data and that data remains in a consistent location in every report. To illustrate how to accomplish this goal, I’ll begin where the Calculation – Field Formatting article ended…

SSRS: Expression – Concatenation

Constructing derived values through combining strings. Combining string values is one of the most common requirements when building reports. In this example, I will illustrate how to concatenate string values together to build a simple Contact field. I’ll begin with a simple dataset containing Supplier data. As you can see, the data contains four fields,…

SSRS: Dropdown Filters

Providing filters to report users. This article demonstrates providing dropdown choices to users to use as filters on the report. First I’ll start with two sprocs, one to populate choices for the filter, the other to populate the report based on the user’s choice in the filter. . Now I’ll create a new report, and…

SSRS: Drill-down Reports

Integrating drill-down capability so users can expand/collapse grouped records. As I illustrated in my Nested Groups article, it’s important to provide grouping of records where such groups naturally exist within a dataset. Equally important to the user will be their ability to expand/collapse those groups to conserve screen real estate when viewing large reports containing…