Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parameter is missing a value ssrs 2008

I have a parameter of integer datatype which is hidden. When i run the report, report gives me an error

Parameter X is missing a value

However if i make the parameter visible it works. I tried providing default value of 0 but that does not suffice my requirement as i have sub-report(Drill-dowm) depended on this parameter. Please help. Thanks!

like image 275
Adarsh Avatar asked Jun 23 '12 10:06

Adarsh


People also ask

How do I display parameter values in SSRS report?

To provide available values for a parameter from a dataset In the Report Data pane, right-click the parameter @StoreID, then click Parameter Properties. Click Available Values, and then click Get values from a query.

Can parameters accept NULL values in SSRS?

In SSRS a multi-value parameter cannot include a NULL value, so users can't filter the data for NULL values.

What is parameter in SSRS?

Parameterized reports are important because report readers want to filter and customize their report data with parameters and this option helps report readers to focus on particular data. A parameterized SSRS report uses parameters as an input value and filters the report data according to these parameters.


2 Answers

Make sure that you have not specified Available Values for the parameter. Available Values should be "None" for internal and hidden parameters.

like image 157
dmbreth Avatar answered Sep 22 '22 06:09

dmbreth


First of all,

Check that parameter's - Available Values by going to report parameters properties.

It must not be specified any values. So we should set it as None

Second work around is,

Just add a blank space at Specify values - in Default values inside report parameters properties.

This will surely work. Hope it will save your time.

like image 33
pedram Avatar answered Sep 21 '22 06:09

pedram