EXPON.DIST DAX Function (Statistical)
Returns the exponential distribution. Use EXPON.DIST to model the time between events, such as how long an automated bank teller takes to deliver cash. For example, you can use EXPON.DIST to determine the probability that the process takes at most 1 minute.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
| X |
The value of the function. |
|
| Lambda |
The parameter value. |
|
| Cumulative |
A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
Return values
The probability density for X when Cumulative is FALSE, or the cumulative probability (a number between 0 and 1) when Cumulative is TRUE.
Remarks
EXPON.DIST uses these formulas, where e is the base of the natural logarithm:
– Probability density function (Cumulative is FALSE): Lambda * e^(-Lambda * X)
– Cumulative distribution function (Cumulative is TRUE): 1 – e^(-Lambda * X)
The cumulative result is the same as 1 – EXP ( -Lambda * X ). It is a probability between 0 and 1. The density result can be greater than 1: EXPON.DIST ( 0.1, 5, FALSE ) returns about 3.03. The mean of the distribution is 1 / Lambda.
X must be zero or a positive number, and Lambda must be greater than zero. Otherwise, EXPON.DIST returns an error. DAX does not round X or Lambda: decimal values are valid. If X is BLANK, the cumulative form returns BLANK, but the density form uses 0 and returns Lambda. DAX converts a text that contains a number. For Cumulative, 0 and BLANK are FALSE, and any other number is TRUE.
This function is not supported in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Examples
-- Given the lambda parameter to define the power, EXPON.DIST returns the
-- exponential distribution of a value, or the cumulative distribution
-- depending on its third argument
--
-- https://en.wikipedia.org/wiki/Exponential_distribution
DEFINE
VAR Vals = GENERATESERIES ( 0, 5, 0.5 )
VAR Lambda = 0.8
VAR CumulativeTrue = TRUE -- Cumulative distribution function
VAR CumulativeFalse = FALSE -- Probability density function
EVALUATE
ADDCOLUMNS (
Vals,
"EXPON.DIST", EXPON.DIST ( [Value], Lambda, CumulativeFalse ),
"EXPON.DIST Cumulative", EXPON.DIST ( [Value], Lambda, CumulativeTrue )
)
| Value | EXPON.DIST | EXPON.DIST Cumulative |
|---|---|---|
| 0.00 | 0.80 | 0.00 |
| 0.50 | 0.54 | 0.33 |
| 1.00 | 0.36 | 0.55 |
| 1.50 | 0.24 | 0.70 |
| 2.00 | 0.16 | 0.80 |
| 2.50 | 0.11 | 0.86 |
| 3.00 | 0.07 | 0.91 |
| 3.50 | 0.05 | 0.94 |
| 4.00 | 0.03 | 0.96 |
| 4.50 | 0.02 | 0.97 |
| 5.00 | 0.01 | 0.98 |
-- The time between two calls to a support desk follows an exponential
-- distribution. On average, there are 12 calls per hour (Lambda = 12).
-- The cumulative distribution returns the probability that the next call
-- arrives within the given number of minutes.
DEFINE
VAR CallsPerHour = 12
EVALUATE
SELECTCOLUMNS (
GENERATESERIES ( 0, 20, 5 ),
"Minutes", [Value],
"Probability", EXPON.DIST ( [Value] / 60, CallsPerHour, TRUE )
)
| Minutes | Probability |
|---|---|
| 0 | 0.0 |
| 5 | 0.6321205588285577 |
| 10 | 0.8646647167633873 |
| 15 | 0.950212931632136 |
| 20 | 0.9816843611112658 |
Last update: Nov 26, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/expon-dist-function-dax