Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 5.71 KB

File metadata and controls

65 lines (45 loc) · 5.71 KB
title Data-driven subscriptions in Reporting Services
description Learn how data-driven subscriptions, which provide a way to use dynamic subscription data that you retrieve from an external data source at run time.
ms.date 09/25/2024
ms.service reporting-services
ms.subservice subscriptions
ms.topic concept-article
ms.custom
updatefrequency5
helpviewer_keywords
subscriptions [Reporting Services], data-driven
data-driven subscriptions

Data-driven subscriptions in Reporting Services

A data-driven subscription provides a way to use dynamic subscription data retrieved from an external data source at run time. A data-driven subscription can also use static text and default values that you specify when you define the subscription. You can use data-driven subscriptions to:

  • Distribute a report to a fluctuating list of subscribers. For example, you can use data-driven subscriptions to distribute a report throughout a large organization where subscribers vary from one month to the next. Or, you can use other criteria that determine group membership from an existing set of users.

  • Filter the report output by using report parameter values that are retrieved at run time.

  • Vary report output formats and delivery options for each report delivery.

A data-driven subscription is composed of multiple parts. The fixed aspects of a data-driven subscription are defined when you create the subscription, and these aspects include:

  • The report for which the subscription is defined (a subscription is always associated with a single report).

  • The delivery extension used to distribute the report. You can specify report server e-mail delivery, file share delivery, or the null delivery provider used for preloading the cache. You can also specify a custom delivery extension. You can't specify multiple delivery extensions within a single subscription.

  • The subscriber data source. Specify a connection string to the data source that contains subscriber data when you define the subscription. The subscriber data source can't be specified dynamically at run time.

  • The query that you use to select subscriber data must be specified when you define the subscription. You can't change the query at run time.

Dynamic values used in a data-driven subscription are obtained when the subscription is processed. Examples of variable data that you might use in a subscription include the subscriber name, e-mail address, preferred report output format, or any value that's valid for a report parameter. To use dynamic values in a data-driven subscription, you define a mapping between the fields that are returned in the query to specific delivery options and to report parameters. Variable data is retrieved from a subscriber data source each time the subscription is processed.

Requirements for data-driven subscriptions

Data-driven subscription functionality isn't available in all editions. There are limitations on the kinds of data sources that you can use to retrieve subscription data at run time. The following list provides more information about the requirements:

Work with data-driven subscriptions

The following articles provide more information about data-driven subscriptions.

Articles Description
Create, modify, and delete data-driven subscriptions Explains how to create, modify, or delete a data-driven subscription.
Use an external data source for subscriber data (data-driven subscription) Provides information about the data sources that you can use for a data-driven subscription.
Create a data-driven subscription (SSRS tutorial) Provides step-by-step instruction for learning how to create a data-driven subscription.
Cache reports (SSRS) Describes how to use the Null Delivery Provider with a data-driven subscription to preload the cache.

Related content