Sql Server Reporting Services - tips and tricks

29
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

description

session at SQLSaturday #326 (Tampa, USA)

Transcript of Sql Server Reporting Services - tips and tricks

Page 1: 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

Page 2: Sql Server Reporting Services - tips and tricks

Andrey

Korshikov

[email protected] Regional Mentor for

Central Eastern Europe

@AndreyKorshikov

ABOUT ME

Page 3: Sql Server Reporting Services - tips and tricks

ABOUT ME

Page 4: Sql Server Reporting Services - tips and tricks

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

Page 5: Sql Server Reporting Services - tips and tricks

Do you know something about SSRS?

Page 6: Sql Server Reporting Services - tips and tricks

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

Page 7: Sql Server Reporting Services - tips and tricks

Reporting Services Modes

SharePoint Mode

Native Mode

Page 8: Sql Server Reporting Services - tips and tricks

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

Page 9: Sql Server Reporting Services - tips and tricks

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

Page 10: Sql Server Reporting Services - tips and tricks

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

Page 11: Sql Server Reporting Services - tips and tricks

How it works…

Page 12: Sql Server Reporting Services - tips and tricks

Demo

Page 13: Sql Server Reporting Services - tips and tricks

Comments

Page 14: Sql Server Reporting Services - tips and tricks

ReportItems Collection

Page 15: Sql Server Reporting Services - tips and tricks

Me

Page 16: Sql Server Reporting Services - tips and tricks

Line Breaks

*Visual Basic Carriage Return Line Feed

Page 17: Sql Server Reporting Services - tips and tricks

Dynamic columns

Page 18: Sql Server Reporting Services - tips and tricks

Dynamic search

Page 19: Sql Server Reporting Services - tips and tricks

Advanced dynamic search

Page 20: Sql Server Reporting Services - tips and tricks

Creating Checkbox

image

font

Page 21: Sql Server Reporting Services - tips and tricks

Using Javascript

• Information message

• Getting data from user

• Action confirmation

• Opening new report in new window

Page 22: Sql Server Reporting Services - tips and tricks

Using custom code

Page 23: Sql Server Reporting Services - tips and tricks

Using external assemblies

Page 24: Sql Server Reporting Services - tips and tricks

Using external assemblies

C:\Windows\assembly

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

Services\ ReportServer\bin

Page 25: Sql Server Reporting Services - tips and tricks

Dynamic reports

Page 26: Sql Server Reporting Services - tips and tricks

Images in columns

Page 27: Sql Server Reporting Services - tips and tricks

Questions

[email protected]

Page 29: Sql Server Reporting Services - tips and tricks

Thank you! Спасибо!

[email protected]