-(Minus) (MDX)
Wykonuje operację jednoargumentową, która zwraca wartość ujemną wyrażenie liczbowe.
- Numeric_Expression
Parameters
- Numeric_Expression
Prawidłowe wyrażenie Multidimensional Expressions (MDX), które zwraca wartość liczbową.
Return Value
Ujemna wartość, która ma typ danych określonego parametru.
Przykłady
Poniższy przykład demonstruje użycie tego 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]}