SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to bind multi value parameters dunamically in SSRS report


How to bind multi value parameters dunamically in SSRS report

Author
Message
bhushan_juare
bhushan_juare
SSC-Enthusiastic
SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)

Group: General Forum Members
Points: 106 Visits: 390
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

Steven.Howes
Steven.Howes
SSC Eights!
SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)SSC Eights! (872 reputation)

Group: General Forum Members
Points: 872 Visits: 2341
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search