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.
Integrating Access with the Web and with Other Programs.
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
Instructions to run this Demo Uncheck the Check Box – ‘Always Ask Before Opening this type of file’ Always OPEN & do not save the file ‘1KEYAgile.ppt’
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
SQL Server Reporting Services London Database Developer Forum Anoop Patel.
Classroom User Training June 29, 2005 Presented by:
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
Analysis Services 101 Dave Fackler, MCDBA, MCSE, MCT Director, Business Intelligence Practice Intellinet 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.
Introducing Reporting Services for SQL Server 2005.
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.
Using SAS® Information Map Studio
The Last Mile: Delivering the Facts – Client Side Analysis.
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.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh.
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.
SVR330 Introduction to The Microsoft Office Project 2003 Software Development Kit (SDK) Bob Walker IW Product Technical Specialist - EPM EPG Microsoft.
DEV14 – Building Business Dashboards: Excel Services, KPIs and Report Centers Darwin Schweitzer Enterprise Technology Strategist
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.
Power View Overview April 25, POWER VIEW Presentation ready visualizations for the masses.
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.
Portfolio Analyzer Extender v. 1240
Data Visualization with Tableau
Victoria Power BI User Group Meeting
Office 365 Development July 2014.
QAD Financial Report Writer
Introduction ITEC 420.
Leveraging the Business Intelligence Features in SharePoint 2010
Reporting and Analysis With Microsoft Office
Module III: Business Analytics
What's New in OLAP Clients
Leveraging BI in SharePoint with PowerPivot and Power View
Visual Studio Tools for Office 2005
Microsoft FrontPage 2003 Illustrated Complete
Integrated Collections Portal
Silverlight Technology
Data Warehouse Overview September 28, 2012 presented by Terry Bilskie
Microsoft Office Access 2003
Microsoft Office Access 2003
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
SharePoint 2019 Overview and Use SPFx Extensions
OLAP in DWH Ján Genči PDT.
Tutorial 7 – Integrating Access With the Web and With Other Programs
Dashboard in an Hour Using Power BI
SharePoint 2007 Developer Overview Collaboration BI Features
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 Office XP Web Components 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 Levels Measures 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=http://localhost/msolap;Initial 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: http://msdn.microsoft.com/library/en-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

PivotTable List API Overview 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 DataMember ActiveView XMLData 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 RowAxis DataAxis FilterAxis FieldSets 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 AllIncludeExclude AddCalculatedField 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 FilterFunctionValue FilterOn SortOn 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 PivotTableChange Query SelectionChange 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.

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 279489: 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