Measure.Expression Property
Gets or sets the expression for the current measure.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | null | A String that specifies the expression for the current measure. |
Remarks
If you want to specify a calculation using the Expression property, specify a window used to apply a calculation. To do this, create and initialize the required descendant of the MeasureCalculationWindowDefinition class (depending on the type of the target dashboard item) and assign the resulting object to the Measure.WindowDefinition property.
See the Calculation Functions Reference topic to see the descriptions of window functions that can be used to specify measure expressions.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Expression property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.