简体   繁体   English

SSRS设置仅用于订阅的默认参数

[英]SSRS set default parameter for subscription only

Is it possible in SSRS to set a default parameter value for a report subscription only, but not set a default when the report is run manually? 在SSRS中是否可以仅为报告订阅设置默认参数值,而在手动运行报告时不能设置默认参数值?

I have the default dates I want to use for the subscription generated in a dataset, but I'd like to only use default dates for the subscription. 我具有要用于数据集中生成的订阅的默认日期,但是我只想对订阅使用默认日期。

Here is one idea. 这是一个主意。

  1. Select the target report and click manage. 选择目标报告,然后单击管理。
  2. Select Create Linked Report and Rename it to denote Subscription 选择“创建链接的报告”并重命名以表示“订阅”
  3. Set the desired parameters for subscriptions on the new linked report. 为新的链接报告上的订阅设置所需的参数。

    NOTE : Parameters can be set independently for linked reports. 注意:可以为链接的报告单独设置参数。

  4. Point your subscriptions to the linked report. 将您的订阅指向链接的报告。

    NOTE : If you modify the original report the changes will show up in all linked reports as well. 注意:如果您修改原始报告,则更改也会显示在所有链接的报告中。

通过使用数据驱动的订阅并在订阅内部创建查询以生成默认参数,我能够解决此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 订阅中的SSRS默认参数值 - SSRS default parameter values in subscription 需要在SSRS订阅上设置日期参数 - Need to set a date parameter on an SSRS subscription SSRS 2016:默认年份参数未传递到SSRS电子邮件订阅 - SSRS 2016: Default Year Parameter Is Not Passed to SSRS Email Subscription SSRS订阅无法识别我定义的日期参数默认值 - SSRS subscription is not recognising a date parameter default that I have defined 手动设置SSRS报表订阅参数,想设置参数为NULL - Manually Setting SSRS Report Subscription Parameters and Want to Set a Parameter to NULL 在SSRS中将参数设置回默认值 - Set parameter back to default value in SSRS 如何在SSRS中将参数的默认值设置为Null? - How to set default value of parameter to Null in SSRS? 如何设置自己的ssrs默认参数 - How to set your own ssrs default parameter 如果报表作为电子邮件订阅运行,如何仅设置报表的默认参数值 - How do I only set the default parameter values for a report if it is running as an email subscription 在SQL Server 2014中创建SSRS报表订阅时,可以将订阅参数的值设置为表达式吗? - Can the value of a subscription parameter be set to an expression when creating an SSRS report subscription in SQL Server 2014?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM