Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

- (Negative) (MDX)

Performs a unary operation that returns the negative value of a numeric expression.


- Numeric_Expression
Numeric_Expression

A valid Multidimensional Expressions (MDX) expression that returns a numeric value.

A negative value that has the data type of the specified parameter.

The following example demonstrates the use of this operator.

-- 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]}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.