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.
Represents a value that is calculated based on an expression. It is a child of a Table object.
public sealed class Measure : Microsoft.AnalysisServices.Tabular.NamedMetadataObject, Microsoft.AnalysisServices.Tabular.IMetadataObjectWithLineage
type Measure = class inherit NamedMetadataObject interface IMetadataObjectWithLineage
Public NotInheritable Class Measure Inherits NamedMetadataObject Implements IMetadataObjectWithLineage
Create a new instance of the Measure class with default settings.
Gets the collection object of all annotations in the current Measure.
Gets the collection object of all changedproperties in the current Measure.
Specifies the type of data contained in the measure so that you can add custom behaviors based on measure type.
Describes the type of data contained in the column. Possible values are as follows. String (2). Int64 (6). Double (8). DateTime (9). Decimal (10). Boolean (11). Binary (17). Unknown (19) A measure in an error state. Variant (20) A measure with varying data type.
The description of the measure, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio.
A reference to a DetailRowsDefinition object that is owned by this Measure.
Defines the display folder for the Measure, for use by clients.
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.
The DAX expression that is evaluated for the calculated measure.
Gets the collection object of all extendedproperties in the current Measure.
A string that specifies the format of the measure contents. For
A reference to a FormatStringDefinition object owned by this Measure.
A boolean value that indicates whether the measure is treated as hidden by client visualization tools. True if the measure is treated as hidden by client visualization tools; otherwise false.
A Boolean specifying whether this object was removed from an object tree.(Inherited from MetadataObject)
A boolean value that indicates whether the measure is an implicit measure that is automatically created by client tools to aggregate a field. Client applications can hide measures that have this flag set.
A reference to a KPI object that is owned by this Measure.
A tag that represents the lineage of the object.
Gets the Tabular model that contains this object.(Inherited from MetadataObject)
The time that the object was last modified.
Gets or Sets the Name of this object.
Gets the type of the object.
Parent object, null for Model objects.
A tag that represents the lineage of the source for the object.
Provides information on the state of the measure. Possible values and their interpretation are as follows. Ready (1) The measure is queryable and has up-to-date data. NoData (3) Not applicable to Measure. CalculationNeeded (4) Not applicable to Measure. SemanticError (5) The measure expression has a semantic error. EvaluationError (6) Not applicable to Measure. DependencyError (7) A dependency associated with this measure is in an error state (SemanticError, EvaluationError, or DependencyError). Incomplete (8) Not applicable to Measure. SyntaxError (9) The measure has a syntax error in its expression.
The time that the structure of the object was last modified.
A reference to a Table object that owns this Measure.
Creates a new, full copy of a Measure object.
Deprecated. Use CopyTo method instead.
Copies a Measure object to the specified object.
Deprecated. Use RequestRename method instead.
Request rename of this object.
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from MetadataObject)