MeasureUsageSetupRowTotalsCalculation Method

Defines an optional calculation rule to be employed for subtotals and grand totals. The calculations are performed alongside result rows.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public TotalsCalculationRule SetupRowTotalsCalculation(
	string statement,
	bool useDetailLevel,
	bool isGrandTotalOnly
)

Parameters

statement
Type: SystemString
The expression statement.
useDetailLevel
Type: SystemBoolean
If set to all the computations use data for the requested hierarchies detail levels; otherwise, grand totals are calculated using subtotals data.
isGrandTotalOnly
Type: SystemBoolean
If set to the rule is applied only to the grand total, while subtotals continue to use the standard aggregator.

Return Value

Type: TotalsCalculationRule
The totals calculation rule.
Exceptions
ExceptionCondition
ArgumentExceptionstatement is either or empty.
See Also