Dax Function: YIELDDISC

Category: Financial Functions

The YIELDDISC function in Power BI calculates the annual yield of a discounted security, such as a Treasury bill, that does not pay periodic interest but is issued at a discount and redeemed at face value.

Purpose

  • To determine the annualized return (yield) for short-term securities sold at a discount.

  • Assists investors in evaluating the profitability of discounted investments.

Type of Calculations

  • Computes the yield for securities where interest is embedded in the discount price.

  • Uses settlement date, maturity date, redemption value, and purchase price for its calculation.

Practical Use Cases

  1. Treasury Bills Analysis: Calculate the yield on government-issued T-bills.

  2. Discounted Securities Evaluation: Assess returns on zero-coupon bonds or similar securities.

  3. Short-Term Investments: Compare the profitability of various short-term instruments.


YIELDDISC(settlement, maturity, pr, redemption, [basis])

ParameterTypeDescription
settlementScalarThe settlement date of the security, when the buyer takes ownership. Must be a valid date.
maturityScalarThe maturity date of the security, when it expires and is redeemed. Must be after the settlement date.
prScalarThe price of the security per $100 of face value.
redemptionScalarThe redemption value of the security per $100 of face value.
[basis]Scalar(Optional) The day count basis to use. Default is 0 (US 30/360).

How Does YIELDDISC Dax Works

Mathematical Principle

The YIELDDISC function calculates yield based on the following formula:

Where:

  • : Redemption value of the security.

  • : Purchase price of the security.

  • : Number of days in a year (based on the basis parameter).

  • : Number of days from settlement to maturity.

Key Points

  • This function assumes a discounted security with no periodic interest payments.

  • Basis selection affects the day count and yield accuracy.

What Does It Return?

  • Decimal Value: The calculated annualized yield of the discounted security as a decimal (e.g., 0.025 for 2.5%).

When Should We Use It?

  1. Evaluate T-Bills: Use the function to analyze the annualized return of Treasury bills.

  2. Short-Term Investment Decisions: Compare discounted securities across different issuers.

  3. Cash Flow Management: Optimize returns on temporary surplus cash.

Examples

Basic Usage :

Calculate the yield for:

  • Settlement date: 2023-01-01

  • Maturity date: 2023-07-01

  • Price: $97

  • Redemption: $100

  • US 30/360 basis


YIELDDISC(DATE(2023, 1, 1), DATE(2023, 7, 1), 97, 100, 0)

Result: 0.0628 (6.28%)

Column Usage

For a table of discounted securities:

SecuritySettlementMaturityPriceRedemption
A2023-01-012023-07-0197100
B2023-03-012023-12-0195100
Add a calculated column:

DiscountYield =
YIELDDISC(
Securities[Settlement],
Securities[Maturity],
Securities[Price],
Securities[Redemption],
0
)

Result: Adds annualized yields for each security.

Advanced Usage

Calculate inflation-adjusted yield:

Use an external inflation rate for comparison:


RealYield =
YIELDDISC(
Securities[Settlement],
Securities[Maturity],
Securities[Price],
Securities[Redemption],
0
) - InflationRate

Result: Computes yield accounting for inflation.

Tips and Tricks

  • Ensure all dates are valid and logically consistent.

  • Use the correct day count basis to align with the investment’s conventions.

  • Incorrect redemption or price values may lead to unrealistic yields.

  • Settlement date must always precede the maturity date.

Performance Impact of YIELDDISC DAX Function:

  • Computationally efficient for small to medium datasets.

  • Filter large datasets before applying to avoid performance bottlenecks.

Related Functions You Might Need

FunctionDescription
YIELDCalculates yield for securities with periodic interest payments.
TBILLEQComputes the equivalent bond yield for Treasury bills.
PRICEDetermines the price of a security based on yield and other parameters.

Want to Learn More?
For more information, check out the official Microsoft documentation for YIELDDISC You can also experiment with this function in your Power BI reports to explore its capabilities.

Unlock the full capabilities of Power BI and elevate your data insights with our specialized consulting services. Whether you need guidance on advanced DAX functions like those highlighted here, support in designing interactive dashboards, or expertise in optimizing data models for enhanced performance, our experienced Power BI consultants are equipped to deliver customized solutions for your business. Explore our Power BI Consulting Services page to discover how we can help your organization make smarter, data-driven decisions.

1. What does the YIELDDISC function calculate?

The YIELDDISC function calculates the annual yield of a discounted security, such as a Treasury bill, based on its price and redemption value.

2. What inputs does the YIELDDISC function require?

It requires settlement and maturity dates, price, redemption value, and an optional day count basis.

3. How is YIELDDISC different from YIELD?

YIELDDISC calculates yield for securities without periodic interest payments, whereas YIELD handles those with periodic coupon payments.

4. Can YIELDDISC handle different day count conventions?

Yes, the basis parameter lets you select from various day count conventions like US 30/360 or Actual/Actual.

5. What are common errors with YIELDDISC?

Errors often arise from invalid date ranges, incorrect prices, or mismatched parameters.