MeasureUsage.SetupRowTotalsCalculation 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 (25.1.0.1000)
Syntaxpublic TotalsCalculationRule SetupRowTotalsCalculation(
string statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
Public Function SetupRowTotalsCalculation (
statement As String,
useDetailLevel As Boolean,
isGrandTotalOnly As Boolean
) As TotalsCalculationRule
public:
TotalsCalculationRule^ SetupRowTotalsCalculation(
String^ statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
member SetupRowTotalsCalculation :
statement : string *
useDetailLevel : bool *
isGrandTotalOnly : bool -> TotalsCalculationRule
Parameters
- statement
- Type: System.String
The expression statement. - useDetailLevel
- Type: System.Boolean
If set to true all the computations use data for the requested hierarchies detail levels;
otherwise, grand totals are calculated using subtotals data. - isGrandTotalOnly
- Type: System.Boolean
If set to true the rule is applied only to the grand total, while subtotals continue to use the standard aggregator.
Return Value
Type:
TotalsCalculationRuleThe totals calculation rule.
Exceptions
See Also