DimensionalParameterDataProvider.GetFilteredSetExpression Method
Returns a Multidimensional Expressions (MDX) set expression that is the base set expression filtered by the Web Part context.
Namespace: Microsoft.PerformancePoint.Scorecards.DataSourceProviders
Assembly: Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard (in Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard.dll)
Syntax
'Declaration
Protected Shared Function GetFilteredSetExpression ( _
baseSetExpression As String, _
measureUniqueName As String, _
webPartContext As WebPartContext _
) As String
'Usage
Dim baseSetExpression As String
Dim measureUniqueName As String
Dim webPartContext As WebPartContext
Dim returnValue As String
returnValue = DimensionalParameterDataProvider.GetFilteredSetExpression(baseSetExpression, _
measureUniqueName, webPartContext)
protected static string GetFilteredSetExpression(
string baseSetExpression,
string measureUniqueName,
WebPartContext webPartContext
)
Parameters
baseSetExpression
Type: System.StringThe base set expression.
measureUniqueName
Type: System.StringThe unique name of the measure that is used to determine whether the set is empty.
webPartContext
Type: Microsoft.PerformancePoint.Scorecards.WebPartContextThe Web Part context that is used to filter the base set expression.
Return Value
Type: System.String
An MDX set expression in the form of NONEMPTY(base set expression, Web Part context filter values) if the Web Part context contains filter values; otherwise, the base expression if the Web Part context is a null reference (Nothing in Visual Basic) or contains no filter values.
See Also
Reference
DimensionalParameterDataProvider Class
DimensionalParameterDataProvider Members
Microsoft.PerformancePoint.Scorecards.DataSourceProviders Namespace