[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

mp (OLAP Member Property)

Represents an OLAP member property.

[Example:

<sh:mp field="7"/>

end example]

Parent Elements

mps3.10.1.59)

 

Attributes

Description

field (Field Index)

Specifies the index of the field with which this member property is associated.

 

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

level (Level Index)

Specifies the index of the level to which this member property applies.

 

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

name (OLAP Member Property Unique Name)

Specifies the unique name of the OLAP member property. The following attributes depend on the name attribute:

nameLen

pLen

pPos

 

These attributes consist of metadata about a member in an OLAP cube and are usually displayed in a tooltip or mechanism in the user interface.

 

For example, if the value for name equals "[Store].[Store Name].[Store Manager]":

nameLen will equal 20. This would refer to “[Store].[Store Name]”

pPos will equal 22. This would refer to starting character of “Store Manager”

pLen will equal 13. This would to length of “Store Manager”

 

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

nameLen (Name Length)

Specifies the length of the unique name portion of name. For example, if the value for name equals "[Store].[Store Name].[Store Manager]", nameLen will equal 20. This would refer to “[Store].[Store Name]”.

 

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

pLen (Property Name Length)

Specifies the length of the property name portion of name. For example, if the value for name equals "[Store].[Store Name].[Store Manager]", pLen will equal 13. This would to length of “Store Manager”.

 

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

pPos (Property Name Character Index)

Specifies the index of the character where the property name portion begins in name. For example, if the value for name equals "[Store].[Store Name].[Store Manager]", pPos will equal 22. This would refer to starting character of “Store Manager”.

 

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

showAsCaption (Show As Caption)

Specifies a boolean value that indicates whether to show the property a member caption.

 

A value of on, 1, or true indicates member property value will be shown in as a caption.

 

A value of off, 0, or false indicates member property value will not be shown.

 

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

showCell (Show Cell)

Specifies a boolean value that indicates whether to show the member property value in a PivotTable cell.

 

A value of on, 1, or true indicates member property value will be shown in a cell.

 

A value of off, 0, or false indicates member property value will not be shown.

 

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

showTip (Show Tooltip)

Specifies a boolean value that indicates whether to show the member property value in a tooltip on the appropriate PivotTable view cells.

 

A value of on, 1, or true indicates member property value will be shown in a tooltip.

 

A value of off, 0, or false indicates member property value will not be shown. This attribute depends on whether the application employs tooltips or similar mechanism in the user interface.

 

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

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_MemberProperty">

   <attribute name="name" type="ST_Xstring" use="optional"/>

   <attribute name="showCell" type="xsd:boolean" use="optional" default="false"/>

   <attribute name="showTip" type="xsd:boolean" use="optional" default="false"/>

   <attribute name="showAsCaption" type="xsd:boolean" use="optional" default="false"/>

   <attribute name="nameLen" type="xsd:unsignedInt" use="optional"/>

   <attribute name="pPos" type="xsd:unsignedInt" use="optional"/>

   <attribute name="pLen" type="xsd:unsignedInt" use="optional"/>

   <attribute name="level" type="xsd:unsignedInt" use="optional"/>

   <attribute name="field" use="required" type="xsd:unsignedInt"/>

</complexType>