Share via


MDX.Filter Method

Runs the Multidimensional Expressions (MDX) Filter function on a set.

Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Shared Function Filter ( _
    set As Set, _
    expression As Expression _
) As Set
public static Set Filter (
    Set set,
    Expression expression
)
public:
static Set^ Filter (
    Set^ set, 
    Expression^ expression
)
public static Set Filter (
    Set set, 
    Expression expression
)
public static function Filter (
    set : Set, 
    expression : Expression
) : Set

Parameters

  • set
    The set that contains the members to be evaluated.
  • expression
    The Expression to be used to evaluate on the set.

Return Value

A set that contains the tuples that match the conditions that are defined by expression.

Remarks

If no tuples match the conditions, an empty set is returned.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace