DataGrouping Element (RDL)

Defines a grouping for custom report item data.

Syntax

<RowGroupings>
        ...
        <DataGrouping>
         <Static>...</Static>
         <Subtotal>...</Subtotal>
          <Sorting>...</Sorting>
          <CustomProperties>...</CustomProperties>
        <DataGroupings>...</DataGroupings>
          <Grouping>...</Grouping>
        </DataGrouping>
        ...
</RowGroupings>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that occurs once or more than once.

Element Relationships

Relationship Element

Parent element

RowGroupings

Child elements

Grouping

CustomProperties

Sorting

DataGroupings

Subtotal

Static

Remarks

The Static element indicates that this is a static group. This element must be true if any ancestor grouping is a detail grouping. This element must be false if any ancestor grouping is defined as static.

The Grouping element contains expressions by which to group the data. This element is not allowed if the Static element is set to true.

The Sorting and Subtotal elements are ignored if the Static element is set to true.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance