Measure.SummaryType Property
Gets or sets the type of summary function calculated against this Measure.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
SummaryType | **Sum** | A SummaryType enumeration member that specifies the type of summary function calculated against this Measure. |
Available values:
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. |
CountDistinct | The number of distinct values. |
Median | The median of the values. A median is the number separating the higher half of a value range from the lower half. |
Mode | The mode of the values. A mode is the value that is repeated more often than any other. |
Remarks
The Dashboard can calculate different summary functions against measure values. These functions include sum, average, minimum, maximum, standard deviation, etc.
Use the SummaryType property to specify which summary function should be calculated against the current measure.
Note
Changes to the summary type are not supported in OLAP mode.
Example
The following code snippet shows how to create a new measure with the SummaryType.Max summary type.