57
SQL Server 2005 Analysis SQL Server 2005 Analysis Services & Reporting Services & Reporting Services for the developer Services for the developer Eric Nelson Eric Nelson Application Architect Application Architect http://blogs.msdn.com/ericnel http://blogs.msdn.com/ericnel UK ISV and SQL UK ISV and SQL Server 2005 Server 2005

SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Embed Size (px)

DESCRIPTION

What is Business Intelligence all about anyway?

Citation preview

Page 1: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SQL Server 2005 Analysis Services & SQL Server 2005 Analysis Services & Reporting Services for the developer Reporting Services for the developer

Eric NelsonEric NelsonApplication ArchitectApplication Architect

http://blogs.msdn.com/ericnelhttp://blogs.msdn.com/ericnel UK ISV and SQL Server 2005 UK ISV and SQL Server 2005

Page 2: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

AgendaAgenda

Assumes no BI knowledge or exposure to SQL Assumes no BI knowledge or exposure to SQL 2000 Analysis Services 2000 Analysis Services

But don’t panic if you already know BI wellBut don’t panic if you already know BI well

Short Overview of BIShort Overview of BI

A lot on Analysis ServicesA lot on Analysis ServicesBut not covering data miningBut not covering data mining

A little on what is new in Reporting ServicesA little on what is new in Reporting Services

Page 3: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

What is Business Intelligence all about What is Business Intelligence all about anyway?anyway?

Page 4: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Who cares – I must have it Who cares – I must have it Growing market and a huge market - $5b in 2005 Growing market and a huge market - $5b in 2005

Check out http://www.olapreport.com/market.htm Check out http://www.olapreport.com/market.htm

2 years back very few ISVs I engaged were talking BI2 years back very few ISVs I engaged were talking BI

Now over 50% are talking about adding BI to their application – and Now over 50% are talking about adding BI to their application – and many of these are already doing it…many of these are already doing it…

Page 5: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

1/2: Basic Multidimensional Modelling1/2: Basic Multidimensional Modelling

Basic elements are measures, dimensions, and schemaBasic elements are measures, dimensions, and schemaMeasures:Measures:

The performance indicators that you want to evaluate. Rule of The performance indicators that you want to evaluate. Rule of thumb: can you aggregate it?thumb: can you aggregate it?E.g. volume, sales, headcount and costE.g. volume, sales, headcount and cost

Dimensions:Dimensions:Query/report “by” somethingQuery/report “by” something

E.g. by month, by sales region, by departmentE.g. by month, by sales region, by department

Can be “hierarchies” e.g. year, month, week, dayCan be “hierarchies” e.g. year, month, week, dayValues within levels are “members” e.g. 2004, 2005Values within levels are “members” e.g. 2004, 2005Dimensions have attributes. Similar to columns on a table. Dimensions have attributes. Similar to columns on a table. E.g. Customer may have Name, Age, Gender, CityE.g. Customer may have Name, Age, Gender, City

Page 6: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

2/2: Basic Multidimensional Modelling2/2: Basic Multidimensional Modelling

Schema:Schema:Measures and Dimensions can be modelled as a Measures and Dimensions can be modelled as a “star schema”“star schema”

Fact table – column per measure and per dimension Fact table – column per measure and per dimension

Page 7: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SQL Server 2005 BI OverviewSQL Server 2005 BI Overview

Page 8: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SQL Server 2005 Business SQL Server 2005 Business IntelligenceIntelligence

Analysis ServicesAnalysis Services

IntegrationIntegrationServicesServices

SQL ServerSQL Server

Reporting ServicesReporting Services Managem

ent ToolsM

anagement Tools

Managem

ent StudioM

anagement Studio

Dev

elop

men

t Too

lsD

evel

opm

ent T

ools

BI D

evel

opm

ent S

tudi

oB

I Dev

elop

men

t Stu

dio

Page 9: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

1. Integration Services1. Integration ServicesCompleteComplete RewriteRewrite!!

We learnt a lot from DTS We learnt a lot from DTS

Enterprise ETL platformEnterprise ETL platformHigh performanceHigh performanceHigh scaleHigh scaleTrustworthy and reliable Trustworthy and reliable

