IMetricSetServiceAddParallelSlicerMeasure Method

Adds a Parallel Slicer measure to the given metric set and saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
MeasureUsage AddParallelSlicerMeasure(
	MetricSet metricSet,
	string name,
	string targetMeasure,
	ICollection<ParameterValue> slicerValues
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The MetricSet to add the parallel measure to.
name
Type: SystemString
The name for the new measure.
targetMeasure
Type: SystemString
The target measure.
slicerValues
Type: System.Collections.GenericICollectionParameterValue
The slicer values to be used for the comparison.

Return Value

Type: MeasureUsage
The newly added usage element.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
ArgumentExceptiontargetMeasure is not valid metric set element unique name.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also