ACCRINTM

Updated on

ACCRINTM is a DAX function that returns the accrued interest for a security that pays interest at maturity.

Syntax

ACCRINTM(
   Issue,
   Maturity,
   Rate,
   Par,
   Basis
)
Argument Properties Description
Issue The security’s issue date.
Maturity The security’s maturity date.
Rate The security’s annual coupon rate.
Par The security’s par value.
Basis Optional The type of day count basis to use.

Return Values

The accrued interest.

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.

  • ACCRINTM is calculated as follows:

    ACCRINTM=par×rate×AD

    where:

    • A = Number of accrued days counted according to a monthly basis. For interest at maturity items, the number of days from the issue date to the maturity date is used.
    • D = Annual Year Basis.
  • issue and maturity are truncated to integers.

  • basis is rounded to the nearest integer.

  • An error is returned if:

    • issue or maturity is not a valid date.
    • issue ≥ maturity.
    • rate ≤ 0.
    • par ≤ 0.
    • basis < 0 or basis > 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
1-April-2008 Issue date
15-June-2008 Maturity date
10% Percent coupon
1000 Par value
3 Actual/365 basis (see above)

The following DAX query:

EVALUATE
{
  ACCRINTM(DATE(2008,4,1), DATE(2008,6,15), 0.1, 1000, 3)
}

Returns the accrued interest for a security with the terms specified above.

[Value]
20.5479452054795

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

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