Best in class usabilityBest in class usabilityRich development environmentRich development environmentSource controlSource controlVisual debugging of control flow Visual debugging of control flow and and datadataGreat range of transforms out-of-the-boxGreat range of transforms out-of-the-box

Highly extensibleHighly extensibleCustom tasksCustom tasksCustom enumerationsCustom enumerationsCustom transformationsCustom transformationsCustom data sourcesCustom data sources

Page 10: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

2. Analysis Services2. Analysis ServicesMajor improvements over 2000Major improvements over 2000Introduces the Unified Dimensional Introduces the Unified Dimensional ModelModel

Best of relational reporting and Best of relational reporting and OLAP AnalysisOLAP Analysis

Pro-active cachingPro-active cachingBringing the best of MOLAP to Bringing the best of MOLAP to ROLAPROLAP

Advanced Business IntelligenceAdvanced Business IntelligenceKPIs, Data Mining, MDX scripts, KPIs, Data Mining, MDX scripts, translations, currency, stored translations, currency, stored procedures…procedures…

Web services for thin client Web services for thin client footprintfootprint

Native XML/A with great support Native XML/A with great support in the industryin the industry

Great MDX SupportGreat MDX Support

Page 11: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Introduced with SQL Server Introduced with SQL Server 20002000

Open, extensible enterprise Open, extensible enterprise reporting solutionreporting solutionReport authoring, management, Report authoring, management, deliverydeliveryOffice System integrationOffice System integrationVS.NET hosted Report DesignerVS.NET hosted Report Designer

SQL Server 2005 enhancementsSQL Server 2005 enhancementsIntegration with AS, IS and Integration with AS, IS and management toolsmanagement toolsMore easily “embeddable” More easily “embeddable” Improved report interactivityImproved report interactivityAdditional Report Designer for Additional Report Designer for end usersend users

3. Reporting Services3. Reporting Services

Page 12: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

A “typical” path to BIA “typical” path to BI

Page 13: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Adding ReportingAdding Reporting

Application

ApplicationData

SQLServer

ReportingServices

Reports

Well understood modelWell understood model

Simple with good tool supportSimple with good tool support

But…But…Reports are “set in stone”Reports are “set in stone”

Reports can cripple OLTP workReports can cripple OLTP work

Reports can take a long time to completeReports can take a long time to complete

Reports need to painfully navigate 3NFReports need to painfully navigate 3NF

Data may be “lost” over timeData may be “lost” over time

Page 14: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Reporting against the operational store Reporting against the operational store has its problems…has its problems…

In high performance, multi-user scenariosIn high performance, multi-user scenariosThe schema is optimized for insert, update and delete, The schema is optimized for insert, update and delete, not for reportingnot for reporting

You should keep reporting queries separate from OLTP You should keep reporting queries separate from OLTP ‘queries’ for performance reasons‘queries’ for performance reasons

Application

ApplicationData

‘OLTP’

Reporting

ApplicationData

‘Reporting’?‘ETL’IS

Page 15: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

But… some reports will take a But… some reports will take a very very longlong time to run or be time to run or be very hardvery hard to to code with SQL and still “set in stone”code with SQL and still “set in stone”

Cubes provide multidimensional Cubes provide multidimensional analysisanalysis

Allows dynamic investigation – Allows dynamic investigation – “slicing and dicing”“slicing and dicing”Handles multiple dimensions Handles multiple dimensions gracefullygracefully

Cubes capture complex business Cubes capture complex business analyticsanalytics

KPIs – key performance KPIs – key performance indicatorsindicators

Cubes allow MDX queriesCubes allow MDX queriesMDX is a query language MDX is a query language specifically for working with specifically for working with cubescubes

Cubes make queries/reports quickCubes make queries/reports quickPre-aggregatePre-aggregate

Application

ApplicationData

‘OLTP’

ReportingExcel

3rd Party

IS(Optional)

AnalysisServices

DW(Optional)

Page 16: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Pre-AggregationPre-AggregationConsider a simple scenario:Consider a simple scenario:

