Partager via


Subtotal Element (RDL)

Defines a subtotal column or row to be included in the matrix.

Syntaxe

<DynamicColumns> <!-- or DynamicRows-->
       ...
        <Subtotal>
              < ReportItems >...</ReportItems>
              <Style>...</Style>
              <Position >...</Position>
              <DataElementName>...</DataElementName>
              <DataElementOutput>...</DataElementOutput>
        </Subtotal>
       ...
</DynamicColumns> <!-- or /DynamicRows -->

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent elements

DynamicColumns, DynamicRows

Child elements

DataElementName, DataElementOutput, Position, ReportItems, Style

Notes

If a matrix cell contains an aggregate that specifies a scope that is inside the current scope, the scope will default to the current scope instead. For example, if a matrix cell that is placed in the Category grouping contains the expression =Sum(Fields!Sales.Value, "SubCategory"), the expression will evaluate as =Sum(Fields!Sales.Value, "Category"), because the SubCategory grouping scope is contained within the Category grouping scope.

Voir aussi

Référence

Report Definition XML Elements

Aide et Informations

Assistance sur SQL Server 2005