IDataInputServiceCreateContextualMeasureValue Method

Creates a contextual measure value for a specific set of coordinates.

Namespace:  Dundas.BI.Data.DataInput
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
ContextualValue CreateContextualMeasureValue(
	Guid metricSetId,
	string contextualMeasureUniqueName,
	Number? value,
	IEnumerable<SingleMemberValue> renderedMembers,
	IEnumerable<ParameterValue> parameterValues
)

Parameters

metricSetId
Type: SystemGuid
The metric set ID.
contextualMeasureUniqueName
Type: SystemString
The unique name for the contextual measure.
value
Type: SystemNullableNumber
The measure value.
renderedMembers
Type: System.Collections.GenericIEnumerableSingleMemberValue
The coordinates rendered members.
parameterValues
Type: System.Collections.GenericIEnumerableParameterValue
The coordinates parameter values.

Return Value

Type: ContextualValue
The contextual value.
Exceptions
ExceptionCondition
ArgumentExceptionmetricSetId is Empty.
NotFoundExceptionThe metric set with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have the Write privilege on the specified metric set.
InvalidSessionExceptionThe caller context is not associated with a valid session.
InvalidOperationExceptionContextual measure values are not supported for the specified measure.
InvalidDataInputCoordinateExceptionThe specified coordinates are invalid.
See Also