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

Multiple Available Values in Parameter

$
0
0

I have a query like Select * from Table where column in (@Parameter)

@Parameter has two choices. 

Choice 1 value is 01 or 05. Choice 2 value is 04 or 06.

If Choice 1 is selected for the parameter, I want the query to result into Select * from Table where column in (01, 05).  This should show results for rows where Column is either 01 or 05.  "Column" is a text data type.

How do I use multiple available values in a parameter?  I found this post http://social.msdn.microsoft.com/Forums/en-US/a484ceb0-78f8-472e-ae96-d48f85ea25b7/multiple-values-in-available-values-non-query-in-report-parameter-in-ssrs?forum=sqlreportingservices but that is not working for me.  I tried to put 01 and 05 (no double quotes) on different lines in the parameter available values expression box but I still get no results.  My parameter is a data type of text and is not multi value.

If I change my available value to 01 I get correct results

I'm really stuck.  I hope someone can help me.


Milissa Hartwell


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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