Beruflich Dokumente
Kultur Dokumente
Session Agenda
*Note the new Excel 2010 and PowerPivot is not covered in this session.
2009 by Jen Underwood. All rights reserved.
Reporting Solution
Architecture Options
Caching
Snapshots
Subscriptions
Reporting Services
Report
management
Report authoring
Visually design
reports & layout
via the
Report Designer
Manage report
categorization,
data sources,
security,
subscriptions via
the Report
Manager
Model design
Design semantic
models that map
to real business
entities via the
Model Designer
SharePoint Options
Report Center BI Portal and/or Report Explorer and Report Viewer web parts
Create dashboards with varied data sources and common filtering of web parts
Integration requires SQL Server and Reporting Services Add-in for SharePoint
Two modes Full Integrated Mode and Partial
Full Integrated Mode offers shared storage, security and centralized access to reports;
report server still performs processing, rendering, and delivery
Partial Integrated allows Reporting Services Server to stay in Native Mode
Report, Report Model and Data Source content types in Document Library
Report Viewer web part can be connected to SharePoint filters
Report Builder accessible via right click on a report
Version Control, check in/check out
Manage subscriptions
Alerts
SharePoint Options
Local Mode
Requires creation of parameter controls and passing of parameter values
Only exports to Excel and PDF
Challenging when working with Analysis Services cubes
Side notes
Excel Web Access Web Part enables display, edit, computation and interaction
with a live workbook
Also programmatic access and custom Excel Calculation Services using
user-defined functions (UDFs)
Analysis Services 2008 uses MSOLAP.4 it does not ship with Excel Services
Install the client access components of
SQL Server 2008 on each SharePoint server
Connect to cubes using an trusted data providers
in Excel Services
Publish Excel Workbook to Excel Services
Excel
Data connection
library
Conditional
formatting
Spot trends and
exceptions in your
data to better inform
your decisions
Rich interactivity
Excel Services
Enhanced Sorting
and Filtering
Sort by cell color or
filter data to work
with only the data
you need
11
Excel
Excel 2007
Excel Add-In
Pivot Table Services
Office Web Components
Online/Offline cubes
Allows multiple Fact tables
Named sets, filters and visual totals
KPIs, Conditional formatting and server
defined formatting
Drill throughs and custom actions
Cube formulas and convert to formulas
Charts
Data mining add-ins
More columns and rows
16,384 columns
1,048,576++ rows limited by memory
Gemini
PowerPivot
Warning!
Excel pivot tables are inflexible but
can be extended using VBA and
convert to formulas features
To see MDX use a Profiler trace or
CodePlex PivotTableExtender add-in
Excel applies different MDX syntax
and Pivot Table versions, some older
features do not work in 2007 unless
specified as an older version
Be prepared for challenging issues
and research known issues
Do a proof-of-concept BEFORE
committing to requirements
Measures,
Dimensions, KPIs
Pivot Chart
Filters
Report Design
Conditional Formatting
Cube Formulas
7 new cube formula functions
Escape the pivot table restrictions
Can use anywhere in workbook
outside of the pivot table
Nice intellisense prompting
Offline OLAP stores OLAP pivot table view data locally in cube (.cub) files
Select Offline OLAP and step through the Create Offline Cube Data File wizard
Pivot table defined filter settings are pre-applied to wizard
Only fields used in the pivot table will be shown in the field list while offline
Skipped dimension levels, KPIs and distinct count measures not supported
Tips
View MDX
Private calculated members
Settings options
Searching calculations
Tips
Check all of the Excel 2007 PivotTable Option Settings
Show calculated members not under Measures set Show Calculated Members to True
PivotTable Options>Display Tab>Show Calculated Members from OLAP Server
Parent-Child Dimensions using Role Security
change Show Properties in ToolTips to False
PivotTable Options>Display Tab> Show Properties in ToolTips
Windows Firewall
Need to open 2 tcp ports 2382 and 2383
or it may block connections
Tips
Click Users
Icon
Define Cube
Role Security
Select Role
to Test
SSRS 2008R2
Maps, Indicators, Report Builder 3.0,
Shared Data Sets, Report Parts Gallery
SSRS 2008
Tablix, Report Builder 2.0
and Data Visualization
Warning!
More flexible than Excel - still clunky
Toggling between MDX query design
views might clear custom MDX
Measures do need to be on columns
but there are workarounds
Research known issues and consider
hybrid workarounds
Do a proof-of-concept BEFORE
committing to requirements
Test report scalability
Typically BIDS for developers and Report Builder for business users
BIDS only report design features
Custom report controls, .NET assemblies
Source code control integration
Improved visualizations
Source: http://blogs.msdn.com/seanboon/archive/2008/10/10/how-to-build-sparkline-reports-in-sql-server-reporting-services.aspx
2009 by Jen Underwood. All rights reserved.
SOURCE: Applied Microsoft SQL Server Reporting Services2008 by Teo Lachev and MSDN
SOURCE: MSDN
Calculated Members
Warning!
Toggling between MDX query design
views might clear custom MDX. Save
custom MDX outside of the designer.
Parameters
Groups
Query filter
Sorting
Parameter
Charts
New gauges, funnels and other analytic charts for improved data visualization
Scale breaks improve visual display of wide value ranges
Trendline charts can be created using calculated series formulas
Multiple axes and chart areas
Drill actions can be used for interactive navigation
Report sections using bookmarks
Another report
URL
Subreports
Master report passes subreport
parameter via the subreport properties
Parameter names on master and
subreport should match
Linked Reports
Another report
URL
Bookmark
Server Aggregates
KPIs
Displayed in MDX Query Designer below Measures
Three types of values: KPI Value, Goal and Status
Tips
Parameter expression in
UniqueName format
Tips
Default Values also need to be formatted in the unique member format
Expression formula ="[Date].[Calendar Date].[Year].&["+CSTR(Year(Today))+"]
Reference other data set queries using HEAD and TAIL in MDX
<<TAIL|HEAD>> (FILTER([Date].[Date].[Date].members,
Not IsEmpty ([Measures].[STP Volume])), 1)
Map Default
Expression
Formulas
Tips
Recursive parent group property for displaying Parent-Child hierarchies with the
Analysis Services provider
Row Group
Properties
Tips
Use OLE DB provider when you need Measures on Rows or use Teos trick to
bypass SSRS validation and edit MDX query in the report definition xml
Single Sign On Security when Analysis Services hosted on a different server
Kerberos used to delegate user identity from Reporting Services to Analysis Services
Trusted Account approach with EffectiveUsername connection string setting
Custom security application development
For reports with custom, parameterized MDX, first hard code parameter values,
then lay out the report and finally go back to create real parameters in MDX
Consider a hybrid approach of mixing OLTP data sets and OLAP data sets to work
around issues that may be impossible with an OLAP only approach
Use MDX query filters for returning a subset of data for report parameters
Evaluate third-party MDX design tools if you will be building a lot of OLAP reports
SOURCE: Applied Microsoft SQL Server 2008 Reporting Services, Teo Lachev
2009 by Jen Underwood. All rights reserved.
Resources
Resources
http://sqlserver2008jumpstart.microsofttraining.com
http://www.ssas2008-info.com
Applied Microsoft SQL Server Reporting Services2008 by Teo Lachev
http://www.prologika.com and Teos blogs
Excel 2007 Advanced Report Development by Timothy Zapawa
Excel 2007 PivotTables and PivotCharts by Paul McFedries
Professional Microsoft SQL Server 2008 Reporting by Turley, Silva, Smith, Withee
Allan Folting, Microsoft Excel team program manager, blogs
http://davefackler.blogspot.com and Daves webcast videos
http://cwebbbi.spaces.live.com and Chris Webbs blogs
http://www.sqljunkies.com/WebLog/mosha/archive/2006/11/05/non_empty_behavior.aspx
http://www.codeplex.com/bidshelper/Release/ProjectReleases.aspx?ReleaseId=16707
http:// www.jumpstarttv.com
http://msdn.microsoft.com/
http://www.databasejournal.com articles by William Pearson
http://technet.microsoft.com/en-us/library/dd433177.aspx
http://blogs.msdn.com/sqlrsteamblog
2009 by Jen Underwood. All rights reserved.