Share via


2.2.5.37 DataCoverageDefinition Object

The DataCoverageDefinition object represents a formula that is calculated based on an expression. It is a child of a Partition object. It requires compatibility level 1603 or higher.<97>

The DataCoverageDefinition object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

PartitionID

unsignedLong

An ID-based reference to a Partition object.

Description

string

The description of the object.

Expression

string

The DAX data coverage definition expression.

ModifiedTime

dateTime

The time that the object was last modified.

State

enumeration

A value that provides information about the state of the parent object or the container object. The possible values are as follows:

  • Ready (1) – The object expression is queryable and has up-to-date data.

  • NoData (3) – Not applicable to DataCoverageDefinition.

  • CalculationNeeded (4) – The object is altered but a (re)calculation is needed before it is ready to use.

  • SemanticError (5) – The object expression has a semantic error.

  • EvaluationError (6) – The object expression has an evaluation error.

  • DependencyError (7) – A dependency associated with the DataCoverageDefinition object is in an error state (SemanticError, EvaluationError, or DependencyError).

  • Incomplete (8) – Not applicable to DataCoverageDefinition.

  • SyntaxError (9) – The object expression has a syntax error.

ErrorMessage

string

A string that explains the error state that is associated with the DataCoverageDefinition object. The ErrorMessage property is set by the engine only when the state of the object is one of these four values: SemanticError, EvaluationError, DependencyError, or SyntaxError.