[b]SQL SERVER Version:[/b] 2008 R2 I have two Report Parameters that are not cascaded in my SSRS Report.- The first parameter is a Year.- The second parameter is a drop-down with values "Month" and "Quarter" - to basically ask the user if they want the Monthly or Quarterly data.I want the second parameter to be enabled only if the user selects a value from the first parameter. Since the stored procedure invoked from the report expects value from both those parameters, I'm trying to prevent the error which would occur incase the user just selects a value for second parameter but not for the first parameter.[b][u]Question 1:[/u][/b]Is there a option to disable the 2nd report parameter until user selects a value for the 1st Report Parameter?[b][u]Question 2:[/u][/b]I tried the following approach and it works, but I'm not sure if this approach would cause any side-effects.Can someone let me know if this approach is appropriate?I have 2 available values set for the 2nd Report parameter.[quote][b]Label: Month Value: MonthLabel: Quarter Value: Quarter[/b][/quote]Instead of the value Month, I'm using the expression: [quote][b]=IIf((Not(IsNothing(Parameters!Year.Value))),"Month","")[/b][/quote]Is this appropriate?Thanks!
↧