XNPV is a DAX function that returns the net present value for a schedule of cash flows.
Syntax
XNPV(
Table,
Values,
Dates,
Rate
)
| Argument | Properties | Description |
|---|---|---|
| Table | The table containing the rows for which the Values and Dates expressions will be evaluated. | |
| Values | An expression to be evaluated for each row of the table, which will yield a series of cash flows. | |
| Dates | An expression to be evaluated for each row of the table, which will yield a schedule of payment dates. | |
| Rate | The discount rate to apply to the cash flows. |