OpenBI Docs Buy

EXP

e raised to a power.

Group: Math. Compatible with DAX.

Syntax

EXP ( <number> )
ParameterTypeDescription
numberNumberThe power to raise e to.

Returns

Number. e, about 2.71828, raised to the number.

Remarks

  • EXP and LN undo each other: EXP ( LN ( 5 ) ) is 5, up to the last digit.
  • A blank counts as 0, so EXP ( BLANK () ) is 1.
  • From about 710 the result no longer fits in a number, and the call is an error. A large negative number gives 0.
  • Continuous growth uses it: 1,000 growing continuously at 5 % a year for ten years is 1000 * EXP ( 0.05 * 10 ).

Examples

Powers of e

EVALUATE
ROW (
    "e", EXP ( 1 ),
    "Of 0", EXP ( 0 ),
    "Of -1", EXP ( -1 ),
    "Of blank", EXP ( BLANK () )
)
eOf 0Of -1Of blank
2.7182818284590510.3678794411714421

Continuous growth

EVALUATE
ROW ( "1000 after ten years", 1000 * EXP ( 0.05 * 10 ) )
1000 after ten years
1648.72127070013

LN, POWER, LOG.

Last updated · OpenBI Studio 0.3.74