Class Measure
Represents the measure within a cube or measure group.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class Measure : IDisposable
Remarks
A measure represents the data within a fact table that is being organized and aggregated by the cube. In ADOMD.NET, the measure represents the meta-data for a measure within a cube. A measure is not explicitly identified in a cell set, because a measure is treated as a member for querying purposes and is represented by a measure within the measures collection of a CubeDef.
Constructors
Measure()
Initializes a new instance of the Measure class.
Declaration
public Measure()
Properties
Caption
Gets or sets the caption of the measure.
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption of the measure. |
Description
Gets or sets the description of the measure.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description of the measure. |
DisplayFolder
Gets or sets the name of the display folder.
Declaration
public string DisplayFolder { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the display folder. |
Expression
Gets or sets the expression of calculated measure.
Declaration
public string Expression { get; set; }
Property Value
Type |
---|
System.String |
GroupName
Gets or sets the name of the measure group.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the measure group. |
MeasureAggregator
Gets or sets the aggregate of measures.
Declaration
public int MeasureAggregator { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The aggregate of measures |
Name
Gets or sets the name of the measure.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the measure. |
NumericPrecision
Gets or sets the numeric precision.
Declaration
public int NumericPrecision { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The numeric precision. |
NumericScale
Gets or sets the numeric scale value.
Declaration
public int NumericScale { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The numeric scale value. |
ParentCubeName
Gets or sets the name of the parent cube.
Declaration
public string ParentCubeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the parent cube. |
ParentCubeSchema
Gets or sets the parent cube schema.
Declaration
public CubeSchema ParentCubeSchema { get; set; }
Property Value
Type | Description |
---|---|
CubeSchema | The parent cube schema. |
Properties
Gets or sets the collection of properties.
Declaration
public PropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
PropertyCollection | The collection of properties. |
UniqueName
Gets or sets the unique name of the measure.
Declaration
public string UniqueName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique name of the measure. |
Units
Gets or sets the units of the measure.
Declaration
public string Units { get; set; }
Property Value
Type | Description |
---|---|
System.String | The units of the measure. |
Visible
Gets or sets a value indicating whether this Measure is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |