SSRS Subscription with Parameters

Posted on 2013-01-23
Medium Priority
Last Modified: 2013-02-09
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
Question by:BobbiD
1 Comment
LVL 11

Accepted Solution

SThaya earned 1800 total points
ID: 38814165

 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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article I will describe the Copy Database Wizard 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.
In this article, we will see two different methods to recover deleted data. The first option will be using the transaction log to identify the operation and restore it in a specified section of the transaction log. The second option is simpler and c…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

600 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