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

Multi-Value Parameter (Integer)

$
0
0

Hi Everyone. . .

I am working on a report that uses an ODBC connection. I have a parameter, multi-select, that should pass an integer to my query (1,0, or 1 and 0).  The query looks something like this:

(rt.d_ind IN (?))...

Obviously if the user selects all values from the drop down I want it to populate this:

(rt.d_ind IN (1,0))...

However, I cannot get this to work for some reason. I set the parameter to integer and multivalue allowed.  Then in the query parameters I added it in as Parameter!...(0) et cetera.  When I run the report and select all values it only passes the first value to the query, resulting in incomplete data.

Any ideas out there that will help resolve this issue?  I have seen stuff out there about the Join function, but I think that is for strings.  I would also like to avoid overly complex functions instead of queries.

Thanks for the help!

Travis

Also  the filter trick wont necessarily work here either because I am trying to get averages and counts based on the different groupings.



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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