Value

Returns a value for the specified member or tuple.

Syntax

tuple[.Value]
member[.Value]
ParameterDescription

tuple

A tuple for which to return a value.

member

A member for which to return a value.

Notes

The VALUE keyword is optional. In Example 2, the value of Sales can be represented either as [Sales].VALUE or [Sales]. Any value expression (for example, the value expressions supplied to functions such as Filter, Order, or Sum) has an implicit Value function in it. The expression [Qtr1] <= 0.00 is a shortcut for [Qtr1].VALUE <= 0.00.

Example

Example 1

[Sales].Value 

Returns the value of the Sales measure.

([Product].CurrentMember, [Sales]).Value 

Returns the value of the Sales measure for the current member of the Product dimension.

Note:

The Value keyword is optional. The above expressions can also be entered as:

[Sales] 

Which is equivalent to [Sales].Value

([Product].CurrentMember, [Sales]) 

Which is equivalent to ([Product].CurrentMember, [Sales]).VALUE

Example 2

The following query sorts level-0 members of the Product dimension by the value of Sales, in descending order.

SELECT
 {[Sales]}
ON COLUMNS,
  Order([Product].Levels(0).Members,
        [Sales].VALUE, BDESC)
ON ROWS
FROM Sample.Basic

This query returns the grid:

(axis)Sales
100-1062824
300-1046956
200-1041537
200-2038240
200-2038240
300-3036969
300-3036969
400-1035799
400-2032670
100-2030469
100-2030469
200-3017559
300-2017480
400-3015761
100-3012841
200-4011750