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

How to bind multi value parameters dunamically in SSRS report Expand / Collapse
Author
Message
Posted Friday, April 12, 2013 5:24 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 28, 2013 2:48 AM
Points: 64, Visits: 367
Hi All,
I got stucked in SSRS report where there are five parameters for report
1) From Date
2) End Date
3) Market
4) Party
5) Segment
which has to be interlinked to each other i.e when user entered From Date, End Date there is no problem to show report output but
Actual problem starts when (I have given Market dataset parameter vlaues M000, M111, M222) and If User select Market = M000 then I want to display only those Party data set values (let say P111, P222, P333 etc) in the selection panel and When User select P111 Party he will get only those Segements which will have Party P111. Now I have tried in script as well in the design view of SSRS but I am not able to bind all above parameters dynamically and showing values in selection panel at run time.

Thanks,
Bhushan
Post #1441641
Posted Friday, April 12, 2013 1:20 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 7:00 AM
Points: 586, Visits: 2,100
If I understand what you're saying then what you need to do is make a dataset for Party and segemt.
the data set would have a query along the lines of
Select Value, Label From TableName where Party = @Party.

Then the segment dataset would have one like

Select Value, Label from tableName where Segment = Segment.

Then your parameters for party and segment could use these datasets to fill the available values for your parameters.
Post #1441877
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse