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

Set First Returned Value as Default for Multivalued Paramter

$
0
0

I have a parameter that allows multiple values, and is populated by a call to a stored procedure.  In my report, I want the dropdown to have the first returned value selected by default.  In the Default Values section of the Parameter Properties, I selected the "Specify values" option and provided an expression similar to:

=First(Fields!MyParamField.Value, "SP_ParamField")

When I preview my report, I get an error saying that fields cannot be used in report parameter expressions.

Setting the first value returned in the dataset as the default for a parameter seems like a natural thing to want to do.  What is the preferred method?


- Mark Z.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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