1. Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Jeffrey Hasan, MCSD Manager, Web Development InfoQuest Systems, Inc.
22. PivotTable List API Overview Represents a specific view of a PivotTable list. PivotView Represents a total in a PivotTable list. A total is the aggregate value that is displayed for the contents of a given cell. PivotTotal Represents a set of fields that together form a hierarchy. PivotFieldSet Represents the data in Column, Row, Data, Filter and Group axes. PivotResult*Axis Represents the data in a PivotTable list. PivotData Represents the container for the PivotTable list. PivotTable
23. PivotTable API XML data for the current PivotTable report, including connection information, data and formatting. XMLData Returns the PivotView object that represents the current view of the PivotTable. ActiveView The DataMember name, equivalent to the OLAP cube name. DataMember The OLE DB connection string. ConnectionString
24. PivotView API Adds a custom fieldset to the PivotView. AddFieldSet Represents a filter field in the PivotTable. FilterAxis A collection of PivotTotal objects. Totals A collection of PivotFieldSet objects. Fieldsets are added using the PivotAxis InsertFieldSet method. FieldSets Represents a data field in the PivotTable. DataAxis Represents a row in the PivotTable. RowAxis Represents a column in the PivotTable. ColumnAxis
25. PivotFieldSet API Adds a custom group field to the PivotFieldSet. AddCustomGroup 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. AddCalculatedField Enumeration for the inclusion state of all members not listed in a specific field’s IncludedMembers or ExcludedMembers list. AllIncludeExclude A collection of PivotField objects Fields
26. PivotField API The PivotTotal to sort on. SortOn An array of field members to exclude from the view. ExcludedMembers An array of field members to include in the view. IncludedMembers The sort direction. SortDirection The PivotTotal to filter on. FilterOn The value to filter by. FilterFunctionValue Enumeration for filter type. FilterFunction
27. PivotTable Events Occurs whenever the user makes a new selection. SelectionChange Occurs whenever the user clicks the PivotTable control. Click Occurs whenever the PivotTable is redrawn. Provides a PivotViewReasonEnum to explain why the redraw occurred. ViewChange Occurs whenever a PivotTable list query becomes necessary. Query Occurs whenever a PivotTable list field, field set, or total is added or deleted. PivotTableChange Occurs whenever the PivotTable list connects to a data source. OnConnect