sql server 2005 - SSRS - Linking/Lookup Parameter Labels to return different values? -
i'm relatively new reporting stuff, i'm not sure if make sense, here goes...
there 2 parameters below (@comboll & @combomob), both parameters have same labels different values per label.
i @comobomob parameter stay hidden end user, selection of @comboll determine value used @combomob parameter.
https://www.dropbox.com/s/kcpt7rddqtx990h/screen.jpg
as both have same labels in way possible? if selects pack 1, use value 1000 @comboll value 250 @combomob, instance.
or alternatively, there less complicated way of doing i've missed?
thanks!
okay tested in 2008 r2 , 2012, not work 2005 here goes.
yes can in 2008 , sure. set first parameter. set dataset values of first parameter data second.
select thing table value = @comboll
now when set second parameter, make hidden.
set 'available values' 'get values query' choose dataset similar above. set 'default values' aslo 'get values query' well. ensure datasource parameter limited in scope single set , row result default. ensure return single row.
keep in mind when limit parameter scope dataset can choose different label , value. may serve purposes easier connecting 2 parameters if want label different value giving in code.
Comments
Post a Comment