Measure.Expression Property
Gets or sets the expression for the current measure.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v20.2.Core.dll
Declaration
[DefaultValue(null)]
public string Expression { get; set; }
<DefaultValue(Nothing)>
Public Property Expression As String
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.
See Also
Feedback