Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

subscription issue Expand / Collapse
Author
Message
Posted Monday, January 28, 2013 1:33 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, June 26, 2013 2:51 PM
Points: 29, Visits: 64
I have a report developed in ssrs 2005 and it runs on 2008 report server. It has 5 parameters (out of which 2 are date parameters and the other 3 are multi select parameters (A, B and C) and these three parameters are cascading parameters (depending on the value of A that we choose, B and C values differ).
I need to create a subscription saying start date is yesterday, end date is today and my user gave me some defined values for parameter A and depending on these values, B and C parameters will be determined. For start date = yesterday, I should be creating a data driven subscription, but in that case, I don't see any drop down values for the other three parameters.
If I choose a regular subscription, then I cannot achieve start date = yesterday.
Please help.
Post #1412628
Posted Wednesday, January 30, 2013 8:51 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 9:30 AM
Points: 282, Visits: 243
pjrpjr7 (1/28/2013)
I have a report developed in ssrs 2005 and it runs on 2008 report server. It has 5 parameters (out of which 2 are date parameters and the other 3 are multi select parameters (A, B and C) and these three parameters are cascading parameters (depending on the value of A that we choose, B and C values differ).
I need to create a subscription saying start date is yesterday, end date is today and my user gave me some defined values for parameter A and depending on these values, B and C parameters will be determined. For start date = yesterday, I should be creating a data driven subscription, but in that case, I don't see any drop down values for the other three parameters.
If I choose a regular subscription, then I cannot achieve start date = yesterday.
Please help.


If the Start date is always yesterday and the end date is always today could you not default both in the SQL or the report parameters?


Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
Post #1413669
Posted Wednesday, January 30, 2013 8:52 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 9:30 AM
Points: 282, Visits: 243
.

Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
Post #1413671
Posted Wednesday, January 30, 2013 10:54 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, June 26, 2013 2:51 PM
Points: 29, Visits: 64
The default date parameters are last 7 days and it should not be changed. However, I came up with another workaround which I figured out after playing around with it for a while. I created a hidden parameter and depending on its value, the date parameter default values will differ. This hidden parameter's default value will set date parameters as last 7 days and today whereas another value will set it as yesterday and today and my subscription has this another value for the hidden parameter.
Post #1413719
Posted Thursday, February 14, 2013 7:31 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, May 8, 2014 10:30 PM
Points: 32, Visits: 113
You hav to set the from date value as getdate()-1 or now-1 in RDL value itself. There is nothing to do with subscription here, Go to RDL Select the Parameter, and select NonQueried value in Parameter Properties and give the yesterday value in the textbox
Post #1420057
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse