2.2.5.30 CalculationItem Object
The CalculationItem object represents a value that is calculated based on an expression. It is a child of a CalculationGroup object and requires compatibility level 1500 or higher.<84>
The CalculationItem 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 item. 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 item. |
Ordinal |
int |
The zero-based ordinal value that is associated with a calculation item. This value is meant to be used as the ordering column in the DAX query. |