How to use multi value paramter in SSRS Report for SharePoint 2010?

I wanted to create a report in which I have created a Parameter called "User Name" , Which shows all users from SharePoint list. Now I marked this parameter as Multi value selector.

But I am not able to use values of this parameter in SSRS report because this report uses CAML Query not SQL query. When I select 1 or more users and click on 'View Report' button. It gives me an error :

Cannot add multi value query parameter 'Users' for dataset 'TSADataSet' because it is not supported by the data extension. (rsErrorAddingMultiValueQueryParameter)

So I used this parameter in filter option of Data Set. Now it is working fine.
I just followed these steps :
  • Create multi-value parameter as you want.
  • Right click to “your dataset ” then click on “Dataset Properties ”.
  • In Dataset property form, Click on “Filters” and add expression (Field) then select Operator (Select “In” operator in case of multivalue parameter) then select value (Click on formula and double on   your parameter and remove “(0)” from expression window. Expression should be like “=Parameters! ReportParameter1.Value”. Then click OK button and again click ok button.
  • Now run your report and select parameter(s) and view report this will work properly.

Comments

Anonymous said…
Thanks for the tip! Now the question comes how to get this to work with multiple parameters too!

Popular Posts

SharePoint Interview Questions and Answers

Download Infopath Form Templates

How to get current logged user information using JavaScript ?

Steps to set Form based authentication (FBA) for SharePoint 2010

SharePoint Interview Questions and Answers II

Get List Items - JavaScript

Change Language for current user with JSOM in SharePoint Online

Cross Site List Rollup Web Part for SharePoint 2010

Hide Recently Modified Items

SharePoint 2010 CSS Chart