Date post: | 20-Dec-2015 |
Category: |
Documents |
View: | 216 times |
Download: | 2 times |
SQL Server 2008 R2 and the Reporting Services
Christophe CodoureyConsultant BI
Trivadis SARue Marterey 5 CH-1005 Lausanne
SQL Server Catalog
Report Server
Programatic Interface (Web Service)
WebUI
Delivery
Distribution(E-mail, File share,
Userdefined)
Security Services(NT, Passport,
Custom)
Security
Data Sources(SQL, SharePoint,
ODBC, Oracle, Custom)Report Processing
Browser Custom App
Format(HTML, Excel, PDF,
Word, …)
Data Retrieval Rendering
SQL Server 2008/R2 Reporting Services
SharePoint Atom Feed
Excel
SQL Server Catalog
Report Server
Programatic Interface (Web Service)
WebUI
Delivery
Distribution(E-mail, File share,
Userdefined)
Security Services(NT, Passport,
Custom)
Security
Data Sources(SQL, SharePoint,
ODBC, Oracle, Custom)Report Processing
Browser Custom App
(HTML, Excel, PDF, Word, …)
Data Retrieval Rendering
Agenda
SharePoint Atom Feed
Excel
Data extension supports SharePoint 2007/2010 sites• Visual Query Designer
SharePoint Data Source
<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ListName>SuperLeagueTeams</ListName> <ViewFields> <FieldRef Name="ShortName" /> <FieldRef Name="Title" /> <FieldRef Name="Logo" /> </ViewFields></RSSharePointList>
Available in SQL Server 2008 R2 Release Candidate
SQL Azure and SQL Parallel Data Warehouse
T/SQL
SQL Azure
SQL Server Catalog
Report Server
Programatic Interface (Web Service)
WebUI
Delivery
Distribution(E-mail, File share,
Userdefined)
Security Services(NT, Passport,
Custom)
Security
Data Sources(SQL, SharePoint,
ODBC, Oracle, Custom)Report Processing
Browser Custom App
(HTML, Excel, PDF, Word, …)
Data Retrieval Rendering
Agenda
SharePoint Atom Feed
Excel
New text orientation option provides more flexibility to the report layout
New Writing Mode: Rotate270
More control over page breaks• Tablix, Rectangle and Group
Page Breaks and Naming of Excel Worksheets
=Globals!PageName & " Page: " & Globals!PageNumber & " of " &Globals!TotalPages
="Overall Page: " & Globals!OverallPageNumber & " of " & Globals!OverallTotalPages
Use expressions to determine what renderer is being usedDynamically disable/enable page breaks
Dynamic page breaks
Disable page breaks if exporting to Excel.
Control layout and write expressions that consider renderer format
Renderer-based expressions
Dynamically disable drill through expressions for non-interactive renderers and enable them for interactive ones
Nesting of aggregate functions is now supported• e.g. Average Month Sales
• =Avg(Sum(Quantity, "Quarter"), "Year")
Aggregates of Aggregates
AVG
SUM AVG
Datasets can be shared, stored, processed and cached externally from the report. Cache refresh plans work on cached reports or shared dataset query results
On first useVia a schedule
Shared (Cached) Data Sets
Values from one DataSet can be usedto get Value(s) fromanother DataSet• Lookup (1:1)
• MultiLookupGet multiple values,-> Param 1 is an array
• LookupSet (1:n)• E.g. Get all phone nr from
a selected customer
Lookup & Co
=Lookup(Fields!TeamA.Value ,Fields!Title.Value ,Fields!ShortName.Value ,"SuperLeagueTeam")
SQL Server Catalog
Report Server
Programatic Interface (Web Service)
WebUI
Delivery
Distribution(E-mail, File share,
Userdefined)
Security Services(NT, Passport,
Custom)
Security
Data Sources(SQL, SharePoint,
ODBC, Oracle, Custom)Report Processing
Browser Custom App
(HTML, Excel, PDF, Word, …)
Data Retrieval Rendering
Agenda
SharePoint Atom Feed
Excel
SSRS Data VisualizationSQL 2005
Chart
SQL 2005 SQL 2008
Chart Chart
Multiple areas
Multiple axes
Calculated series
Gauge
Bullet graph
SQL 2005 SQL 2008 SQL 2008 R2
Chart Chart Chart
Multiple areas Multiple areas
Multiple axes Multiple axes
Calculated series Calculated series
Gauge Gauge
Bullet graph Bullet graph
MapNEW!
SQL spatialNEW!
Bing™ supportNEW!
SparklineNEW!
Data BarNEW!
IndicatorNEW!
Sparklines
Sparklines“Data intense, word-sized graphics” – Invented by Edward TufteAutomatic axis alignment. All charts will have the same number of data points, regardless of source data.Convertable into full charts
Data BarsShow a single value in a cell.Min and Max are automatically determined, but are configurable.
Data Bars
Sparklines and Data Bars
Sparklines
= iif(Fields!HomeGame.Value = 1, "Blue", "LightBlue")
= Fields!TeamB.Value & " " & Fields!Result.Value
IconsShow status against a value, a goal or a trend
Own Icon Sets can becreated by Report Author
Color, icon and size can be changed based on data
Automatic support for comparing each member of a group against siblings
Indicators
Indicators
Stepped or Block grouping
PivotCustom
SubtotalsNon-pivotcolumns
Nested controls
Multi-Pivot
CustomHeaders
Authoring ReportsMany types of layouts
The product team currently plans on publishing links (Books On-Line/MSDN) to a number of map file providers when the product releases. However, we do not have a list that we can release at this time.
“Map” Data
Europe shape Files: http://www.cdc.gov/epiinfo/europe.htm
How to deal with Shape Files
SZ.SHP
http://www.sharpgis.net/page/shape2sql.aspx
SQL Server Catalog
Report Server
Programatic Interface (Web Service)
WebUI
Delivery
Distribution(E-mail, File share,
Userdefined)
Security Services(NT, Passport,
Custom)
Security
Data Sources(SQL, SharePoint,
ODBC, Oracle, Custom)Report Processing
Browser Custom App
(HTML, Excel, PDF, Word, …)
Data Retrieval Rendering
Agenda
SharePoint Atom Feed
Excel
Grab-and-go reportingPublish report items to the catalog for re-useUsers can mix & mash different report items for their desired views
ATOM Data Feed (do it yourself)string uri ="http://.../ReportServer?/Dir/MatchResult&rs:Command=Render &rs:Format=ATOM&rc:DataFeed=xAx0x1";
var client = new WebClient();client.Credentials = CredentialCache.DefaultCredentials;
Stream atomStream = client.OpenRead(uri);XDocument document = XDocument.Load(atomStream); var query = from feed in document.Descendants(XName.Get("properties", "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"))select new { TeamA = feed.Element(XName.Get("TeamA", "http://schemas.microsoft.com/ado/2007/08/dataservices")).Value, TeamB = feed.Element(XName.Get("TeamB", "http://schemas.microsoft.com/ado/2007/08/dataservices")).Value, };
ResultList.ItemsSource = query.ToList();
Feed-ID
ATOM Data Feed (do it yourself)<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> <title type="text"></title> <id>uuid:0957b3c6-2d59-46b7-bcd8-ed0cfd5a48b0;id=2351</id> <updated>2010-03-29T06:44:25Z</updated> <entry> <id>uuid:0957b3c6-2d59-46b7-bcd8-ed0cfd5a48b0;id=2352</id> <title type="text"></title> <updated>2010-03-29T06:44:25Z</updated> <author /> <content type="application/xml"> <m:properties> <d:Round m:type="Edm.Int32">1</d:Round> <d:TeamA>FC Aarau </d:TeamA> <d:TeamB>Grasshopper Club Zürich </d:TeamB> <d:Result>01:00</d:Result> <d:Points m:type="Edm.Int32">3</d:Points> </m:properties> </content> </entry> <entry> <id>uuid:0957b3c6-2d59-46b7-bcd8-ed0cfd5a48b0;id=2353</id> ...
Additional data sources, detail improvements for report authoring and data distribution
SharePoint Lists, SQL AzurePage breaks, text rotation, info of render format, aggregates of aggregatesShared datasetsAtom data feed
New features in the area of better data visualizationData BarsSparklinesIndicators
High flexibility for displaying Spatial DataShape FilesBing Maps
It’s not a revolution but the next evolution levelRelease 3.0 ;-)
Conclusion
Thank you for your Attention!For more Information please contact
Christophe CodoureyConsultant BI
Trivadis SARue Marterey 5 CH-1005 Lausanne