Exp

Returns the exponent of an expression; that is, the value of e (the base of natural logarithms) raised to the power of the expression.

Syntax

Exp ( numeric_value_expression )
ParameterDescription

numeric_value_expression

A numeric value (see MDX Grammar Rules).

Notes

Example

The calculated member Index is created to represent e raised to the power of [Variance %]/100. In the example, [Variance %] divided by 100 is the numeric value expression provided to the Exp function.

WITH MEMBER [Scenario].[Index]
AS
 'Exp(
      [Scenario].[Variance %]/100
  )' 
SELECT
 {[Scenario].[Variance %], [Scenario].[Index]}
ON COLUMNS, 
  {[Market].children}
ON ROWS
FROM 
 Sample.Basic
WHERE 
  {[Sales]}

This query returns the grid:

(axis)Variance %Index
East10.7001.113
West10.9141.115
South3.5561.036
Central3.5951.037

See Also

  • Ln