IMetricSetServiceAddTotalsCalculationRule Method (MeasureUsage, String, Boolean, Boolean) |
Adds the totals calculation rule for the specified measure element.
Namespace:
Dundas.BI.Entities.MetricSets
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax MeasureUsage AddTotalsCalculationRule(
MeasureUsage measureUsage,
string statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
Function AddTotalsCalculationRule (
measureUsage As MeasureUsage,
statement As String,
useDetailLevel As Boolean,
isGrandTotalOnly As Boolean
) As MeasureUsage
MeasureUsage^ AddTotalsCalculationRule(
MeasureUsage^ measureUsage,
String^ statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
abstract AddTotalsCalculationRule :
measureUsage : MeasureUsage *
statement : string *
useDetailLevel : bool *
isGrandTotalOnly : bool -> MeasureUsage
Parameters
- measureUsage
- Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The measure usage element. - statement
- Type: SystemString
The expression statement. - useDetailLevel
- Type: SystemBoolean
If set to then the computations use data returned for the hierarchy detail levels. - isGrandTotalOnly
- Type: SystemBoolean
If set to the computations are performed for the grand totals only, while the subtotals continue to use standard aggregators.
Return Value
Type:
MeasureUsageThe updated measure usage element.
Exceptions See Also