- (例外) (MDX)
執行集合運算,傳回兩個集合間的差異、移除重複的成員。
語法
Set_Expression - Set_Expression
參數
Set_Expression
傳回集合的有效多維度運算式 (MDX) 運算式。
傳回值
集合包含的成員不由兩個指定的參數共用。
備註
- (Except) 運算子與 Except 函數的功能相同。
範例
以下範例示範此運算子的用法。
// This query shows the quantity of orders for all products,
// with the exception of Assembly Components, which are not
// sold.
SELECT
[Date].[Calendar Month of Year].Children ON COLUMNS,
[Product].[Product Categories].[All].Children
- [Product].[Product Categories].[Assembly Components] ON ROWS
FROM
[Adventure Works]
WHERE
([Measures].[Order Quantity])