SQL Server Reporting Services (SSRS) – How to pass multiple values to a multi value parameter

The short answer is to pass a string array in the value portion of the parameter object.

First, let’s look at the code in a visual basic forms application that builds the parameter and calls the report.

Let’s say we …

SQL Server Reporting Services (SSRS) – Set CacheDataForPreview = False

Have you ever witnessed running a report in the Business Intelligence Development Studio only to see data that you know does not exist anymore in your SQL Database?

In certain circumstances, when previewing a report in BIDS, the environment bypasses …

SQL Server Reporting Services (SSRS) – Dealing with multiple date ranges with the option of choosing NULL for the start and/or end date in SSRS Reports

select * from date_range_table
where

((@startdate1 IS NULL AND @enddate1 IS NULL)
OR (start_date1 >= @startdate1 AND start_date1 <= @enddate1)
OR (start_date1 >= @startdate1 AND @enddate1 IS NULL)
OR (@startdate1 IS NULL AND start_date1 <= @enddate1))

AND

((@startdate2 IS NULL 

SQL Server Reporting Services (SSRS) – Determine if all values are selected in a multi-value parameter

=iif(countrows(“dsCarMake”) = Parameters!CarMake.Count, “DO SOMETHING”, “DO SOMETHING ELSE”)

Explanation:

I have a parameter called CarMake. I load this parameter from a dataset called dsCarMake. The parameter is set to allow multiple values.

Let’s say a total of fifty Car Make’s …

SQL Server Reporting Services (SSRS) – When to use OUTER APPLY instead of LEFT OUTER JOIN for complex SQL Statements

Scenario:

You create a report. You have one parameter called ‘CITY’ which contains all valid cities in the state of Florida. This parameter is used to report on all citizens that live in a particular city.

You have two tables.

SQL Server Reporting Services (SSRS) – How to remove the first character of a multi valued report parameter when displaying the parameter in a textbox

There are times when you want to display in a textbox on your report the value of a multi valued parameter. If blank is a valid value for your parameter, you don’t want to display the comma in your textbox …

SQL Server Reporting Services (SSRS) – Referencing a Report Item in SSRS

Use the following expression to reference a textbox in a SSRS report. Assuming your textbox name is TextBox6:=ReportItems!Textbox6.Value.That was simple, but now you want to sum on the report item textbox.The problem that you are facing is the expression in

SQL Server Reporting Services (SSRS) – Dealing with alternating colors on rows with column sorting in a list report in SSRS Reports

Let’s say you have an address database table and you define a column for row number such as this:

SELECT ROW_NUMBER() OVER(ORDER BY LName) AS 'RowNumber',*
FROM   NameAndAddressTable
ORDER BY LName, FName

If you want to alternate between LightGrey and …