Skip to main content

TcxPivotGridCrossCellSummary.SummaryVariation Property

Specifies the difference between the current summary value displayed for a field and the previously calculated summary value.

Declaration

property SummaryVariation: Variant read; write;

Property Value

Type
Variant

Remarks

When the field referenced by the DataField property is in variation mode (the field’s SummaryVariation property is set to svAbsolute or svPercent value), a summary value is displayed as the difference between the current calculated summary value and the previously calculated summary value. For summary values that are calculated using built-in summary functions, the difference value is calculated automatically and can be accessed via the SummaryVariation property. For custom summary values, you need to specify the appropriate value manually using this property.

The SummaryVariation property returns Null when the difference value cannot be calculated (for instance, when summary values represent non-numeric values).

For more information on variation modes and an example on how summary values are calculated in these modes, refer to the TcxPivotGridField.SummaryVariation property description.

See Also