XRGroupSortingSummary.Function Property
Specifies the arithmetic function to calculate.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
[SRCategory(ReportStringId.CatBehavior)]
public SortingSummaryFunction Function { get; set; }
#Property Value
Type | Description |
---|---|
Sorting |
A Sorting |
Available values:
Name | Description |
---|---|
Avg | Calculates the average of all the values within the group. |
Count | Counts the number of values within the group. |
Sum | Calculates the total of all the values within the group. |
Max | Calculates the maximum of all the values within the group. |
Min | Calculates the minimum of all the values within the group. |
Median | Finds the middle number within a sequence. Note that if the total number of elements is odd, this function returns the value of a middle number in a sequence. If the total number of elements is even, this function returns the arithmetical mean of the two middle numbers. |
Var | Calculates the amount of variance for all the values within the group. |
Var |
Calculates the population variance of all the values within the group. |
Std |
Calculates the standard deviation of all the values within the group. |
Std |
Calculates the standard population deviation of all the values within the group. |
DAvg | Calculates the average of all the distinct values within the group. |
DCount | Counts the number of distinct values within the group. |
DSum | Calculates the total of all the distinct values within the group. |
DVar | Calculates the amount of variance for all the distinct values within the group. |
DVar |
Calculates the population variance of all the distinct values within the group. |
DStd |
Calculates the standard deviation of all the distinct values within the group. |
DStd |
Calculates the standard population deviation of all the distinct values within the group. |
Custom | Calculates the custom summary using the Group |
#Remarks
The data field, on which the summary function is based, is defined via the XRGroupSortingSummary.FieldName property.
To learn more, see Grouping and Sorting a Report’s Data.