Solved

SSRS Subscription with Parameters

Posted on 2013-01-23
1
444 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
1 Comment
 
LVL 11

Accepted Solution

by:
SThaya earned 450 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

822 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