PivotSummaryType Enum
Lists values that specify the summary function types.
Namespace: DevExpress.Data.PivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum PivotSummaryType
Members
Name | Description |
---|---|
Count
|
The number of values (excluding Null and DBNull values). |
Sum
|
The sum of the values. |
Min
|
The smallest value. |
Max
|
The largest value. |
Average
|
The average of the values. |
StdDev
|
An estimate of the standard deviation of a population, where the sample is a subset of the entire population. |
StdDevp
|
The standard deviation of a population, where the population is all of the data to be summarized. |
Var
|
An estimate of the variance of a population, where the sample is a subset of the entire population. |
Varp
|
The variance of a population, where the population is all of the data to be summarized. |
Custom
|
Specifies whether calculations should be performed manually, by handling the CustomSummary event. Not supported in OLAP and server mode. |
CountDistinct
|
The number of distinct values. This function works only in the Optimized mode. |
Median
|
The median of the values. A median is the number separating the higher half of a value range from the lower half. This function works only in the Optimized mode. |
Mode
|
The mode of the values. A mode is the value that is repeated more often than any other. This function works only in the Optimized mode. |
Related API Members
The following properties accept/return PivotSummaryType values:
Remarks
Note
Custom
summary type is not supported in Optimized and Server modes. Use ExpressionDataBinding instead.
The PivotSummaryType type enumerates the values which represent the summary function types.
In PivotGridControl, each cell can contain summarized data from several rows in a corresponding data source. The Pivot Grid control uses summary calculation methods like Sum, Average, Count, Min, Max, and so on against such data fields. The field’s SummaryType
property determines the summary function type.
The String and DateTime types do not support arithmetic addition. For fields that do not contain numeric data only the following summary functions can be calculated: Count
, Min
, and Max
. If the field’s SummaryType
property is set to any other value, the corresponding data cells displays 0
.
The numeric data fields support all available summary function types.