Sql Server Reporting Services - tips and tricks

Post on 15-Jun-2015

306 views 2 download

description

session at SQLSaturday #326 (Tampa, USA)

Transcript of Sql Server Reporting Services - tips and tricks

Dozen tips and tricks you should

know when working with SSRS

Andrey Korshikov

MVP, MCT, MCSE, MCITP, MCPD, MCSD .NET, MCDBA

Krasnodar SQL&BI UserGroup (PASS Chapter)

Global Russian Virtual Chapter

PASS Regional Mentor for Central Eastern Europe

Andrey

Korshikov

korshikov@sqlpass.orgPASS Regional Mentor for

Central Eastern Europe

@AndreyKorshikov

ABOUT ME

ABOUT ME

Dozen tips and tricks

1. Comments

2. ReportItems Collection3. Me

4. Line Breaks

5. Dynamic columns

6. Dynamic search

7. Advanced dynamic search

8. Creating Checkbox9. Using Javascript

10.Using custom code and external assemblies11.Dynamic reports

12.Images in columns

Do you know something about SSRS?

Reporting Scenarios

1. Scheduled Delivery of Standard Reports

2. On-Demand Access to Standard Reports

3. Embedded Reports and Dashboards

4. Request to IT for Custom Reports

5. Self-Service Reporting

1

2 4

5

3

Reporting Services Modes

SharePoint Mode

Native Mode

Users and Tools

Project-Based Development

Sophisticated Design Environment

Rich Design Capabilities

BI Developer IT Pro Power User Information Worker

Report Designer Report Builder Power View

ClickOnce Installation

Reusable Report Elements

Flexible Layout

Interactive data Visualization in the Browser

Drag and Drop from Existing Data Model

Report Rendering Formats

Microsoft Excel 2003 or 2007-2010

Microsoft Word 2003 or 2007-2010

Comma-Separated Value (CSV)

XML

Web Archive

Image

Acrobat (PDF)

Atom Feed

What Is a Report?

Report Definition Language (RDL)

Body

Data Source(s)

Dataset(s)<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition"

xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">

<Body>

<ReportItems>

</ReportItems>

</Body>

<DataSources>

<DataSource Name="MyDataSource">

</DataSource>

</DataSources>

<DataSets>

<DataSet Name="MyDataset">

</DataSet>

</DataSets>

</Report>

Embedded data source

definition or a reference to a

shared data source

Embedded dataset

definition or a reference to

a shared dataset

How it works…

Demo

Comments

ReportItems Collection

Me

Line Breaks

*Visual Basic Carriage Return Line Feed

Dynamic columns

Dynamic search

Advanced dynamic search

Creating Checkbox

image

font

Using Javascript

• Information message

• Getting data from user

• Action confirmation

• Opening new report in new window

Using custom code

Using external assemblies

Using external assemblies

C:\Windows\assembly

C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting

Services\ ReportServer\bin

Dynamic reports

Images in columns

Questions

korshikov@sqlpass.org

Thank you! Спасибо!

korshikov@sqlpass.org