-(排除)(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])