Analysis And Reporting With Office Web Components Mike Ammerlaan Program Manager Excel/Components Microsoft Corporation 4-302.

Slides:



Advertisements
Similar presentations
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
Advertisements

Chris Kunicki CTOHipTrends.com Charles Maxson Technical Evangelist Plural Microsoft ® Office And The Web
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
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.
Integrating Access with the Web and with Other Programs.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
04 | Building Stellar Data Visualizations Using Power View.
Microsoft Excel 2010 Chapter 8
Tutorial 11: Connecting to External Data
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
1998 PI System Users’ Conference PI on the Web: A Primer for PI Users Omicron Consulting 1998 PI System Users’ Conference.
The PI-ProcessBook Family Customizable views of your data - Anywhere you want them.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Introducing Reporting Services for SQL Server 2005.
WB_FrontPage_How To CS3505. Front Page 4 Microsoft Web Page Authoring tool 4 Available to students at no charge see helpdesk 4 Provides support for building.
SharePoint Branding with Design Manager. About James 7 years of SharePoint 2007, 2010, 2013 On-prem deployment planning, infrastructure setup, governance.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Summarizing with Range names and 3-D formulas Summarizing.
Working with Numeric Variables (Unit 6) Visual Basic for Applications.
Working with Reports in Microsoft Excel Session Version 1.0 © 2011 Aptech Limited.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
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 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
PI-ProcessBook Developer
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
The Last Mile: Delivering the Facts – Client Side Analysis.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Chapter 5 PivotTables and Charts.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Macros, Navigation Form, PivotTables, and Pivot Charts Access – Lesson 6.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
DAT352 Developing Analysis Services Applications Using Microsoft ® Office XP Tom Conlon Program Manager SQL Server Business Intelligence Unit Microsoft.
Key Applications Module Lesson 21 — Access Essentials
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
Chapter Two Creating a First Project in Visual Basic.
Tutorial 91 Databases A database is an organized collection of related information stored in a file on a disk A database allows companies to store information.
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.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Lesson 7 – Microsoft Excel 2010 Working with Tables, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
5-1 VISUAL J++ Colorado Technical University IT420 Tim Peterson.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Don Smith Tech4Test.com.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Templates.
Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh.
Using Macros, Switchboards, PivotTables, and PivotCharts
Reporting and Analysis With Microsoft Office
1. Introduction to Visual Basic
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Office Access 2003
Microsoft Office Access 2003
Tutorial 7 – Integrating Access With the Web and With Other Programs
Chapter 10 Accessing Database Files
Microsoft Excel 2007 – Level 2
Presentation transcript:

Analysis And Reporting With Office Web Components Mike Ammerlaan Program Manager Excel/Components Microsoft Corporation 4-302

Overview Components overview Components overview Basics: Basics: Chart and PivotTable ® data binding Chart and PivotTable ® data binding Chart component basics Chart component basics PivotTable ® component basics PivotTable ® component basics Solutions: Solutions: Custom reporting using PivotTable ® Custom reporting using PivotTable ® PivotCharts PivotCharts Drill through with the PivotTable ® Drill through with the PivotTable ®

Food For Thought: A Timesheet Weblication

Web Components Overview Chart and PivotTable are COM components Chart and PivotTable are COM components Use them in: Use them in: Internet Explorer 4.01 or higher Internet Explorer 4.01 or higher Edit in FrontPage ®, Visual InterDev ®, Access Data Pages Edit in FrontPage ®, Visual InterDev ®, Access Data Pages Visual Basic ® forms, VBE forms Visual Basic ® forms, VBE forms Other COM control containers Other COM control containers UI-less UI-less

Connecting The Components To Data

Connecting To Data Passing A Data Object Passing A Data Object Build the data objects using script (e.g., an ADO Recordset) Build the data objects using script (e.g., an ADO Recordset) Pass the data objects to the control Pass the data objects to the control Setting Connection Properties Directly Setting Connection Properties Directly ConnectionString, CommandText, Data Member properties ConnectionString, CommandText, Data Member properties

Do It Yourself Data Objects PivotTable and Chart can connect to any Data Source Object PivotTable and Chart can connect to any Data Source Object PivotTable: PivotTable: set ptable.DataSource = dsc ptable.DataMember = name Chart: Chart: set cds = ChartSpace.ChartDataSources.Add() set cds.DataSource = dsc cds.DataMember = Name PivotTable is a DSO, thus you can bind Chart to it PivotTable is a DSO, thus you can bind Chart to it

Connecting Directly PivotTable natively supports CommandText and ConnectionString for connecting directly to data PivotTable natively supports CommandText and ConnectionString for connecting directly to data PivotTable connects to OLAP data via the ConnectionString and DataMember properties PivotTable connects to OLAP data via the ConnectionString and DataMember properties ptable.ConnectionString = ptable.ConnectionString = ptable.DataMember = ptable.DataMember =

Chart Specifics

Charting Terminology Chart Chart.Series ChartSpace ChartSpace Title Chart.Title Legend Chart.Series. Point

Chart Object Model Map ChartSpace Points(…) SeriesCollection(…) Charts(…) Trendlines(…) Axes (…) Legend PlotArea DataLabelsCollection(…) Title Border ErrorBarsCollection(…)

PivotTable Specifics

PivotTable Terminology Tool Bar Title Bar Filter Axis Row Axis Column Axis Data Axis Fieldset Field Member Total Aggregate PivotTable.Selection (PivotRange)

PivotTable Object Model PivotTable Column-, Row- Members(…) ActiveData ActiveView Fieldsets(…) Column-, Data-, Row-, Filter- Axis Fieldsets(…) Label FieldLabel*, Member*, Total* * = ForeColor, Font, BackColor, etc. Cells(…)

Solutions

PivotTable Reports With Predefined Views Scenario: Web page for employees to view popular report types PivotTable component in Web page, with HTML user interface PivotTable component in Web page, with HTML user interface View configuration is done with: View configuration is done with: InsertFieldSet on Axis objects InsertFieldSet on Axis objects Manipulating field objects on Axis.Fieldsets(…) Manipulating field objects on Axis.Fieldsets(…)

PivotCharts Scenario: Adding charts as views of a PivotTable Add a chart object to the page Add a chart object to the page Bind it to the PivotTable Bind it to the PivotTable Add a data series using SetData Add a data series using SetData Add some logic for showing an appropriate chart Add some logic for showing an appropriate chart

Supporting Drill Through In The PivotTable Catch DblClick Event Catch DblClick Event Use PivotTable.Selection property to determine selection Use PivotTable.Selection property to determine selection Get Row, Column and Filter Members Get Row, Column and Filter Members Build SQL WHERE clause specifying member names Build SQL WHERE clause specifying member names Set CommandText of new PivotTable Set CommandText of new PivotTable

More Information Office Web sites Office Web sites OfficeDev/webcomp.asp OfficeDev/webcomp.asp Search for msowcvba.chm on your drive for an API reference Search for msowcvba.chm on your drive for an API reference Programming Microsoft Office 2000 Web Components by Dave Stearns, Microsoft Press Programming Microsoft Office 2000 Web Components by Dave Stearns, Microsoft Press

Microsoft Script Editor I recommend Microsoft Script Editor for editing your scripts: I recommend Microsoft Script Editor for editing your scripts: Based on Visual Interdev, but without a lot of the unneeded complexity Based on Visual Interdev, but without a lot of the unneeded complexity Comes with Office 2000 Comes with Office 2000 To use it, make sure it is installed by using the Office setup app (it is not installed by default) To use it, make sure it is installed by using the Office setup app (it is not installed by default) Search for MSE.EXE on your machine Search for MSE.EXE on your machine

PivotTable Issues Visual totals Visual totals If you exclude Seattle, does WA remain the same or does it = WA – Seattle? If you exclude Seattle, does WA remain the same or does it = WA – Seattle? ActiveView.TotalAllMembers configures this ActiveView.TotalAllMembers configures this SR1 PivotTable: PivotTable.Connection property SR1 PivotTable: PivotTable.Connection property Exposes current OLAP session Exposes current OLAP session Execute CREATE MEMBER statements to create calculated members Execute CREATE MEMBER statements to create calculated members Call PivotTable.Refresh and get new ActiveData object to pick up new totals Call PivotTable.Refresh and get new ActiveData object to pick up new totals

Deployment No technological tie to Office 2000 No technological tie to Office 2000 Can deploy to the without also deploying Office 2000 Can deploy to the without also deploying Office 2000 However, install requires a MS Office 2000 license per desktop However, install requires a MS Office 2000 license per desktop Auto-install with Microsoft Installer Auto-install with Microsoft Installer Use the CODEBASE attribute, must be a file:\\ path (I.e. Intranet only) Use the CODEBASE attribute, must be a file:\\ path (I.e. Intranet only) CAB is 1.6 Mb CAB is 1.6 Mb Requires MDAC 2.1 for data-access Requires MDAC 2.1 for data-access

Common UI Elements AutoFit AutoFit Grows and shrinks with data Grows and shrinks with data Good for Internet Explorer, bad for forms Good for Internet Explorer, bad for forms Hide/show UI elements Hide/show UI elements Display* properties control visibility Display* properties control visibility Hide/Show Titlebar, Toolbar, FieldList, Property Toolbox, Expand indicators, Drop zones Hide/Show Titlebar, Toolbar, FieldList, Property Toolbox, Expand indicators, Drop zones Titlebar Titlebar ActiveView.Titlebar.Caption = Hello ActiveView.Titlebar.Caption = Hello