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

The report parameter 'parametername' has a 'DefaultValue' or a 'ValidValue' that depends on the report parameter 'parametername'

$
0
0

I am working on an SSRS report (SS2008R2). I designed a report with one parameter. I gave it the datatype of integer.  I set the available values to get values from a query and set it to a dataset which I wrote for that specific purpose, which returns"ParameterNameID" as a value field and "Parameter" as a label field.  I have no Default values. On Advanced Refresh Data when parameter changes is set for always refresh.

When I attempt to display the result in the Preview table of BIDS, I get the error

The report parameter 'parametername' has a 'DefaultValue' or a 'ValidValue' that depends on the report parameter 'parametername'. Forward dependencies are not valid.

This is baffling as I am not trying to do cascading parameters or anything like this. The parameter is being called by the SQL query, rather than using it to filter the returned dataset, but I've done this before in many instances and never had this issue. I am not referring to the parameter anywhere else.  I view many posts concerning this error message and most of them seem to refer to someone having multiple parameters using and calling them in the wrong order or trying to use the one parameter in evaluating another parameter.  As stated I only have one.

Does anyone see a possible cause for this issue.

I should mention I made this report by copying another report then making changes to the dataset, to the returned fields, and to the parameters.  I did several builds before trying to preview the report so anything like left over unviewed compiled code should not be an issue.

Update as of just now a few minutes after this post was created:  I deleted the parameter.   I then opened the query window of the main dataset. I ran the report query there.  It returned the list to be used to populate the report just fine.  When I clicked the OK button, the Report Designer added the specified parameter.  When I tried to preview the report at this point, the report previewed just fine.  Then I opened the report and added available values as stated above.  Then the report went back to displaying the same error.  The dataset populating the available values makes no mention of the parameter.


Edward R. Joell MCSD MCDBA




Viewing all articles
Browse latest Browse all 10045

Trending Articles



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