I have a SSRS report parameter that is incorrectly defaulting to NULL (All), when I have the 'No default value' option selected. The parameter uses a stored procedure to load available values, and there are several values in my parameter drop-down-box.
When I view my report in preview mode or on the SSRS poral, my parameter is automatically set to All (NULL). What would make this happen?
The XML code shows no default values either:
<ReportParameters>
<ReportParameter Name="[My Parameter Name]">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<Prompt>My Parameter</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>MyDataSet</DataSetName>
<ValueField>MyParameterID</ValueField>
<LabelField>MyParameterName</LabelField>
</DataSetReference>
</ValidValues>
</ReportParameter>