2.4.139 BrtBeginPCDHGLevel

The BrtBeginPCDHGLevel record specifies properties of an OLAP grouping level, as specified in OLAP Grouping (section 2.2.5.2.8), and the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies an OLAP grouping level in a PivotCache, as specified in OLAP Grouping (section 2.2.5.2.8).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

reserved2

stUnique (variable)

...

stLevelName (variable)

...

A - fGroupLevel (1 bit):  A bit that specifies whether this is a user-defined group level. This value MUST be a value from the following table.

Value

Meaning

0

The record specifies a group level that corresponds to the source cube level.

1

The record specifies a user-defined group level.

B - reserved1 (1 bit):  This value MUST be 0, and MUST be ignored.

reserved2 (6 bits):  This value MUST be 0, and MUST be ignored.

stUnique (variable):  An XLWideString (section 2.5.169) that specifies the MDX unique name of this grouping level. If the bVerCacheCreated field of the BrtBeginPivotCacheDef (section 2.4.168) record is greater than or equal to 3, then the length of this value MUST be less than 32,768 characters; otherwise it MUST be less than 256 characters.

stLevelName (variable): An XLWideString that specifies the caption of this grouping level. If the bVerCacheCreated field of the BrtBeginPivotCacheDef record is greater than or equal to 3, then the length of this value MUST be less than 32,768 characters, otherwise it MUST be less than 256 characters.