--- title: "Set Operators | Microsoft Docs" ms.date: 06/04/2018 ms.prod: sql ms.technology: analysis-services ms.custom: mdx ms.topic: reference ms.author: owend ms.reviewer: owend author: minewiskan --- # Set Operators In Multidimensional Expressions (MDX), set operators perform operations on members or sets, and return a set. You often use set operators as an alternate to several set functions in MDX expressions. MDX supports the set operators listed in the following table. |Operator|Description| |--------------|-----------------| |[- (Except)](../mdx/except-mdx-operator.md)|Returns the difference between two sets, removing duplicate members.

This operator is functionally equivalent to the [Except](../mdx/except-mdx-function.md) function.| |[* (Crossjoin)](../mdx/crossjoin-mdx-operator-reference.md)|Returns the cross product of two sets.

This operator is functionally equivalent to the [Crossjoin](../mdx/crossjoin-mdx.md) function.| |[: (Range)](../mdx/range-mdx.md)|Returns a naturally ordered set, with the two specified members as endpoints and all members between the two specified members included as members of the set.| |[+ (Union)](../mdx/union-mdx-operator-reference.md)|Returns a union of two sets, excluding duplicate members.

This operator is functionally equivalent to the [Union (MDX)](../mdx/union-mdx.md) function.| ## See Also [MDX Function Reference (MDX)](../mdx/mdx-function-reference-mdx.md) [MDX Operator Reference (MDX)](../mdx/mdx-operator-reference-mdx.md) [Operators (MDX Syntax)](../mdx/operators-mdx-syntax.md)