MeasureUsageSetupColumnTotalsCalculation Method |
Defines an optional calculation rule to be employed for subtotals and grand totals.
The calculations are performed alongside result columns.
Namespace: Dundas.BI.Entities.MetricSetsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic TotalsCalculationRule SetupColumnTotalsCalculation(
string statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
Public Function SetupColumnTotalsCalculation (
statement As String,
useDetailLevel As Boolean,
isGrandTotalOnly As Boolean
) As TotalsCalculationRule
public:
TotalsCalculationRule^ SetupColumnTotalsCalculation(
String^ statement,
bool useDetailLevel,
bool isGrandTotalOnly
)
member SetupColumnTotalsCalculation :
statement : string *
useDetailLevel : bool *
isGrandTotalOnly : bool -> TotalsCalculationRule Parameters
- statement String
- The expression statement.
- useDetailLevel Boolean
- If set to all the computations use data for the requested hierarchies detail levels;
otherwise, grand totals are calculated using subtotals data.
- isGrandTotalOnly Boolean
- If set to the rule is applied only to the grand total, while subtotals continue to use the standard aggregator.
Return Value
TotalsCalculationRuleThe totals calculation rule.
Exceptions
See Also