DAX financial functions: every one with an example

A reference of all DAX financial functions, loans and annuities (PMT, IPMT, PPMT, FV, PV, NPER, RATE), investment returns (XNPV, XIRR, RRI, PDURATION), depreciation (SLN, DB, DDB, SYD, VDB, AMORLINC), interest rates (EFFECT, NOMINAL) and the bond and security functions, with worked examples.

Short answer: DAX has the Excel financial functions: loans and savings (PMT, IPMT, PPMT, FV, PV, NPER, RATE, CUMIPMT, CUMPRINC), investment returns on dated cash flows (XNPV, XIRR), growth (RRI, PDURATION), depreciation (SLN, DB, DDB, SYD, VDB, AMORLINC, AMORDEGRC), rate conversion (EFFECT, NOMINAL) and about 25 bond and security functions (PRICE, YIELD, DURATION, ACCRINT and more). Money paid out is negative and money received positive, as in Excel.

They let a model compare projects, show loan schedules or depreciation without exporting to Excel. XNPV and XIRR are the most useful in reports, because they take a table of dated cash flows.

Which functions handle loans and savings?

FunctionExampleResult
PMT ( rate, nper, pv )PMT ( 0.05 / 12, 60, 20000 )-377.42 a month
IPMT ( rate, per, nper, pv )IPMT ( 0.05 / 12, 1, 60, 20000 )-83.33 interest in month 1
PPMT ( rate, per, nper, pv )PPMT ( 0.05 / 12, 1, 60, 20000 )-294.09 principal in month 1
CUMIPMT ( rate, nper, pv, start, end, type )CUMIPMT ( 0.05 / 12, 60, 20000, 1, 12, 0 )interest in year 1
NPER ( rate, pmt, pv )NPER ( 0.05 / 12, -500, 20000 )43.8 months at 500 a month
RATE ( nper, pmt, pv )RATE ( 60, -377.42, 20000 ) * 125%
FV ( rate, nper, pmt, pv )FV ( 0.04, 10, 0, -10000 )14,802.44
PV ( rate, nper, pmt )PV ( 0.06, 10, -1000 )7,360.09
ISPMT ( rate, per, nper, pv )ISPMT ( 0.05 / 12, 1, 60, 20000 )interest of a straight-line loan
A loan of 20,000 at 5% a year over 60 months

The optional type is 0 for payments at the end of each period (the default) and 1 for the start.

How do you calculate return on dated cash flows?

DateCash flow
2026-01-01-10,000
2026-07-013,000
2027-01-014,000
2027-07-015,000
Project cash flows
Project NPV 8% = XNPV ( Cashflows, Cashflows[Amount], Cashflows[Date], 0.08 )
Project IRR = XIRR ( Cashflows, Cashflows[Amount], Cashflows[Date] )

For these flows XNPV at 8% is about 1,048 and XIRR about 18.6% a year. Both take the table, so they respect slicers: filter by project and each row shows its own return. XIRR takes an optional guess and an alternate result for when it cannot find a rate.

Which functions handle growth and rates?

FunctionExampleResult
RRI ( nper, pv, fv )RRI ( 5, 1000, 1500 )8.45% a year (equivalent growth rate)
PDURATION ( rate, pv, fv )PDURATION ( 0.05, 1000, 2000 )14.2 periods to double
EFFECT ( nominal, npery )EFFECT ( 0.05, 12 )5.12% effective
NOMINAL ( effect, npery )NOMINAL ( 0.0512, 12 )about 5% nominal
Growth and rates

RRI is the compound annual growth rate: RRI ( Years, [First Year Revenue], [Last Year Revenue] ).

Which functions depreciate assets?

FunctionMethodYear 1
SLN ( cost, salvage, life )straight line1,800
DB ( cost, salvage, life, period )fixed declining balance3,690
DDB ( cost, salvage, life, period [, factor] )double declining balance4,000
SYD ( cost, salvage, life, period )sum of years' digits3,000
VDB ( cost, salvage, life, start, end )declining balance for any span, switching to straight line4,000 for period 0 to 1
AMORLINC, AMORDEGRCFrench accounting systemper period
An asset of 10,000, salvage 1,000, 5 years, year 1

Which functions price bonds and securities?

GroupFunctions
price and yieldPRICE, YIELD, PRICEDISC, YIELDDISC, PRICEMAT, YIELDMAT
odd periodsODDFPRICE, ODDFYIELD, ODDLPRICE, ODDLYIELD
durationDURATION, MDURATION
accrued interestACCRINT, ACCRINTM
couponsCOUPDAYBS, COUPDAYS, COUPDAYSNC, COUPNCD, COUPNUM, COUPPCD
discount and receivedDISC, INTRATE, RECEIVED
treasury billsTBILLEQ, TBILLPRICE, TBILLYIELD
fractional pricesDOLLARDE, DOLLARFR
Bond and security functions

They follow Excel's definitions, with settlement and maturity dates and a day-count basis.

What goes wrong?

  • Annual rate with monthly periods. Divide the rate by 12 and use months for nper.
  • Signs. Paid out is negative; PMT on a positive loan returns a negative payment.
  • XIRR without a sign change. All positive or all negative flows have no rate; pass the alternate result.
  • The wrong grain. XNPV and XIRR evaluate the values and dates expressions for each row of the table; iterate one row per cash flow date (for example VALUES ( 'Date'[Month Start] ) with a measure as the value).

Where can you check this?

Where do you start?

Put your projects' cash flows in one table with a project column and show XNPV and XIRR per project. Other functions covers BLANK, ERROR and the debugging helpers.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.