Hi there ,
I'm using SSRS 2012 and I've 2 level cascading parameter (section depends on division parameter).
Division 10 has 2 sections which are 10 and 11.
Division 20 has 2 section which are 20 and 21.
Division 30 has 1 section which is 31.
Division 60 has 2 sections which are 60 and 61.
I want to set default values to min - max values of Section parameter depends on current values of division parameter.
In the picture below is the correct result.
Problem will occur when changing Division.To from 20 to 60.
I expect the Section.To must changed to max value of it(61) instead the current value(21) like picture below.
I've checked the query operation using SQL Profiler that tell me the Min - Max dataset of Section parameter NOT BEING FIRED when I change Division.To selection.
FYI.
I'm using 2 datasets separate for available,default values in each parameter.
i.e. Section.To parameter
1. available values
SELECT DISTINCT(SectionCode)
FROM Section
WHERE DivisionCode BETWEEN @DivFrom and @DivTo
2. default values
SELECT MAX(SectionCode) MaxFROM Section
WHERE DivisionCode BETWEEN @DivFrom and @DivTo
Can you give me some advice how to fix this problem ?
Thank you in advance.
SweNz
- Edited by SweNz Tuesday, April 08, 2014 7:13 AM


