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

Default value of Cascaded Parameter not refreshing even when Avilable Values and Default Values are invalidated when Parent value changes

$
0
0

I know it is by design that default values do not refresh in a cascaded parameter when the parent parameter value changes.  However, Microsoft has stated that the default values will refresh when the Available values and default values are invalidated by a change in the parent parameter.  I have a cascaded multi-select parameter which defaults to All Selected after the user has selected the value of the parent parameter.  I am using a Stored Procedure which sets the values of cascaded parameter to concatenated value of the parent value and its intended value, ensuring every time the parent value changes all values in the child parameter change as well, invalidating all of the original values. 

The problem I am encountering is that it only works properly in the Report Builder.  When run in the Report Viewer in any browser the report behaves in the following manner.  After the user's initial selection on the parent parameter, the child parameter defaults to All Selected with the correct available values.  If the user then selects a new value from the parent parameter the child parameter defaults to a blank value.  If you then select the drop down of the child parameter you will see all of the proper Available values.  Clicking out of the child drop down without selecting anything causes the parameter to refresh again and will then display the proper default value of All Selected. 

Likewise, if after the user's initial selection on the parent parameter where the child parameter defaults to All Selected with the correct available values, the user then selects a new value for the parent parameter and the child parameter will again default to the blank.  At this point if the user selects yet another value for the parent parameter the child parameter will then default to All Selected as it should.

What seems to be happening is on the first refresh of the child parameter the default is invalidated and displays as a blank, upon a second refresh of the parameter the Child shows the correct default of All Selected.  Is there a way to force the parameter to refresh twice every time the parent value changes?  Or is there another solution to get the child parameter to completely refresh?  I have the parameters set to Refresh Always.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>