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

Multi Value Parameter with ODBC Connection

$
0
0

Hi Everyone . . .

I am stuck, and have been since Monday :/ . . .

Backgroud:

I am using Report Builder 3.0 with an ODBC connection to build reports off of our Vertica DB.  This part is going swimmingly, thanks to the help I recieved from this forum.

Now, some of the queries that I am using (or reports I guess) require parameters.  I was attempting the @Parameter and quickly realized this was not possible with the ODBC connection.  I have solved this issue by using the ? as the parameter.  Works nicely, not as clean, but serves the purpose.

Most, all of my parameters to this point have been single value parameters.  Now, however, we are dabbling in allowing our report users to select multiple Users as a parameter.  This is where I am stuck...

I have flipped the parameter checkbox to "Allow multiple values", I then recieved an error saying this: 

Cannot add multi value query parameter 'UserName' for dataset 'RankingQuery' because it is not supported by the data extension.

Here is what I have done:  I have gone to the Dataset properties for the appropriate query that the parameter is being fed into > then to the Parameters tab.  In the Parameters tab instead of selecting the @UserName parameter from the drop down I clicked the Fx buttone and inserted the UserName Parameter from there it looks like this: =Parameters!UserName.Value(0)

Now because of this last step my report runs without error, however, when I select multiple user names from the parameter drop down I only recieve data for the first person selected in that drop down.

Am I missing something?  Does anyone know how to fix this?  Please help!

Thanks everyone.

Travis


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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