CalculationGroupExpression Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A tabular CalculationGroupExpression object. The expression defined on this object will be applied to the selected measure in DAX queries, when no calculation items can be applied.
public sealed class CalculationGroupExpression : Microsoft.AnalysisServices.Tabular.MetadataObject
type CalculationGroupExpression = class
inherit MetadataObject
Public NotInheritable Class CalculationGroupExpression
Inherits MetadataObject
- Inheritance
Remarks
This metadata object is only supported when the compatibility level of the database is at 1605 or above.
Constructors
CalculationGroupExpression() |
Create a new instance of the CalculationGroupExpression class with default settings. |
Properties
CalculationGroup |
A reference to the CalculationGroup object that owns the CalculationGroupExpression. |
Description |
The description of the CalculationGroupExpression, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio. |
ErrorMessage |
The string that explains the error state associated with the CalculationGroupExpression. It is set by the engine only when the state of the Expression is one of these three values: SemanticError, DependencyError or SyntaxError. |
Expression |
The DAX expression that is evaluated for the CalculationGroupExpression. |
FormatStringDefinition |
A reference to a FormatStringDefinition object owned by the CalculationGroupExpression. |
IsRemoved |
A Boolean specifying whether this object was removed from an object tree. (Inherited from MetadataObject) |
Model |
Gets the Tabular model that contains this object. (Inherited from MetadataObject) |
ModifiedTime |
The time that the object was last modified. |
ObjectType |
Gets the type of object. (Inherited from MetadataObject) |
Parent |
Parent object, null for Model objects. |
State |
Provides information on the state of the Expression. Possible values and their interpretation are as follows. Ready (1) The Expression is queryable and has up-to-date data. SemanticError (5) The Expression has a semantic error. DependencyError (7) A dependency associated with the Expression is in an error state (SemanticError, EvaluationError, or DependencyError). SyntaxError (9) The Expression has a syntax error. |
Methods
Clone() |
Creates a new, full copy of a CalculationGroupExpression object. |
CopyFrom(CalculationGroupExpression) |
Obsolete.
Deprecated. Use CopyTo method instead. |
CopyTo(CalculationGroupExpression) |
Copies a CalculationGroupExpression object to the specified object. |
Validate() |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from MetadataObject) |