IMsCrossDimensionAggregationOptions.TreatEmptyWeightsAs

Syntax

TreatEmptyWeightsAs: Double;

Description

The TreatEmptyWeightsAs property determines the value that is used to substitute missing data in aggregation weights.

Comments

The default value is Double.Nan.

If TreatEmptyWeightsAs = 0, the series that have empty weights values are ignored on aggregation calculation. To exclude from calculation the series, for which all weights values are empty, set the IMsCrossDimensionAggregationOptions.SkipIfWholeWeightIsEmpty property to True.

If the weights and aggregation calculation threshold match (IMsCrossDimensionAggregationTransform.WeightsTerm = IMsCrossDimensionAggregationTransform.CompositionRelevanceTerm), the values for threshold aggregation calculation are taken from weights, and the value TreatEmptyWeightsAs is used instead of IMsCrossDimensionAggregationOptions.TreatEmptyCompositionRelevanceAs to substitute the empty values in data of aggregation calculation threshold.

Example

The property use is given in the example for IMsCrossDimensionAggregationOptions.SkipIfWholeWeightIsEmpty.

See also:

IMsCrossDimensionAggregationOptions