|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, February 04, 2013 5:55 AM
Points: 27,
Visits: 61
|
|
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.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, April 23, 2013 1:37 AM
Points: 275,
Visits: 222
|
|
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.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, April 23, 2013 1:37 AM
Points: 275,
Visits: 222
|
|
.
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.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, February 04, 2013 5:55 AM
Points: 27,
Visits: 61
|
|
| 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.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, April 25, 2013 8:06 AM
Points: 16,
Visits: 53
|
|
| 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
|
|
|
|