AMORLINC

Updated on

AMORLINC is a DAX function that returns the depreciation for each accounting period using the French accounting system, considering prorated depreciation for mid-period asset purchases.

Syntax

AMORLINC(
   Cost,
   Date_purchased,
   First_period,
   Salvage,
   Period,
   Rate,
   Basis
)
Argument Properties Description
Cost The cost of the asset.
Date_purchased The date of the purchase of the asset.
First_period The date of the end of the first period.
Salvage The salvage value at the end of the life of the asset.
Period The period.
Rate The rate of depreciation.
Basis Optional The year basis to be used.

Return Values

The depreciation for each accounting period.

Remarks

  • Dates are stored as sequential serial numbers so they can be used in calculations. In DAX, December 30, 1899 is day 0, and January 1, 2008 is 39448 because it is 39,448 days after December 30, 1899.

  • period and basis are rounded to the nearest integer.

  • An error is returned if:

    • cost < 0.
    • first_period or date_purchased is not a valid date.
    • date_purchased > first_period.
    • salvage < 0 or salvage > cost.
    • period < 0.
    • rate ≤ 0.
    • basis is any number other than 0, 1, 3, or 4.
  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

Example

Data Description
2400 Cost
19-August-2008 Date purchased
31-December-2008 End of the first period
300 Salvage value
1 Period
15% Depreciation rate
1 Actual basis (see above)

The following DAX query:

EVALUATE
{
  AMORLINC(2400, DATE(2008,8,19), DATE(2008,12,31), 300, 1, 0.15, 1)
}

Returns the first period’s depreciation, given the terms specified above.

[Value]
360

Other functions related to AMORLINC are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/amorlinc-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy