Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh.

Slides:



Advertisements
Similar presentations
Analysis And Reporting With Office Web Components Mike Ammerlaan Program Manager Excel/Components Microsoft Corporation
Advertisements

SQL Server Accelerator for Business Intelligence (SSABI)
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Arjun Krishnamoorthi  Power View enables self-service BI by providing simple to use ad-hoc reporting for business users and decision.
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
BI Features of Excel Agenda Role of Excel in Microsoft BI stack New BI (and BI-related) features Compatibility experience and issues Missing cube.
1 Chapter 12 Working With Access 2000 on the Internet.
Access 2007 Product Review. With its improved interface and interactive design capabilities that do not require deep database knowledge, Microsoft Office.
Integrating Access with the Web and with Other Programs.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Introduction to Building a BI Solution 권오주 OLAPForum
Tutorial 11: Connecting to External Data
Microsoft SQL Server 2000 Reporting Services ( 주 ) 아이티즌 서정만 선임연구원
Creating a SharePoint App with Microsoft Access Services
Microsoft Office SharePoint Server Business Intelligence Tom Rizzo Director, Microsoft Office SharePoint Server
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Understanding Analysis Services Architecture. Microsoft Data Warehousing Overview OLTP Source DTS DW Storage Analysis Services Clients OLE DB for OLAP,
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
INTRODUCTION TO WEB DATABASE PROGRAMMING
Report Management and Creation using Microsoft SQL Server 2008 Reporting Services Chris Testa-O’Neill Database Product Planner Remarc Group.
SQL Server Reporting Services London Database Developer Forum Anoop Patel.
Classroom User Training June 29, 2005 Presented by:
Analysis Services 101 Dave Fackler, MCDBA, MCSE, MCT Director, Business Intelligence Practice Intellinet Corporation.
Microsoft Office Project Desktop Development Marcel Parent Program Manager Project Microsoft Corporation.
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Virtual techdays INDIA │ November 2010 PowerPivot for Excel 2010 and SharePoint 2010 Joy Rathnayake │ MVP.
Introducing Reporting Services for SQL Server 2005.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Import Data From Text Files and Other Sources Importing is the process of inserting data.
Fundamentals of Database Chapter 7 Database Technologies.
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
Microsoft FrontPage 2003 Illustrated Complete Using Office Components.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Using SAS® Information Map Studio
The Last Mile: Delivering the Facts – Client Side Analysis.
SQL Server 2005 Reporting Services: Product Overview Niran Luckcanakul (MCSD, MCDBA, MCT) Project manager ISONET Co.,Ltd.
DAT352 Developing Analysis Services Applications Using Microsoft ® Office XP Tom Conlon Program Manager SQL Server Business Intelligence Unit Microsoft.
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
DEV12 Excel Services, Server APIs and Managed UDFs Aaron Saikovski Senior Consultant - Readify Australia Blog:
SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Reporting and Analysis With Microsoft Office. Reporting and Analysis Business User Reporting & Analysis OLAP Data Warehouse.
Microsoft Office Excel 2007: Programming Business Intelligence Features John Hooper Service Line Architect Microsoft Corporation Jed Farr Senior Consultant.
Building Dashboards SharePoint and Business Intelligence.
Master Data Management & Microsoft Master Data Services Presented By: Jeff Prom Data Architect MCTS - Business Intelligence (2008), Admin (2008), Developer.
SVR330 Introduction to The Microsoft Office Project 2003 Software Development Kit (SDK) Bob Walker IW Product Technical Specialist - EPM EPG Microsoft.
Satisfy Your Technical Curiosity 27, 28 & 29 March 2007 International Convention Center (ICC) Ghent, Belgium.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Module 1: Introduction to Microsoft SQL Server Reporting Services
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
DAT 378 SQL Server 2000 Bringing The Best of Reporting Services and Analysis Services Together Sean Boon Program Manager, BI Systems
Introduction to SQL Server 2000 Reporting Services Jeff Dumas Technical Specialist Microsoft Corporation
Introduction to the Power BI Platform Presented by Ted Pattison.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh.
Portfolio Analyzer Extender v. 1240
Reporting and Analysis With Microsoft Office
Leveraging BI in SharePoint with PowerPivot and Power View
Microsoft FrontPage 2003 Illustrated Complete
Integrated Collections Portal
Microsoft Office Access 2003
Microsoft Office Access 2003
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh Farzad Peyravi Ashkan Zarnani

Talk Agenda  Overview  Introducing OLAP  Concepts  Analysis Services Manager  Office XP Web Components  Focus on the PivotTable component  Review features, user interface & API  Web-Based OLAP Report Architecture  Configure OLAP data source for HTTP  XML Web Services deliver XML data directly to the client

Features of a (Browser-based) OLAP Reporting Solution  Must connect with an OLAP data source  Must allow the user to drill down into the data with flexibility and ease  Must provide a user-friendly visual interface that includes charts, because reporting is most effective when it is visual.  Must allow the user to save and retrieve custom reports.  Should be browser-based:  Implemented as a server-based Web application  Accessible from a Web browser over the Internet or a public intranet

OLAP Glossary  Online Analytical Processing (OLAP)  Transforms relational data into multi-dimensional data structures, a.k.a., cubes, or, hypercubes  An OLAP repository may contain one or more cubes  Multi-Dimensional Data Expressions (MDX)  Specialized query language for multi-dimensional data structures  Data mining  The process of drilling down into the underlying details of a cube using MDX queries

Cube Aggregation  Cubes contain group-bys of all combinations of the included attributes.

Cube Glossary  Dimensions  A set of attributes that roughly correspond to RDBMS fields. A dimension is subdivided into levels.  Levels  A subdivision of a dimension.  Measures  The actual data value, typically numeric.

Demo: Connect to an OLAP Data Source from MS Office XP

OWC10 PivotTable

Demo: Web-Based OLAP Report  Connect to an OLAP data source  Create a new report using drag-drop  Load an existing report from XML  Save a report to XML

OLAP Report Architecture

PivotTable Interaction with an OLAP Data Source

Configure the OLAP Data Source for HTTP Access  Step 1: Install IIS on the database server where Analysis Services resides.  Step 2: Create a new Web site on the database server. Copy msolap.asp into this directory.  Location of msolap  Step 3: Assign an external domain name to the new Web site.  Step 4: Install an SSL certificate on the server, linked to the new Web site.  Step 5: Configure security credentials  Provider=MSOLAP.2;Data Source= Catalog=Foodmart 2000;User ID=OLAPID;Password=test;

Security Considerations  You must enforce security credentials for an OLAP data source that is available over HTTP.  Analysis Services will assign a Cube role to a specific cube. This role restricts overall access to the cube and/or access to specific dimensions in the cube.  Create a security role as follows:  Create an NT User role  In SQL Server, create a Database role that maps to the NT User role  In Analysis Services, create a Cube role that maps to the Database role  For more information, consult “Creating Security Roles” in the Analysis Services help file at: us/olapdmad/agsecurityroles_0t2r.asp?frame=true us/olapdmad/agsecurityroles_0t2r.asp?frame=true us/olapdmad/agsecurityroles_0t2r.asp?frame=true  Once the role has been created, add the NT User role credentials to the OLE DB connection string for the OLAP data source. HTTP requests to the OLAP data source will be authenticated using these credentials.

Office XP Web Components  PivotTable Component  Connects to any OLAP data source that supports the Microsoft OLE DB Provider for OLAP Services 8.0 and higher.  Connects to any data source with an OLE DB provider, including MS SQL Server, MS Analysis Services, MS Access, and MS Excel.  Allows users to analyze data by pivoting, grouping, filtering, and sorting.  Spreadsheet Component  Provides an Excel-like spreadsheet user interface, including a recalculation engine and an extensive function library.  Chart Component  Graphically displays data from a bound Data Source, PivotTable or Spreadsheet control. Refreshes automatically when data re-pivots.  Data Source Component  Manages interactive communication with the data source.

Benefits of OWC  Provides users with interactive access to data, from a variety of OLE DB- accessible data sources.  OWC provides a familiar Microsoft Office user interface, and a rich subset of Office functionality.  OWC is flexible:  The components may be used interactively, with their visible interfaces.  The components may be used programmatically, with their APIs.

Using OWC  They are COM components that provide both a visible interface and an API.  They are designed for use as both client-side and server-side components.  OWC can be hosted as ActiveX controls inside a Web browser:  They provide a visible interface.  They provide a scripting interface for any Windows scripting language, incl. JavaScript and VBScript.  OWC can be hosted on a standard Windows form, providing a visible interface.  OWC can be instanced in server-side code for access to the base services, without having to use the visible interface.

OWC 9 vs. OWC 10  The OWC components were dramatically improved between versions 9 and 10.  PivotTable: more filtering and grouping options, plus calculated fields and support for custom MDX queries.  Spreadsheet: Improved calculation engine and tighter integration with MS Excel 2002, incl. Support of a common XML spreadsheet format.  Chart: Expanded charting options and improved integration with the PivotTable component.  OWC 9 (msowc.dll) and OWC 10 (owc10.dll) support side-by-side usage  Clients must have a valid Office XP license for interactive access to OWC 10  Clients without a license have restricted access to ‘View Only’ mode

PivotTable Features  Used for data reporting and data analysis solutions incl. summary and cross-tabulation of raw, multi-dimensional data sets.  Filtering  Grouping (Ad-hoc and Interval)  Calculated Totals  Custom MDX  Custom Sorting  Drillthrough of hierarchical data  Export to Excel  Member Properties

PivotTable List Object Model  View the OWC API documentation at: C:\Program Files\Common Files\Microsoft Shared\Web Components\10\1033\ OWCVBA10.CHM C:\Program Files\Common Files\Microsoft Shared\Web Components\10\1033\ OWCVBA10.CHM C:\Program Files\Common Files\Microsoft Shared\Web Components\10\1033\ OWCVBA10.CHM

PivotTable List API Overview PivotTable Represents the container for the PivotTable list. PivotData Represents the data in a PivotTable list. PivotResult*Axis Represents the data in Column, Row, Data, Filter and Group axes. PivotTotal Represents a total in a PivotTable list. A total is the aggregate value that is displayed for the contents of a given cell. PivotFieldSet Represents a set of fields that together form a hierarchy. PivotView Represents a specific view of a PivotTable list.

PivotTable API ConnectionString The OLE DB connection string. DataMember The DataMember name, equivalent to the OLAP cube name. ActiveView Returns the PivotView object that represents the current view of the PivotTable. XMLData XML data for the current PivotTable report, including connection information, data and formatting.

PivotView API ColumnAxis Represents a column in the PivotTable. RowAxis Represents a row in the PivotTable. DataAxis Represents a data field in the PivotTable. FilterAxis Represents a filter field in the PivotTable. FieldSets A collection of PivotFieldSet objects. Fieldsets are added using the PivotAxis InsertFieldSet method. AddFieldSet Adds a custom fieldset to the PivotView. Totals A collection of PivotTotal objects.

PivotFieldSet API Fields A collection of PivotField objects AllIncludeExclude Enumeration for the inclusion state of all members not listed in a specific field’s IncludedMembers or ExcludedMembers list. AddCalculatedField Adds a calculated field to the PivotFieldSet. Must first create the custom field using PivotView.AddFieldSet. Then add the calculated field and update the fieldset in the PivotTable using DataAxis.InsertFieldSet. AddCustomGroup Adds a custom group field to the PivotFieldSet.

PivotField API FilterFunction Enumeration for filter type. FilterFunctionValue The value to filter by. FilterOn The PivotTotal to filter on. SortOn The PivotTotal to sort on. SortDirection The sort direction. IncludedMembers An array of field members to include in the view. ExcludedMembers An array of field members to exclude from the view.

PivotTable Events OnConnect Occurs whenever the PivotTable list connects to a data source. PivotTableChange Occurs whenever a PivotTable list field, field set, or total is added or deleted. Query Occurs whenever a PivotTable list query becomes necessary. SelectionChange Occurs whenever the user makes a new selection. ViewChange Occurs whenever the PivotTable is redrawn. Provides a PivotViewReasonEnum to explain why the redraw occurred. Click Occurs whenever the user clicks the PivotTable control.

Demo: Web-Based OLAP Report Step Through Code  Connect to an OLAP data source  Create a new report using drag-drop  Load an existing report from XML  Save a report to XML

Client Requirements  Clients must meet the following requirements to use the OWC PivotTable interactively in their browser:  Install Pivot Table Services (PTS)  OLE DB Provider 8.0  MDAC  Note: Analysis Services SP3 contains the latest version of PTS. Do not use an earlier version.  Have a licensed copy of Office XP, or, an enterprise license agreement file  Be running IE 5.0 or greater  Note, technically you only need IE 4.01, but the Trusted Sites dialog is not available until IE 5.0  Set up Trusted Sites to include the domain for the OLAP data source (to enable cross-domain access)

References  Analysis Services Overview:  MSDN Library > SQL Server 2000 > SDK Documentation > Analysis Services  Microsoft MMC/Analysis service Help  KB Article : How to Connect to Analysis Server 2000 by Using HTTP Connection  Microsoft Office Solutions Articles: Pivoting Tables, Parts I and II by David Stearns  Office Solutions Development > Microsoft Office > Microsoft Office (General) > Periodicals > Microsoft Office Solutions 2002  Introduction to Multidimensional Expressions (MDX)  MSDN Library > Data Access > OLAP Services  Newsgroup:  microsoft.public.office.developer.web.components