““I want the average annual sales for each of our regions by I want the average annual sales for each of our regions by looking at annual sales over the last 10 years”looking at annual sales over the last 10 years”That’s one value for each regionThat’s one value for each region10 regions. 10 offices per region. Average 100 orders per day per 10 regions. 10 offices per region. Average 100 orders per day per office. Each order is for on average 10 items.office. Each order is for on average 10 items.

So that is 10 valuesSo that is 10 values

The data is held in an OLTP system currentlyThe data is held in an OLTP system currentlyThe value of a sale is held in order line itemsThe value of a sale is held in order line itemsTo associate a line item to a region need to link via order To associate a line item to a region need to link via order header to the salesperson to office to regionheader to the salesperson to office to regionOrder header includes the dateOrder header includes the dateHow many tables?How many tables?How many rows to aggregate over?How many rows to aggregate over?

Page 17: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Pre-AggregationPre-AggregationTables? Tables? 55How many rows to aggregate over? How many rows to aggregate over? 300 million rows!300 million rows!

100 offices x 100 orders x 10 items x 300 days x10 years 100 offices x 100 orders x 10 items x 300 days x10 years Plus complex joining through header etcPlus complex joining through header etc

And we want an answer of just 10 numbers (one per region)…And we want an answer of just 10 numbers (one per region)…

How improve in OLTP?How improve in OLTP?Denomarlise?Denomarlise?Pre-aggregate? But at what level?Pre-aggregate? But at what level?

Into order header? 30 million rowsInto order header? 30 million rowsAdd a new annual sales table with a row per year and a column per Add a new annual sales table with a row per year and a column per region? 10 rows region? 10 rows But what if they then want same answer by office? 300 million rows But what if they then want same answer by office? 300 million rows

What about with Analysis Services?What about with Analysis Services?It just does a great job for you It just does a great job for you

Page 18: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Analysis ServicesAnalysis Services

Page 19: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Introducing the Unified Dimensional Introducing the Unified Dimensional Model (UDM)Model (UDM)

Contains the schema, security, calculations, caching…Contains the schema, security, calculations, caching…

It is the simple view that end users will be comfortable withIt is the simple view that end users will be comfortable with

Combines the best of traditional OLAP …Combines the best of traditional OLAP …PerformancePerformance

Rich calculationsRich calculations

End-user modelEnd-user model

With the best of traditional Relational based reportingWith the best of traditional Relational based reportingReal time & Detail level dataReal time & Detail level data

Complex schemaComplex schema

Simplified managementSimplified management

The UDM is an important architectural changeThe UDM is an important architectural change

Page 20: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

DWDW

DatamartDatamart

DatamartDatamart

MOLAPMOLAP

MOLAPMOLAP

Enterprise BI – A Messy RealityEnterprise BI – A Messy Reality

Data ModelData Model

Reporting Reporting Tool (1)Tool (1)

Reporting Reporting Tool (2)Tool (2)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (3)Tool (3)

Duplicate Duplicate ModelsModels

OLAPOLAPversusversusReportingReporting

Duplicate Duplicate DataData

Page 21: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

DWDW

DatamartDatamart

DatamartDatamart

Data ModelData Model

BI ApplicationsBI Applications

MOLAPMOLAP

MOLAPMOLAP

Reporting Reporting Tool (1)Tool (1)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (2)Tool (2)UDMUDM

Enterprise BI – With A UDMEnterprise BI – With A UDM

Page 22: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

DWDW

DatamartDatamart

DatamartDatamart

Data ModelData Model

BI ApplicationsBI Applications

MOLAPMOLAP

MOLAPMOLAP

Reporting Reporting Tool (1)Tool (1)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (2)Tool (2)UDMUDM

A single dimensional model for all OLAP analysis and A single dimensional model for all OLAP analysis and Relational reporting needsRelational reporting needs

Enterprise BI – With A UDMEnterprise BI – With A UDM

Page 23: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

XML/

A o

r OD

BO

XML/

A o

r OD

BO

DWDW

DatamartDatamart

DatamartDatamart

BI ApplicationsBI Applications

MOLAPMOLAP

MOLAPMOLAP

Reporting Reporting Tool (1)Tool (1)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (2)Tool (2)UDMUDM

