DISC DAX Function (Financial)

Returns the discount rate for a security.

Syntax

DISC ( <Settlement>, <Maturity>, <Pr>, <Redemption> [, <Basis>] )
Parameter Attributes Description
Settlement

The security’s settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity

The security’s maturity date. The maturity date is the date when the security expires.

Pr

The security’s price per $100 face value.

Redemption

The security’s redemption value per $100 face value.

Basis Optional

The type of day count basis to use.

Return values

Scalar A single decimal value.

The discount rate of the security.

Remarks

Basis sets the day-count method. Use 0 or omit the value for US (NASD) 30/360. Use 1 for actual/actual. Use 2 for actual/360. Use 3 for actual/365. Use 4 for European 30/360.

The result is ( Redemption – Pr ) / Redemption * B / DSM. B is the number of days in a year for the Basis. DSM is the number of days from Settlement to Maturity. If Pr is greater than Redemption, the result is negative.

Settlement and Maturity are truncated to integers, so the time part of a date is ignored. Basis is rounded to the nearest integer. A BLANK Basis is the same as 0. A BLANK Settlement does not return an error: it is treated as 30-Dec-1899 (the zero date), so the result is computed from that date.

DISC returns an error in these conditions:

  • Settlement or Maturity is not a valid date.
  • Settlement is equal to or later than Maturity.
  • Pr is less than or equal to 0.
  • Redemption is less than or equal to 0.
  • Basis is less than 0 or greater than 4.

This function is not supported in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

» 4 related functions

Examples

-- Discount rate of a security bought on January 15, 2025,
-- that matures on July 15, 2025, for each day count basis.
-- Price is 98.25 and redemption value is 100.
EVALUATE
VAR Settlement = DATE ( 2025, 1, 15 )
VAR Maturity = DATE ( 2025, 7, 15 )
VAR Price = 98.25
VAR Redemption = 100
RETURN
    ADDCOLUMNS (
        {
            ( 0, "US (NASD) 30/360" ),
            ( 1, "Actual/actual" ),
            ( 2, "Actual/360" ),
            ( 3, "Actual/365" ),
            ( 4, "European 30/360" )
        },
        "DISC", DISC ( Settlement, Maturity, Price, Redemption, [Value1] )
    )
Value1 Value2 DISC
0 US (NASD) 30/360 0.03499999999999992
1 Actual/actual 0.0352900552486187
2 Actual/360 0.03480662983425407
3 Actual/365 0.0352900552486187
4 European 30/360 0.03499999999999992

Related functions

Other related functions are:

Last update: Nov 12, 2026   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

Microsoft documentation: https://learn.microsoft.com/en-us/dax/disc-function-dax

2018-2026 © SQLBI. All rights are reserved. Information coming from Microsoft documentation is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Passed by Expression

This parameter is passed by expression and can be evaluated multiple times in different evaluation contexts.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Volatile

A volatile function may return a different result every time you call it, even if you provide the same arguments. Click to read more.

Deprecated

This parameter is deprecated and its use is not recommended.

DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

Contribute

Want to improve the content of DISC? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.