AMORDEGRC

Updated on

AMORDEGRC is a DAX function that returns the depreciation for each accounting period using the French accounting system, applying a depreciation coefficient based on asset life.

Syntax

AMORDEGRC(
   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.

  • This function will return the depreciation until the last period of the life of the assets or until the cumulated value of depreciation is greater than the cost of the assets minus the salvage value.

  • The depreciation coefficients are:

    Life of assets (1/rate) Depreciation coefficient
    Between 3 and 4 years 1.5
    Between 5 and 6 years 2
    More than 6 years 2.5
  • The depreciation rate will grow to 50 percent for the period preceding the last period and will grow to 100 percent for the last period.

  • 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.
    • The life of assets is between 0 (zero) and 1, 1 and 2, 2 and 3, or 4 and 5.
    • 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
{
  AMORDEGRC(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]
776

Other functions related to AMORDEGRC are:

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

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