Optimized SQL to all major Optimized SQL to all major remote database remote database management systemsmanagement systems (RDBMS) platformsRDBMS) platforms

Most scaleable OLAP storeMost scaleable OLAP store

AnalysisAnalysisServicesServices

OLE DB and XML/A APIsOLE DB and XML/A APIs UDM automatically becomes Web UDM automatically becomes Web

ServiceService API supported by all major BI vendorsAPI supported by all major BI vendors

Analysis ServicesAnalysis ServicesScaleable, high performance UDM ServerScaleable, high performance UDM Server

Page 24: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

XML/

A o

r OD

BO

XML/

A o

r OD

BO

DWDW

DatamartDatamart

DatamartDatamart

BI ApplicationsBI Applications

MOLAPMOLAP

MOLAPMOLAP

Reporting Reporting Tool (1)Tool (1)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (2)Tool (2)UDMUDM

“ “Proactive Caching” – Automatic MOLAP cache creation and managementProactive Caching” – Automatic MOLAP cache creation and management MOLAP becomes transparent – no need to manage an OLAP store any moreMOLAP becomes transparent – no need to manage an OLAP store any more Relational reporting enjoys MOLAP like performanceRelational reporting enjoys MOLAP like performance

AnalysisAnalysisServicesServices

CacheCacheNotificationsNotifications

Analysis ServicesAnalysis ServicesTransparent MOLAP CachingTransparent MOLAP Caching

Page 25: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

XML/

A o

r OD

BO

XML/

A o

r OD

BO

DWDW

DatamartDatamart

DatamartDatamart

BI ApplicationsBI Applications

Reporting Reporting Tool (1)Tool (1)

ToolToolData SourceData Source

OLAP OLAP Browser (2)Browser (2)

OLAP OLAP Browser (1)Browser (1)

Reporting Reporting Tool (2)Tool (2)UDMUDM

UDMs provide “subject area centric” view of the DWUDMs provide “subject area centric” view of the DW “ “Perspectives” feature allow user/group specific view of the same dataPerspectives” feature allow user/group specific view of the same data High performance ensured by the Proactive Cache High performance ensured by the Proactive Cache

AnalysisAnalysisServicesServices

CacheCache

Analysis ServicesAnalysis ServicesData Marts are VirtualizedData Marts are Virtualized

Page 26: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

BI Development Studio to create our first UDMBI Development Studio to create our first UDMUse ETL to extract from Operational Data StoreUse ETL to extract from Operational Data StoreCreate a DSV for a virtual star schemaCreate a DSV for a virtual star schemaCreate a CubeCreate a CubeQuery using BI Development StudioQuery using BI Development StudioQuery using Reporting ServicesQuery using Reporting ServicesQuery using ExcelQuery using Excel

DemoDemo

Page 27: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SIDEBAR 1/2: How different is it?SIDEBAR 1/2: How different is it?

How many clicks would it take How many clicks would it take to build the same to build the same Foodmart2003 Cube in Analysis Foodmart2003 Cube in Analysis Services 2000 and 2005?Services 2000 and 2005?

Page 28: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SIDEBAR 2/2: Very Different SIDEBAR 2/2: Very Different

Creating the Sales and Warehouse Creating the Sales and Warehouse cubes in Foodmartcubes in Foodmart

User ActionsUser Actions SQL 2000SQL 2000 SQL Server SQL Server 20052005

# of wizards launched# of wizards launched 115 =115 =112 dim. wizards, 112 dim. wizards,

3 cube wizards3 cube wizards

1 1

cube wizardcube wizard

# of objects created# of objects created 115115 77

# of mouse clicks# of mouse clicks 13211321 77

Page 29: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

And finally - options to query the UDMAnd finally - options to query the UDMCustom applicationsCustom applications

Fire MDX at the UDM using XML/AFire MDX at the UDM using XML/AOr “Send queries at your cube via SOAP from any client” Or “Send queries at your cube via SOAP from any client”

Fire MDX at the UDM using ADOMD.NETFire MDX at the UDM using ADOMD.NETOthers…Others…

