Skip to main content

DxPivotGridField.SummaryType Property

Specifies the type of the summary function which is calculated against the current data field.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(PivotGridSummaryType.Sum)]
[Parameter]
public PivotGridSummaryType SummaryType { get; set; }

Property Value

Type Default Description
PivotGridSummaryType Sum

A PivotGridSummaryType enumeration value.

Available values:

Name Description
Sum

The sum of the values.

Pivot Grid - The Sum summary type

Min

The smallest value.

Max

The largest value.

Avg

The average of the values.

pivot func average

Count

The number of values.

Remarks

A Pivot Grid calculates summaries against fields added to the Data Header Area (use the Area property). Use the SummaryType property to determine the field’s summary function type.

The available summary types are:

Summary Type Description
Sum
(the default type)
The sum of the field values. This type applies to numeric fields only.
Pivot Grid - The Sum summary type
Avg The average of the field values. This type applies to numeric fields only.
pivot func average
Count The total number of field values.
Max The largest field value.
Min The smallest field value.
See Also