Back to Devexpress

DxPivotGridField.SummaryType Property

blazor-devexpress-dot-blazor-dot-dxpivotgridfield-6efb5120.md

latest2.4 KB
Original Source

DxPivotGridField.SummaryType Property

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
PivotGridSummaryTypeSum

A PivotGridSummaryType enumeration value.

|

Available values:

NameDescription
Sum

The sum of the values.

| | Min |

The smallest value.

| | Max |

The largest value.

| | Avg |

The average of the values.

| | Count |

The number of values.

|

Remarks

Important

The Pivot Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Pivot Table component.

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 TypeDescription
Sum
(the default type)The sum of the field values. This type applies to numeric fields only.
AvgThe average of the field values. This type applies to numeric fields only.
CountThe total number of field values.
MaxThe largest field value.
MinThe smallest field value.

See Also

DxPivotGridField Class

DxPivotGridField Members

DevExpress.Blazor Namespace