Microsoft SQL Server Microsoft SQL Server Reporting Services Reporting Services Eric Nelson Eric Nelson Application Architect Application Architect Microsoft Microsoft http:// http:// blogs.msdn.com/ericnel blogs.msdn.com/ericnel (SQL Dev (SQL Dev and UK ISV) and UK ISV)
44
Embed
Microsoft SQL Server Reporting Services Eric Nelson Application Architect Microsoft //blogs.msdn.com/ericnel (SQL Dev.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Microsoft SQL Server Microsoft SQL Server Reporting ServicesReporting Services
Eric NelsonEric NelsonApplication ArchitectApplication ArchitectMicrosoftMicrosofthttp://http://blogs.msdn.com/ericnelblogs.msdn.com/ericnel (SQL Dev and UK (SQL Dev and UK ISV)ISV)
What is SQL Server What is SQL Server Reporting Services?Reporting Services?
Reporting platform for both Reporting platform for both traditional and interactive reports traditional and interactive reports
Scalable and manageable server Scalable and manageable server infrastructureinfrastructure
Integrated with SharePoint, Office Integrated with SharePoint, Office applications, browser and other applications, browser and other familiar tools familiar tools
Single platform and tools for all types Single platform and tools for all types of structured data (relational, of structured data (relational, hierarchical, multidimensional)hierarchical, multidimensional)
Reporting Services is an open and extensible platform supporting the authoring, management and delivery of rich, interactive reports to the entire enterprise.
Reporting LifecycleReporting Lifecycle
Report AuthoringReport AuthoringReports are defined in Report Definition Language Reports are defined in Report Definition Language (RDL), a (RDL), a documented XML schemadocumented XML schema
Use Microsoft or 3rd party tools that support RDL Use Microsoft or 3rd party tools that support RDL
Create Create single reportssingle reports from from multiple data multiple data sourcessources(SQL, OLE DB, ODBC, Oracle, and .NET data (SQL, OLE DB, ODBC, Oracle, and .NET data providers)providers)
More info on the RDL spec: www.microsoft.com/sql/reporting
Report ManagementReport Management Report definitions, folders, and resources are published
and managed in a reporting web service Managed reports can be executed either on-demand or
via schedule and can be cached for consistency and performance
Scalable & Extensible server architecture
Report DeliveryReport Delivery Traditional (paper) and interactive (web) reports On-demand (“pull”) or event-based (“push”) delivery Choose from multiple formats (HTML, Excel, PDF, XML) Deliver reports to many devices (e-mail, file share, etc.)
Release RoadmapRelease Roadmap
SQL Server 2000 Reporting Services SP1SQL Server 2000 Reporting Services SP1Bug Fixes, Scalability, Excel 2000 supportBug Fixes, Scalability, Excel 2000 support
SQL Server 2005 Beta 2SQL Server 2005 Beta 2Parity with SQL2K SP1 versionParity with SQL2K SP1 version
Cross SQL Server (AS, Management) integrationCross SQL Server (AS, Management) integration
SQL Server 2000 Reporting Services SP2SQL Server 2000 Reporting Services SP2Web Parts, Client PrintingWeb Parts, Client Printing
SQL Server 2005 April, June, Sept CTPSQL Server 2005 April, June, Sept CTPNew Features, 64 Bit support, Report BuilderNew Features, 64 Bit support, Report Builder
SQL Server 2005 RTM – very soon…SQL Server 2005 RTM – very soon…
What is new in SQL Server What is new in SQL Server 2005 Reporting Services2005 Reporting Services
Extend features based on feedback from SQL2K versionExtend features based on feedback from SQL2K version
Incremental enhancements, performance and scalabilityIncremental enhancements, performance and scalability
Tighter IntegrationTighter IntegrationStrengthen SQL Server end-to-end BI scenariosStrengthen SQL Server end-to-end BI scenarios
Tighter integration with Office and SharePointTighter integration with Office and SharePoint
Developer FocusDeveloper FocusIntegration for the Visual Studio developerIntegration for the Visual Studio developer
Freely redistributable Windows and ASP.NET controlsFreely redistributable Windows and ASP.NET controls
Empowering End UsersEmpowering End UsersReport Builder enables end-user reporting scenariosReport Builder enables end-user reporting scenarios
Increased interactivityIncreased interactivity
What’s new in 2005What’s new in 2005
Printing from IE Printing from IE (SP2)(SP2)Expression builder Expression builder enhancementsenhancementsMulti-valued Multi-valued parametersparametersParameter Date Parameter Date Picker Picker Interactive SortInteractive SortFloating headersFloating headersMDX Query builderMDX Query builderCustom Report Custom Report ItemItemManagement Management Studio IntegrationStudio Integration
Configuration ToolConfiguration ToolWeb Parts (SP2)Web Parts (SP2)VS IntegrationVS IntegrationVS ControlsVS Controls64 bit Support64 bit SupportMulti-instance Multi-instance SupportSupportReport BuilderReport Builder
Rich Client PrintingRich Client Printing
Direct routing of Direct routing of print jobs without print jobs without needing to exportneeding to export
Small ActiveX Small ActiveX control downloaded control downloaded via browservia browser
Report developer Report developer can specify any can specify any parameter is multi-parameter is multi-valuedvalued
Report processing Report processing constructs SQL or constructs SQL or MDX syntaxMDX syntax
Multiple default Multiple default values also values also supportedsupported
Value sets can Value sets can passed via URL or passed via URL or SOAP APISOAP API
Date Picker ParametersDate Picker Parameters
Calendar Calendar control for control for choosing choosing datesdates
Localized Localized and and GlobalizedGlobalized
Windows Windows and Web and Web supportsupport
Interactive SortInteractive Sort
Report author can Report author can add ability for end add ability for end user to resort data user to resort data within data regionswithin data regions
Resorting happens Resorting happens without re-querying without re-querying the databasethe database
Support for multi Support for multi column and for column and for nested / grouped nested / grouped sortsort
Floating HeadersFloating Headers
New type of interactivity similar to freeze New type of interactivity similar to freeze panes in Excelpanes in Excel
Works Horizontally and VerticallyWorks Horizontally and Vertically
Table headerTable header
Matrix column and row headersMatrix column and row headers
Table columnsTable columnsMust be continuous columns anchored on the right or Must be continuous columns anchored on the right or leftleft
MDX Query BuilderMDX Query Builder
MDX and data MDX and data mining query mining query buildersbuilders
MDX parameter MDX parameter supportsupport
Member Member extended extended propertiesproperties
Support for Support for server server aggregatesaggregates
Custom Report ItemCustom Report Item
Enables ISVs and Developers to add custom visualizations to a Enables ISVs and Developers to add custom visualizations to a reportreportPrimary scenario is enhanced chartingPrimary scenario is enhanced charting
Supports all data region featuresSupports all data region featuresFilterFilterGroupingGroupingGroup FiltersGroup FiltersEtc…Etc…
The Report Designer supports The Report Designer supports a conversion APIa conversion APICurrently limited to imagesCurrently limited to images
Future plans for all report item typesFuture plans for all report item types
Management Studio IntegrationManagement Studio Integration
Single point of Single point of management for management for all SQL Server all SQL Server componentscomponents
Superset of Superset of Report Manager Report Manager functionsfunctions
Script Script generation from generation from property dialogsproperty dialogs
Server Configuration ToolServer Configuration Tool
Graphical Graphical configuration configuration tool for Report tool for Report ServerServer
Database Database SettingsSettings
Virtual Virtual DirectoriesDirectories
E-MailE-Mail
Key ManagementKey Management
SharePoint Web PartsSharePoint Web Parts
Report Explorer Report Explorer provides provides browsing of browsing of server server namespace and namespace and subscriptionsubscriptionReport Viewer Report Viewer used to view used to view reportsreportsParts can be Parts can be connected or connected or used standaloneused standaloneWorks in both Works in both SPS and WSSSPS and WSS
Visual Studio IntegrationVisual Studio Integration
Report design Report design completely completely integrated with integrated with Visual Studio Visual Studio language language projectsprojects
Natural Natural extension of VS extension of VS data data functionalityfunctionality
Included in VS Included in VS Pro and abovePro and above
Report ControlsReport Controls
Controls make it Controls make it easy to embed easy to embed reporting reporting functionality into functionality into applicationsapplications
Windows Forms Windows Forms (rich client) and (rich client) and Web Forms Web Forms (ASP.NET) control(ASP.NET) control
Local processing Local processing mode (no server) mode (no server) or connected or connected server modeserver mode
Items Not in 2005 – sorry Items Not in 2005 – sorry
A new ad-hoc report design tool for A new ad-hoc report design tool for Reporting Services Reporting Services
Targeted at business users who want to Targeted at business users who want to find and share answers to interesting find and share answers to interesting questionsquestions
Driven from a business model of the data Driven from a business model of the data so users do not need to understand the so users do not need to understand the underlying data structuresunderlying data structures
Fully integrated with Reporting Services Fully integrated with Reporting Services and delivered in SQL Server 2005and delivered in SQL Server 2005
Why Report Builder?Why Report Builder?
Report Report ConsumersConsumers
Business Business UsersUsers
Report Viewer
Report Builder
Power UsersPower UsersDevelopersDevelopers Report Designer
What Report Builder is not…What Report Builder is not…
A replacement for Pivot TablesA replacement for Pivot TablesCan be used for some data slice and dice but Can be used for some data slice and dice but not specifically designed for this capabilitynot specifically designed for this capability
An analytical clientAn analytical clientNo support for advanced financial calculations, No support for advanced financial calculations, what ifs, writebacks, financial or business what ifs, writebacks, financial or business modeling, etc.modeling, etc.
A developer-focused design tool A developer-focused design tool No nested data regions, freeform layout, No nested data regions, freeform layout, multiple queries, conditional formatting, or multiple queries, conditional formatting, or custom codecustom code
An HTML-based design toolAn HTML-based design toolReport Builder is a WinForms (.NET Framework) Report Builder is a WinForms (.NET Framework) applicationapplication
SQL Server CatalogSQL Server CatalogSQL Server CatalogSQL Server Catalog
Web Service / URL interfaceWeb Service / URL interfaceWeb Service / URL interfaceWeb Service / URL interface
Report ServerReport Server
Report BuilderReport BuilderClientClient
Report BuilderReport BuilderClientClient
ModelModelDesignerDesigner
ModelModelDesignerDesigner
Data Sources(SQL Server,
Analysis Services)
Drill through report generationDrill through report generation
Query generationQuery generation
ReportReport ManagerManager
ReportReport ManagerManager
ReportReportDesignerDesigner
ReportReportDesignerDesigner
SQL MgmtSQL MgmtStudioStudio
SQL MgmtSQL MgmtStudioStudio
Report Builder ClientReport Builder Client
Built on top of familiar Microsoft Office paradigms Built on top of familiar Microsoft Office paradigms (Excel, PowerPoint)(Excel, PowerPoint)
Reports built via report templates (table, matrix, Reports built via report templates (table, matrix, chart, combinations)chart, combinations)
““Click once” application Click once” application deployed from the Report deployed from the Report ServerServer
Users download and Users download and launch the client from launch the client from Report Manager (new or Report Manager (new or existing report)existing report)
Finished reports can be Finished reports can be saved on the serversaved on the server
Report BuilderReport Builder
Report Builder ReportsReport Builder Reports
Report Builder reports are just like any Report Builder reports are just like any other Reporting Services report…other Reporting Services report…
Report Builder reports are defined in RDLReport Builder reports are defined in RDL
Managed by the same APIsManaged by the same APIs
Secured by the same APIs Secured by the same APIs
Except: Report Builder reports contain Except: Report Builder reports contain semantic model metadatasemantic model metadata
When an Report Builder report is requested by When an Report Builder report is requested by report processing, the metadata is used to report processing, the metadata is used to generate a query in the source languagegenerate a query in the source language
A new component on the Report Server handles A new component on the Report Server handles the query generationthe query generation
Infinite DrillInfinite Drill
Automatic generation of new drillthrough Automatic generation of new drillthrough reports allows users to explore data along reports allows users to explore data along model navigation pathsmodel navigation paths
Queries for navigation reports are Queries for navigation reports are generated on the fly, passing the context generated on the fly, passing the context of the user’s current “location”of the user’s current “location”
Users can keep drilling as long as there is Users can keep drilling as long as there is a path to follow from the current itema path to follow from the current item
Custom reports can be specified for model Custom reports can be specified for model itemsitems
Generated navigation reports are not Generated navigation reports are not saved unless the user explicitly saves saved unless the user explicitly saves them them
Report Builder Model DesignerReport Builder Model Designer
Hosted in Visual Hosted in Visual Studio (new Studio (new project type)project type)
For editing For editing models used by models used by Report BuilderReport Builder
Auto-generation Auto-generation of models from of models from data sourcesdata sources
Model DesignModel Design
Model Designer is interface for Model Designer is interface for designing/editing a modeldesigning/editing a model
New project type in BI Development StudioNew project type in BI Development Studio
Define fields and rolesDefine fields and roles
Define calculated fieldsDefine calculated fields
Organize modelOrganize model
Models can be auto-generated in Model Models can be auto-generated in Model Designer or on the Report ServerDesigner or on the Report Server
Generates entities, fields and roles based on Generates entities, fields and roles based on source metadatasource metadata
Auto-generation against SQL Server and Auto-generation against SQL Server and Analysis Services databasesAnalysis Services databases
Model DesignerModel Designer
Report ModelsReport Models
Models define entities, fields and roles available Models define entities, fields and roles available for Report Builderfor Report Builder
Models reference a data source (either SQL Server Models reference a data source (either SQL Server or Analysis Services)or Analysis Services)
Models are stored in the Report Server as a new Models are stored in the Report Server as a new item typeitem type
Includes new management APIsIncludes new management APIs
Published models can be securedPublished models can be securedItems within models (entities, fields, roles) can also be Items within models (entities, fields, roles) can also be secured secured
Users only see items they have permissions to seeUsers only see items they have permissions to see
Model security and management through SQL Model security and management through SQL Server Management StudioServer Management Studio
Report Builder Model DesignerReport Builder Model Designer
Report Builder vs. Report Report Builder vs. Report DesignerDesignerReport BuilderReport Builder Report DesignerReport DesignerTargeted at business Targeted at business usersusers
Targeted at IT pros and Targeted at IT pros and developers developers
Ad hoc reportsAd hoc reports Managed reportsManaged reportsAuto-generates queries Auto-generates queries using semantic layer on using semantic layer on top of the sourcetop of the source
Native queries (SQL, OLE Native queries (SQL, OLE DB, XML/A, ODBC, DB, XML/A, ODBC, Oracle)Oracle)
Reports built on Reports built on templatestemplates
Can work with reports Can work with reports built in Report Builderbuilt in Report Builder
Wrap-upWrap-up
Reporting Services in SQL Server 2005Reporting Services in SQL Server 2005We have listened to feedback – smoothed off We have listened to feedback – smoothed off the rough edgesthe rough edges
Report Builder is…Report Builder is…a new ad hoc report design tool for SQL Server a new ad hoc report design tool for SQL Server Reporting ServicesReporting Services
targeted at business users who want to find targeted at business users who want to find and share answers to interesting questionsand share answers to interesting questions
driven from a business model of the data so driven from a business model of the data so users do not need to understand the underlying users do not need to understand the underlying data structuresdata structures
is fully integrated with SQL Server Reporting is fully integrated with SQL Server Reporting Services and delivered in SQL Server 2005Services and delivered in SQL Server 2005
ResourcesResourcesProduct siteProduct site
http://www.microsoft.com/sql/reporting/http://www.microsoft.com/sql/reporting/ How to licenseHow to license
Articles:Articles:Intro to Report Builder Intro to Report Builder http://www.developer.com/db/article.php/3520116http://www.developer.com/db/article.php/3520116
Webcasts:Webcasts:Report Builder on MSDN TV Report Builder on MSDN TV http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodeshttp://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20050531SQLServerCC/manifest.xml/en/20050531SQLServerCC/manifest.xml Report Builder linked from Report Builder linked from http://blogs.msdn.com/ericnel/archive/2004/11/11/255724.aspxhttp://blogs.msdn.com/ericnel/archive/2004/11/11/255724.aspx Reporting Services Reporting Services http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032263305&culture=en-us032263305&culture=en-us
BooksBooksHitchhikers Guide to SQL Server 2000 Reporting Services – Hitchhikers Guide to SQL Server 2000 Reporting Services – excellent!excellent!
Pubs and NorthWind Pubs and NorthWind http://go.microsoft.com/fwlink/?LinkId=30196http://go.microsoft.com/fwlink/?LinkId=30196