- (差集合) (MDX)

2 つのセットの重複メンバを削除して差集合を返すセット演算を実行します。

構文

 Set_Expression - Set_Expression

パラメーター

  • Set_Expression
    セットを返す有効な多次元式 (MDX) 式です。

戻り値

指定した両方のパラメータによって共有されていないメンバを含むセットです。

説明

- (Except) 演算子は、Except 関数と機能的に等価です。

この演算子の使用例を次に示します。

// This query shows the quantity of orders for all product categories
// with the exception of Components.
SELECT 
   [Measures].[Order Quantity] ON COLUMNS,
   [Product].[Product Categories].[All].Children 
   - [Product].[Product Categories].[Components] ON ROWS
FROM
    [Adventure Works]