skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class XmlaDataProvider

Provides OLAP cube data access and operations using XML for Analysis (XMLA) protocol. This data provider enables pivot operations on multidimensional data sources through XMLA web services, supporting MDX queries, hierarchical dimensions, and cube-based aggregations over HTTP/SOAP.

Inheritance
System.Object
DataProviderBase
OlapDataProvider
XmlaDataProvider
Inherited Members
OlapDataProvider.DistinctValuesLimit
DataProviderBase.IDataProvider.Refresh()
DataProviderBase.BeginInit()
DataProviderBase.EndInit()
DataProviderBase.Refresh()
DataProviderBase.DeferRefresh()
DataProviderBase.Invalidate()
DataProviderBase.OnStatusChanged(DataProviderStatusChangedEventArgs)
DataProviderBase.OnPrepareDescriptionForField(PrepareDescriptionForFieldEventArgs)
DataProviderBase.OnFieldDescriptionsProviderChanged(IFieldDescriptionProvider, IFieldDescriptionProvider)
DataProviderBase.OnPropertyChanged(String)
DataProviderBase.GetAggregateDescriptionForFieldDescription(IPivotFieldInfo)
DataProviderBase.GetGroupDescriptionForFieldDescription(IPivotFieldInfo)
DataProviderBase.GetFilterDescriptionForFieldDescription(IPivotFieldInfo)
DataProviderBase.FieldInfos
DataProviderBase.DeferUpdates
DataProviderBase.Status
DataProviderBase.AggregatesPosition
DataProviderBase.AggregatesLevel
DataProviderBase.FieldDescriptionsProvider
DataProviderBase.HasPendingChanges
DataProviderBase.Settings
DataProviderBase.IDataProvider.Status
DataProviderBase.IDataProvider.Results
DataProviderBase.IDataProvider.Settings
DataProviderBase.IDataProvider.AggregatesPosition
DataProviderBase.IDataProvider.AggregatesLevel
DataProviderBase.StatusChanged
DataProviderBase.PropertyChanged
DataProviderBase.PrepareDescriptionForField
DataProviderBase.IDataProvider.StatusChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Pivot.Xmla
Assembly: Telerik.WinControls.PivotGrid.dll

Syntax

public sealed class XmlaDataProvider : OlapDataProvider, IDataProvider, INotifyPropertyChanged, ISupportInitialize

Constructors

XmlaDataProvider()

Initializes a new instance of the XmlaDataProvider class with default XMLA web client. Sets up the provider for connecting to OLAP cubes through XML for Analysis protocol over HTTP.

Declaration
public XmlaDataProvider()

Properties

AggregateDescriptions

Gets a collection of XmlaAggregateDescription objects that specify how data should be aggregated within the intersection of row and column groups. These define the calculated values displayed in pivot cells using XMLA measures and calculated members.

Declaration
public Collection<XmlaAggregateDescription> AggregateDescriptions { get; }
Property Value
System.Collections.ObjectModel.Collection<XmlaAggregateDescription>

ColumnGroupDescriptions

Gets a collection of XmlaGroupDescription objects that specify how the pivot data should be grouped by columns. Column groupings create the hierarchical structure displayed at the top of the pivot grid using XMLA dimensions.

Declaration
public Collection<XmlaGroupDescription> ColumnGroupDescriptions { get; }
Property Value
System.Collections.ObjectModel.Collection<XmlaGroupDescription>

ConnectionSettings

Gets or sets the connection settings used for establishing connection to the XMLA data server. These settings include server URL, database name, cube name, and authentication information required for XML for Analysis web service access.

Declaration
public XmlaConnectionSettings ConnectionSettings { get; set; }
Property Value
XmlaConnectionSettings

The connection settings for the XMLA data source.

FilterDescriptions

Gets a collection of XmlaFilterDescription objects that specify how pivot items should be filtered. Filters are applied to restrict the data included in XMLA pivot calculations and display.

Declaration
public Collection<XmlaFilterDescription> FilterDescriptions { get; }
Property Value
System.Collections.ObjectModel.Collection<XmlaFilterDescription>

Results

Gets the current pivot calculation results containing the processed data from the XMLA cube. This property provides access to the aggregated and grouped data ready for display in pivot controls.

Declaration
protected override IPivotResults Results { get; }
Property Value
IPivotResults

Overrides
DataProviderBase.Results

RowGroupDescriptions

Gets a collection of XmlaGroupDescription objects that specify how the pivot data should be grouped by rows. Row groupings create the hierarchical structure displayed on the left side of the pivot grid using XMLA dimensions.

Declaration
public Collection<XmlaGroupDescription> RowGroupDescriptions { get; }
Property Value
System.Collections.ObjectModel.Collection<XmlaGroupDescription>

State

Gets the current state object representing the connection settings for this data provider. This state is used for field description retrieval and XMLA connection management.

Declaration
public override object State { get; }
Property Value
System.Object

The ConnectionSettings object representing the current provider state.

Overrides
DataProviderBase.State

Methods

BlockUntilRefreshCompletes()

Blocks the calling thread until the current refresh operation completes. This method is not implemented for XMLA data provider as it uses asynchronous web service operations.

Declaration
public override void BlockUntilRefreshCompletes()
Overrides
DataProviderBase.BlockUntilRefreshCompletes()
Exceptions
System.NotImplementedException

This method is not implemented for asynchronous XMLA operations.

CreateFieldDescriptionsProvider()

Creates a field description provider for retrieving cube metadata and field information from the XMLA data source. This provider is used to discover available dimensions, measures, and hierarchies in the connected cube through XMLA web services.

Declaration
protected override IFieldDescriptionProvider CreateFieldDescriptionsProvider()
Returns
IFieldDescriptionProvider

A new XmlaFieldDescriptionProvider instance configured with the current connection settings.

Overrides
DataProviderBase.CreateFieldDescriptionsProvider()

GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo)

Creates an aggregate description for the specified field that can be used in XMLA pivot operations. The description is configured with the field name and initialized with the current provider context.

Declaration
protected override IAggregateDescription GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivotFieldInfo description

The pivot field information to create an aggregate description for.

Returns
IAggregateDescription

An XmlaAggregateDescription configured for the specified field.

Overrides
DataProviderBase.GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo)

GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo)

Creates a filter description for the specified field that can be used in XMLA pivot filtering operations. The description is configured with the field name and initialized with the current provider context.

Declaration
protected override FilterDescription GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivotFieldInfo description

The pivot field information to create a filter description for.

Returns
FilterDescription

An XmlaFilterDescription configured for the specified field.

Overrides
DataProviderBase.GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo)

GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo)

Creates a group description for the specified field that can be used in XMLA pivot grouping operations. The description is configured with the field name and initialized with the current provider context.

Declaration
protected override IGroupDescription GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivotFieldInfo description

The pivot field information to create a group description for.

Returns
IGroupDescription

An XmlaGroupDescription configured for the specified field.

Overrides
DataProviderBase.GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo)

RefreshOverride()

Performs the core refresh operation by generating XMLA requests, executing them against the OLAP cube, and processing the results. This method handles field initialization, XMLA query generation, and result processing.

Declaration
protected override void RefreshOverride()
Overrides
DataProviderBase.RefreshOverride()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.