Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Parameter change does not refresh default values of dependent parameters

$
0
0
Hi,

I have a problem with my dependent multi-value parameters in my SSRS 2008 SP1 reports. The default values for the parameters are correctly loaded when the report is opened, but when a primary parameter value is changed the default values for the dependent parameters are not set. Let me describe this problem further more with an example:

Parameter 1: Region
Parameter 2: Property

Both parameters are filled each by a query to the database where the query for Property has the selected values of Region in its where clause.

Region: select Region_ID, Region_Key from Region order by SortOrder
Property: select Property_ID, Property_Key from Property where Region_ID in (@Region) order by Property_Key

For both parameters I have set the Default Values to the same dataset as selected for Available Values.

1. Now, when the report is opened, all parameters are filled with the correct values and set to the correct default values (all selected).
2. When I change the Region parameter to only one of the 4 available values the Property parameter is refreshed and filled with the correct values (for that one region) and set to the correct default values (all selected).
3. The problem occurs when I change the Region Parameter back to "(Select All)". The multi-value parameter drop-down-list Property is filled with the correct values for all 4 regions but the default values are not selected. Only those properties are (or better: remain) selected, which were selected before when only one region was selected.

Can you please help me with this problem? Setting the Property parameter to "Always refresh" under the "Advanced" properties does not solve the problem. It occurs both in the Business Intelligence Studio and then browsing the report through the web published on SSRS.

Regards,
Alex

Viewing all articles
Browse latest Browse all 10045

Trending Articles