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
Treasury Bills Analysis: Calculate the yield on government-issued T-bills.
Discounted Securities Evaluation: Assess returns on zero-coupon bonds or similar securities.
Short-Term Investments: Compare the profitability of various short-term instruments.
YIELDDISC(settlement, maturity, pr, redemption, [basis])
| Parameter | Type | Description |
|---|---|---|
settlement | Scalar | The settlement date of the security, when the buyer takes ownership. Must be a valid date. |
maturity | Scalar | The maturity date of the security, when it expires and is redeemed. Must be after the settlement date. |
pr | Scalar | The price of the security per $100 of face value. |
redemption | Scalar | The 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
basisparameter).: 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.025for 2.5%).
When Should We Use It?
Evaluate T-Bills: Use the function to analyze the annualized return of Treasury bills.
Short-Term Investment Decisions: Compare discounted securities across different issuers.
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:
| Security | Settlement | Maturity | Price | Redemption |
|---|---|---|---|---|
| A | 2023-01-01 | 2023-07-01 | 97 | 100 |
| B | 2023-03-01 | 2023-12-01 | 95 | 100 |
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
| Function | Description |
|---|---|
YIELD | Calculates yield for securities with periodic interest payments. |
TBILLEQ | Computes the equivalent bond yield for Treasury bills. |
PRICE | Determines 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.
The YIELDDISC function calculates the annual yield of a discounted security, such as a Treasury bill, based on its price and redemption value.
It requires settlement and maturity dates, price, redemption value, and an optional day count basis.
YIELDDISC calculates yield for securities without periodic interest payments, whereas YIELD handles those with periodic coupon payments.
Yes, the basis parameter lets you select from various day count conventions like US 30/360 or Actual/Actual.
Errors often arise from invalid date ranges, incorrect prices, or mismatched parameters.