Udostępnij za pośrednictwem


Tutorial: Advanced Features Using Parameters

New: 17 July 2006

This tutorial is designed to help you explore how parameters can be used to control content and appearance in a basic tabular report.

What You Will Learn

In this tutorial, you will start Report Designer and use the Report Wizard to create a report that uses the AdventureWorks sample database as a data source. In each lesson, you will learn about different types of parameters, different ways you can use parameters, and how to pass parameters from a main report to a subreport or a drillthrough report.

This tutorial is divided into eight lessons:

  • Lesson 7: Creating a Drillthrough Report
    In this lesson, you will add the AdventureWorks sample report "Territory Sales Drilldown" to the project, add a parameter to it, and rename the report "Parameterized Territory Sales Drilldown". In the next lesson, you will drill through to this report from Resellers Worldwide using a parameter.
  • Lesson 8: Adding a Linked Report with Customized Parameter Values
    In this lesson, you will create a linked report based on the Resellers Worldwide report and name it "Resellers Pacific". Using Report Manager, you will change parameter properties for this report so that it only shows values for the Pacific sales territory group.

Requirements

To use this tutorial, your system must have the following installed:

  • SQL Server 2005 Reporting Services with the AdventureWorks sample reports. The samples are not installed automatically during setup, but you can install them at any time. For information about installing the samples, see Installing Samples.

    Note

    To complete this tutorial, you must be running Reporting Services in native mode. If you are running Reporting Services in SharePoint integrated mode, the steps that use report server URLs will not work. For more information about Reporting Services modes, see Deployment Modes for Reporting Services. For more information about deploying projects, see Deploying Reports, Models, and Shared Data Sources to a SharePoint Site.

  • SQL Server 2005 Business Intelligence Development Studio.

    Note

    Business Intelligence (BI) Development Studio is not supported on Itanium-based computers. However, support for BI Development Studio is available for x64-based computers. If the SQL Server sample databases have been deployed on an Itanium-based computer, use BI Development Studio on either an x86-based or x64-based computer to modify and run the samples.

  • SQL Server 2005 with the AdventureWorks sample database.

In addition, you must have the following permissions:

  • To deploy and publish a report, you need to be assigned to the Content Manager or Publisher role.
  • To retrieve data from the AdventureWorks database.

This tutorial requires that you have completed the previous tutorial, Tutorial: Adding Parameters to a Basic Tabular Report.

Estimated time to complete this tutorial: 3 hours

See Also

Other Resources

Working with Parameters in Reporting Services
Using Expressions in Reporting Services
How to: Add, Edit, or Delete a Report Parameter (Report Designer)
How to: Add a Subreport and Parameters (Report Designer)
How to: Associate a Query Parameter with a Report Parameter (Report Designer)
Dataset (Parameters Tab, Report Designer)
Report Parameters (Report Designer)
Subreport Properties (Parameters Tab, Report Designer)
Action (Report Designer)
Textbox Properties (Navigation Tab, Report Designer)

Help and Information

Getting SQL Server 2005 Assistance