Microsoft ClientsMicrosoft ClientsBI Development Studio BI Development Studio Reporting Services can generate MDXReporting Services can generate MDXOffice Web Components http://www.microsoft.com/downloads/details.aspx?Office Web Components http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en Excel Pivot Tables http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/Excel Pivot Tables http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/html/odc_XLOWCOlap.asp html/odc_XLOWCOlap.asp Excel Add In for BI* http://www.microsoft.com/office/solutions/accelerators/exceladdin/Excel Add In for BI* http://www.microsoft.com/office/solutions/accelerators/exceladdin/default.mspx default.mspx

33rdrd Party Clients Party ClientsE.g. Proclarity http://www.proclarity.com/yellowstone/E.g. Proclarity http://www.proclarity.com/yellowstone/

Page 30: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Reporting ServicesReporting Services

Page 31: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Themes for 2005Themes for 2005Core Product EnhancementsCore Product Enhancements

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 FocusIncreased integration for the Visual Studio developerIncreased integration 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

Page 32: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Core Product EnhancementsCore Product Enhancements

Multi Value ParametersMulti Value Parameters Date PickerDate Picker

Page 33: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Core Product EnhancementsCore Product Enhancements

Small ActiveX control for Small ActiveX control for Print PreviewPrint Preview

Floating HeadersFloating HeadersSimilar to Excel SplittersSimilar to Excel Splitters

On Table and matrixOn Table and matrix

Interactive Sort without re-Interactive Sort without re-queryquery

Page 34: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Tighter Integration with SharepointTighter Integration with Sharepoint

Report Explorer Report Explorer provides browsing provides browsing of serverof server

Report Viewer Report Viewer used to view used to view reportsreports

Parts can be Parts can be connected or used connected or used standalonestandalone

Works in both Works in both SPS and WSSSPS and WSS

Page 35: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Tighter Integration with Analysis Tighter Integration with Analysis ServicesServices

MDX and data MDX and data mining query mining query buildersbuilders

Page 36: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Tighter Integration with Management Tighter Integration with Management StudioStudio

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

Page 37: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Developer Focus on ProductivityDeveloper Focus on Productivity

Enhanced Enhanced Expression EditorExpression Editor

Custom Report Custom Report ItemsItems

Create controlsCreate controls

Page 38: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Developer Focus on EmbeddingDeveloper Focus on Embedding

Controls make it Controls make it easy to embed easy to embed reporting reporting functionality into functionality into applicationsapplications

Windows Forms (rich Windows Forms (rich client) and Web client) and Web Forms (ASP.NET) Forms (ASP.NET) controlcontrol

Local processing Local processing mode (no server) or mode (no server) or connected server connected server modemode

Page 39: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Empowering End Users with a new Empowering End Users with a new Report DesignerReport Designer

Report Builder - A new ad-hoc report design tool Report Builder - A new ad-hoc report design tool for Reporting Services for Reporting Services

Targeted at Business UsersTargeted at Business Users

Developers/IT define a model to hide complexityDevelopers/IT define a model to hide complexity

Complements the Visual Studio Report DesignerComplements the Visual Studio Report Designer

Page 40: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Report Builder ClientReport Builder Client

BasedBased on familiar on familiar Microsoft OfficeMicrosoft Office UI UIReports built via Reports built via report templates report templates (table, matrix, chart,(table, matrix, chart, etc.etc.))ClickClickOOnce application nce application deployed from the deployed from the Report ServerReport ServerCCreatereate new ornew or modify modify existing reportsexisting reportsFinished reports can Finished reports can be saved on the be saved on the serverserver

Page 41: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Report Builder Model DesignerReport Builder Model Designer

Hosted in Visual Hosted in Visual Studio (new Studio (new project type)project type)

For editing models For editing models used by Report used by Report BuilderBuilder

Auto-generation of Auto-generation of models from models from relational and relational and analytical analytical data data sourcessources

Page 42: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

SummarySummary

Adding BI to your application adds valueAdding BI to your application adds valueHelp your users make better decisions, fasterHelp your users make better decisions, faster

Adding BI to your application is cost effectiveAdding BI to your application is cost effectivePowerful BI components in SQL ServerPowerful BI components in SQL Server

