SQL Server Reporting Services (SSRS) – Creating Full Width Group Headers in SSRS

Creating Full Width Group Headers in SSRS

Introduction

Dealing with group headers in banded reporting tools like Crystal Reports feels easy and natural. The group header section is clearly visible

SQL Server Reporting Services (SSRS) – How to Check If a Parameter Contains a Certain Value

Here is how you can determine in parameter one’s expression if a certain value was selected in parameter two’s multiple select parameter, and depending on the condition, set the value of parameter one.

Let’s say one of the values in …

SQL Server Reporting Services (SSRS) – Alternate row colors with no group, 1 group, or multiple groups

In order to do alternate row coloring for an SSRS report that has grouping, you need an expression for your BackgroundColor property different than the typical:

=iif(rownumber (nothing) mod 2 = 0, "LightGrey", "White")

You can use the following expression …

SQL Reports – Can’t access SQL Reports (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)


ERROR

[UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
 0x80070005 (E_ACCESSDENIED))]

 [FileLoadException: Could not load file or assembly
 'System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral,
 PublicKeyToken°3f5f7f11d50a3a' or one of its dependencies. Access is
 denied.]
 System.Web.Configuration.RegexWorker..cctor() +0

SOLUTION

Go to the Reporting Services Configuration Manager and …

SQL Server Reporting Services (SSRS) – How to display information only on the last page within the page footer

Since SSRS does not have a report footer, it can be challening to figure out how to display information one time within the page footer on the last page. Here is one workaround that works well.

At the top of …

SQL Server Reporting Services (SSRS)– Call a DLL assembly

1) Create an external Assembly DLL (Class Library). You can use Framework 3.5.

a) Name it ‘DataForSSRSReport’.
b) Rename the default class to ‘clsDataForSSRS’. Make sure the class is Public.
c) Use ‘Private Shared’, ‘Public Shared Property’, and ‘Public Shared …

SQL Server Reporting Services (SSRS) – How to union or join tables from different databases on the same server

This example applies to SSRS 2008

SELECT a.datafield1 As Col1, a.datafield2 As Col2, b.datafield6 As Col3
LEFT OUTER JOIN databaseB.dbo.Table4 b on b.datafield6 = a.datafield1
FROM databaseA.dbo.Table5 a 

UNION 

SELECT a.datafield7 As Col1, a.datafield8 As Col2, b.datafield12 As Col3
LEFT