Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CalculationExpression object represents a value that is calculated based on an expression. It is a child of a CalculationGroup object and requires compatibility level 1605 or higher.<95>
The CalculationExpression object has the following properties.
|
Name |
Type |
Description |
|---|---|---|
|
ID |
unsignedLong |
A reference to the object. |
|
CalculationGroupID |
unsignedLong |
An ID-based reference to a CalculationGroup object. |
|
FormatStringDefinitionID |
unsignedLong |
An ID-based reference to a FormatStringDefinition object. |
|
Name |
string |
The name of the object. |
|
Description |
string |
The description of the object. |
|
ModifiedTime |
dateTime |
The time that the object was last modified. |
|
State |
enumeration |
A value that provides information about the state of the calculation group expression. The possible values are as follows:
|
|
ErrorMessage |
string |
The string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError. |
|
Expression |
string |
The DAX expression that is evaluated for the calculation group expression.
|
|
SelectionMode |
enumeration |
A value that provides information about how this calculation group expression will be applied to measures. The possible values are as follows:
|