Mdx Class

Office 2010

MDX Metadata Record.When the object is serialized out as xml, its qualified name is x:mdx.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Mdx : OpenXmlCompositeElement

The following table lists the possible child types:

  • MdxTuple <x:t>

  • MdxSet <x:ms>

  • MdxMemberProp <x:p>

  • MdxKpi <x:k>

[ISO/IEC 29500-1 1st Edition]

18.9.6 mdx (MDX Metadata Record)

This element represents a single record of MDX metadata information which can express a tuple, KPI, set, or member property.

Parent Elements

mdxMetadata (§18.9.7)

Child Elements


k (KPI MDX Metadata)


ms (Set MDX Metadata)


p (Member Property MDX Metadata)


t (Tuple MDX Metadata)




f (Cube Function Tag)

This is an enumeration representing the function type of the calling cube function from the spreadsheet.

The possible values for this attribute are defined by the ST_MdxFunctionType simple type (§18.18.44).

n (Connection Name Index)

The zero based index of connection name in metadata string store, metadataStrings.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Mdx) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2014 Microsoft