A Sandcastle Documented Class Library

# MeasureUsage Class

Class that encapsulates the query details associated with a measure.
Inheritance Hierarchy
System
Object
Dundas.BI.Entities.MetricSets
AnalysisElementUsage
Dundas.BI.Entities.MetricSets
MeasureUsage

Namespace: Dundas.BI.Entities.MetricSets
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class MeasureUsage : AnalysisElementUsage

    Public Class MeasureUsage
    	Inherits AnalysisElementUsage

    public ref class MeasureUsage : public AnalysisElementUsage

    type MeasureUsage =
        class
            inherit AnalysisElementUsage
        end

The MeasureUsage type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Aggregator | Gets or sets the measure aggregator.
| AnalysisElement | Gets the parent IAnalysisElement. (Inherited from AnalysisElementUsage.)
| Caption | Gets or sets the usage element caption. (Inherited from AnalysisElementUsage.)
| ColumnTotalsCalculationRule | Gets the custom calculation rules that replace the standard aggregator when used for column totals.
| DerivedParameters | Gets the derived parameters, when the underlying measure is a DerivedMeasure.
| Expression | Gets the script expression, if the usage element is based on a CalculatedMeasure.
| FormatInfo | Gets the numeric format for the current instance.
| IsDataCorrectionAllowed | Gets or sets a value indicating whether this instance allows user data correction.
| IsExcludedFromDataExport | Gets or sets a value indicating whether this element is exported in non-image exports. (Inherited from AnalysisElementUsage.)
| IsHidden | Gets or sets a value indicating whether this instance is hidden. If hidden, the data is still retrieved and used in any computations, but it is not present in the result cellset.
| IsHierarchy | Gets a value indicating whether this instance is a hierarchy. (Inherited from AnalysisElementUsage.)
| IsMeasure | Gets a value indicating whether this instance is a measure. (Inherited from AnalysisElementUsage.)
| IsNotVisualized | Gets or sets a value indicating whether this instance is not visualized by default in new visualizations.
| IsSorted | Gets a value indicating whether this instance is sorted.
| IsTimeHierarchy | Gets a value indicating whether this instance is a time hierarchy. (Inherited from AnalysisElementUsage.)
| Measure | Gets the underlying measure.
| MeasureKind | Gets the underlying measure kind.
| MetricSet | Gets the parent entity. (Inherited from AnalysisElementUsage.)
| MissingDataRule | Gets the missing data rule.
| Parameter | Gets the associated data parameter. (Inherited from AnalysisElementUsage.)
| Placement | Gets the element placement. (Inherited from AnalysisElementUsage.)
| RetrieveUnknownMembers | Gets or sets a value indicating whether unknown members should be retrieved or not. (Inherited from AnalysisElementUsage.)
| RowTotalsCalculationRule | Gets the custom calculation rule that replace the standard aggregator when used for row totals.
| SortPolicy | Gets the measure sorting behavior.
| TargetMeasureParameter | Gets the associated dynamic measure parameter, when the underlying measure is dynamic.
| UniqueName | Gets the unique name of the underlying analysis element. (Overrides AnalysisElementUsage UniqueName.)

Top
Methods

| Name | Description
--- | --- | ---
| RemoveTotalsCalculationRule | Removes any existing totals calculation rule and reverts to using the standard aggregator.
| ReplaceUniqueName | Replaces the unique name for the current measure usage. When the current instance references a calculated measure, its name is also changed accordingly.
| SetupColumnTotalsCalculation | Defines an optional calculation rule to be employed for subtotals and grand totals. The calculations are performed alongside result columns.
| SetupRowTotalsCalculation | Defines an optional calculation rule to be employed for subtotals and grand totals. The calculations are performed alongside result rows.
| SwitchTotalsCalculationRules | Switches the calculation axis for any defined totals calculation rule. The calculations are performed alongside result columns.

Top
See Also

#### Reference

Dundas.BI.Entities.MetricSets Namespace