?
Solved

SSRS Subscription with Parameters

Posted on 2013-01-23
1
Medium Priority
?
470 Views
Last Modified: 2013-02-09
Urgent.
I have a report in SSRS that shows data that has been updated and I need to set a parameter that gets the last update (this is being run daily) and a subscription that runs daily but if there are no updates then do not send report.

Presently, I only have an update that is timestamped last week so I cannot test for =today() because this throws an error (and I cannot change the timestamp or create a table). Pls explain how to set the parameter so that it gets the days' updates.

Also, How can I set up the subscription?  Do I copy the SSRS query to the query text box in subscription area to run the report?  

I am a bit confused on these processes - just started using SSRS.

Thanx, Bobbi
0
Comment
Question by:BobbiD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
SThaya earned 1800 total points
ID: 38814165
hi,

 Try the below below steps .

1. create a parameter and set the available values and Default values properties .
2. in default parameter set the default value expression as per your requirement.


3. go top the subscription tab.... create a new subscription.... in the bottom you can see a option with the check box for default value. select the check box and press ok .. this will take the default value as per your expression when ever its running.



if you are not clear  can you please tell me what value are you going pass for processing your report.

give one example with data
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question