Full ETL CapabilitiesFull ETL CapabilitiesIntegration ServicesIntegration ServicesIncluding Oracle to DB2 Including Oracle to DB2

Powerful OLAPPowerful OLAPAnalysis ServicesAnalysis ServicesDirect to relational or against a DW/DMDirect to relational or against a DW/DM

Powerful ReportingPowerful ReportingAgainst any RDBMSAgainst any RDBMSTwo great designersTwo great designers

Page 43: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

ResourcesResourcesWhitepapers/AriticlesWhitepapers/Ariticles

White Paper: “Introduction to the Unified Dimensional Model (UDM)” by Paul Saunders, July 2004White Paper: “Introduction to the Unified Dimensional Model (UDM)” by Paul Saunders, July 2004 http://msdn.microsoft.com/sql/2005/2005articles/default.aspx?pull=/library/en-us/dnsql90/html/introtoudm.asp http://msdn.microsoft.com/sql/2005/2005articles/default.aspx?pull=/library/en-us/dnsql90/html/introtoudm.asp

Introduction to OLAP in SQL Server 2005Introduction to OLAP in SQL Server 2005 http://www.devx.com/dbzone/Article/21410http://www.devx.com/dbzone/Article/21410 Comparison of AS2000 and AS2005Comparison of AS2000 and AS2005 http://www.devx.com/dbzone/Article/21539http://www.devx.com/dbzone/Article/21539 Querying KPIs from ASP.NET http://www.mosha.com/msolap/articles/kpiquerying.htm Querying KPIs from ASP.NET http://www.mosha.com/msolap/articles/kpiquerying.htm Migrating from 2000 to 2005 http://www.microsoft.com/technet/prodtechnol/sql/2005/mmsqls2.mspx Migrating from 2000 to 2005 http://www.microsoft.com/technet/prodtechnol/sql/2005/mmsqls2.mspx

Webcasts:Webcasts:Report Builder linked from http://blogs.msdn.com/ericnel/archive/2004/11/11/255724.aspx Report Builder linked from http://blogs.msdn.com/ericnel/archive/2004/11/11/255724.aspx Analysis Services http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032263432&culture=en-us Analysis Services http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032263432&culture=en-us Reporting Services http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032263305&culture=en-us Reporting Services http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032263305&culture=en-us

NewsgroupsNewsgroupsMicrosoft.private.sqlserver_adomdMicrosoft.private.sqlserver_adomdMicrosoft.public.data.xmlanalysisMicrosoft.public.data.xmlanalysisMicrosoft.public.sqlserver.dtsMicrosoft.public.sqlserver.dtsMicrosoft.public.sqlserver.olapMicrosoft.public.sqlserver.olap

BlogsBlogsDevelopment lead for Analysis Services http://www.mosha.com/msolap/ Development lead for Analysis Services http://www.mosha.com/msolap/ Reed Jacobson on Analysis Services http://sqljunkies.com/weblog/hitachiconsulting/ Reed Jacobson on Analysis Services http://sqljunkies.com/weblog/hitachiconsulting/ Donald Farmer PM for Integration Services http://sqljunkies.com/weblog/donald%20farmer/ Donald Farmer PM for Integration Services http://sqljunkies.com/weblog/donald%20farmer/

Data MiningData Mining

http://www.sqlserverdatamining.comhttp://www.sqlserverdatamining.com BooksBooks

No AS2005 books as yet and AS2000 books are “irrelevant” No AS2005 books as yet and AS2000 books are “irrelevant” Hitchhikers Guide to SQL Server 2000 Reporting Services – excellent!Hitchhikers Guide to SQL Server 2000 Reporting Services – excellent!

Page 44: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.

Page 45: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.

Page 46: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

AppendixAppendix

Some useful bits and bobsSome useful bits and bobs

Page 47: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Some key elements of UDM…Some key elements of UDM…(by no means all of them!)(by no means all of them!)

Page 48: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Components of a UDMComponents of a UDM

Security

Basic Dimensional Model• Cubes and Dimensions• Storage/caching policies

Data Source ViewCustomerID (PK)NameAge

OrderOrder# (PK)CustomerIDDueDate

CalculationsScope(Customer.Country.USA, *); Sales = 2;End Scope;

