- (負面) (MDX)
執行傳回數值運算式負值的一元運算。
語法
- Numeric_Expression
參數
Numeric_Expression
傳回數值的有效多維度運算式 (MDX) 運算式。
傳回值
具有指定參數之資料類型的負值。
範例
下列範例示範此運算子的使用。
-- This member creates a negative version of the
-- Reseller Freight Cost.
WITH MEMBER
Measures.[Resell Cost as Negative]
AS -Measures.[Reseller Freight Cost]
SELECT
[Date].[Calendar Month of Year].Children ON COLUMNS,
[Product].[Product Categories].Children ON ROWS
FROM
[Adventure Works]
WHERE
{[Measures].[Resell Cost as Negative]}