OpenBI Docs Buy

DDB

An asset's depreciation for a period by the declining balance at a factor (2: double), never below its salvage value.

Group: Financial. Compatible with DAX.

Syntax

DDB ( <cost>, <salvage>, <life>, <period> [, <factor>] )
ParameterTypeDescription
costNumberWhat the asset cost.
salvageNumberWhat it is worth at the end of its life.
lifeNumberHow many periods the asset is used: years, or months for a monthly schedule.
periodNumberThe period asked about, in the same unit as life.
factorNumber
optional
How fast the value declines: 2 (double-declining balance) when left out.

Returns

Number. The depreciation for that period.

Remarks

  • Each period takes factor / life of the value left at its start, but never so much that the value falls below salvage.
  • It never switches to straight line, so a small amount can be left for the last period. VDB switches when straight line gives more.
  • A negative cost or salvage, a life, factor or period of 0 or less, or a period after life, is an error.

Examples

A delivery van over five years

450,000, worth 50,000 at the end: 40 % of the value left each year, until the fifth year can take only what is above salvage.

EVALUATE
ADDCOLUMNS (
    SELECTCOLUMNS ( GENERATESERIES ( 1, 5 ), "Year", [Value] ),
    "Depreciation", DDB ( 450000, 50000, 5, [Year] )
)
ORDER BY [Year]
YearDepreciation
1180000
2108000
364800
438880
58320

VDB, DB, SLN, SYD.

Last updated · OpenBI Studio 0.3.74