End-user Model• Translations• Actions• KPIs …

Page 49: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

CustomerIDName

Multiple Data SourcesMultiple Data Sources

DSV

DSV can contain tables drawn from multiple DSV can contain tables drawn from multiple heterogenous data sources heterogenous data sources

CustomerIDName

QuotaCustomerIDQuantity

QuotaCustomerIDQuantity

‘‘Primary’ data source must be SQL ServerPrimary’ data source must be SQL ServerOLE DBOLE DB

Microsoft® SQL Server™ 7.0, Microsoft® Microsoft® SQL Server™ 7.0, Microsoft® SQL Server™ 2000, and Microsoft® SQL SQL Server™ 2000, and Microsoft® SQL Server™ 2005)Server™ 2005)

Oracle (8.0, 9.0, 10.0)Oracle (8.0, 9.0, 10.0)

IBM DB2 (8.1)IBM DB2 (8.1)

NCR TeraData (4.1, 5.0)NCR TeraData (4.1, 5.0)

Microsoft® Jet (4.0)Microsoft® Jet (4.0)

Managed ProvidersManaged Providers

SQL ServerSQL Server

OracleOracle

Page 50: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

TranslationsTranslations

Supports global enterprises Supports global enterprises

Allows translations of Metadata and DataAllows translations of Metadata and Data

Page 51: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Measure Groups and PerspectivesMeasure Groups and Perspectives

Measure Groups allow multiple fact tables – Measure Groups allow multiple fact tables – grouping of “similar” measures and dimensionsgrouping of “similar” measures and dimensions

Together with Perspectives it allows subsets of a Together with Perspectives it allows subsets of a complex model to be defined complex model to be defined

Page 52: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Key Performance Indicators (KPIs)Key Performance Indicators (KPIs)Defined for key metrics Defined for key metrics

Main components of a KPI:Main components of a KPI:ValueValue

GoalGoal

Status Status -1 V Bad-1 V Bad

1 V Good1 V Good

TrendTrend-1 Lot Worse-1 Lot Worse

1 Lot better1 Lot better

Page 53: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Ready for the EnterpriseReady for the EnterpriseScalabilityScalability

Fully centralized calculations on the serverFully centralized calculations on the serverCached Calculation Cached Calculation Disk based dimension storage Disk based dimension storage

Dimension size is not constrained by memory limitsDimension size is not constrained by memory limits150 million members already tested150 million members already tested

AvailabilityAvailabilityFailover ClusteringFailover Clustering

Out of the box experienceOut of the box experience

Multi-InstancesMulti-InstancesVery easy deployment – no registry entries neededVery easy deployment – no registry entries needed

Server SynchingServer Synchingnumber cruncher machine and end-user facing machinenumber cruncher machine and end-user facing machine

Page 54: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Programming Analysis ServicesProgramming Analysis Services

Page 55: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Each UDM automatically exposed as a Each UDM automatically exposed as a Web Service handling XML/AWeb Service handling XML/A

AnalysisAnalysisServerServer

ADOMDADOMD

Any App, Any Device, Any App, Any Device, Language, PlatformLanguage, Platform

VB6 VB6 AppApp

Win32Win32

ADOMD.NetADOMD.Net .Net .Net AppApp .Net.Net

OLE DB for OLE DB for OLAPOLAP

C++ C++ AppApp

XML for analysisXML for analysis

XML/A is native protocolXML/A is native protocol Every UDM is a web serviceEvery UDM is a web service Zero client footprintZero client footprint HTTP & TCP/IP supportHTTP & TCP/IP support

Standard based (HTTP, SOAP, WSDL, UDDI)Standard based (HTTP, SOAP, WSDL, UDDI) Supported by all leading BI vendorsSupported by all leading BI vendors WS evolution of OLE DB for OLAPWS evolution of OLE DB for OLAP

XML/AXML/A

Page 56: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

Just Two CallsJust Two Calls

EXECUTEQueries (MDX or SQL)

DISCOVERDatasourcesSchemas …

Page 57: SQL Server 2005 Analysis Services & Reporting Services for the developer Eric Nelson Application Architect

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.