Measure.SummaryType Property
Gets or sets the type of summary function calculated against this Measure.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.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. |
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.
In server mode, summary functions have the following limitations when the Dashboard uses SQL Data Sources:
- The Count Distinct summary function is not supported for the following database engines:
- Microsoft Access
- Microsoft SQL Server CE
- The Median summary function is supported for the Oracle data provider only.
- The Mode summary function is supported for the Oracle and PostgreSQL data providers only.
Example
The following code snippet shows how to create a new measure with the SummaryType.Max summary type.