A
C
- CALCULATE
- CALCULATETABLE
- CALENDAR
- CALENDARAUTO
- CEILING
- CHISQ.DIST
- CHISQ.DIST.RT
- CHISQ.INV
- CHISQ.INV.RT
- CLOSINGBALANCEMONTH
- CLOSINGBALANCEQUARTER
- CLOSINGBALANCEYEAR
- COALESCE
- COLUMNSTATISTICS
- COMBIN
- COMBINA
- COMBINEVALUES
- CONCATENATE
- CONCATENATEX
- CONFIDENCE.NORM
- CONFIDENCE.T
- CONTAINS
- CONTAINSROW
- CONTAINSSTRING
- CONTAINSSTRINGEXACT
- CONVERT
- COS
- COSH
- COT
- COTH
- COUNT
- COUNTA
- COUNTAX
- COUNTBLANK
- COUNTROWS
- COUNTX
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNCD
- COUPNUM
- COUPPCD
- CROSSFILTER
- CROSSJOIN
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENTGROUP
- CUSTOMDATA
D
E
I
N
O
P
R
S
- SAMEPERIODLASTYEAR
- SAMPLE
- SEARCH
- SECOND
- SELECTCOLUMNS
- SELECTEDMEASURE
- SELECTEDMEASUREFORMATSTRING
- SELECTEDMEASURENAME
- SELECTEDVALUE
- SIGN
- SIN
- SINH
- SLN
- SQRT
- SQRTPI
- STARTOFMONTH
- STARTOFQUARTER
- STARTOFYEAR
- STDEVX.P
- STDEVX.S
- STDEV.P
- STDEV.S
- SUBSTITUTE
- SUBSTITUTEWITHINDEX
- SUM
- SUMMARIZE
- SUMMARIZECOLUMNS
- SUMX
- SWITCH
- SYD
T
U
What is a Coupon Date?
Before we dive into COUPNCD, let’s first define what a coupon date is. A coupon date is the date on which a bond or other fixed-income security pays interest to its investors. Coupon payments are typically made on a regular schedule, such as annually or semi-annually.
How to Use COUPNCD in Power BI
COUPNCD is a DAX function used to calculate the next coupon date for a security that pays periodic interest. The syntax for COUPNCD is as follows:
COUPNCD(settlement, maturity, frequency, [day_count], [basis])
Here's what each argument in the function represents:
- `settlement`: the settlement date for the security.
- `maturity`: the maturity date for the security.
- `frequency`: the frequency of coupon payments, expressed as a number of months. For example, if the security pays interest semi-annually, the frequency would be 6.
- `day_count` (optional): the basis for calculating the year fraction, such as actual/actual or 30/360. If this argument is omitted, the default basis of actual/actual is used.
- `basis` (optional): the day count basis to use for the calculation. If this argument is omitted, the default basis of 0 is used.
Let's look at an example of how to use COUPNCD in Power BI. Suppose we have a security with the following details:
- Settlement date: January 1, 2021
- Maturity date: December 31, 2030
- Coupon frequency: semi-annual
To calculate the next coupon date for this security using COUPNCD, we would use the following formula:
COUPNCD(“1/1/2021”, “12/31/2030”, 6)
The result of this calculation would be July 1, 2021, which is the next semi-annual coupon date for the security.
Additional Considerations
When using COUPNCD in Power BI, there are a few additional considerations to keep in mind:
- The settlement and maturity dates must be entered as valid date values in Power BI. If the dates are entered as text values, the function will not work.
- The frequency argument must be entered as a whole number of months. For example, if the security pays interest quarterly, the frequency would be 3 (not 0.25).
- Depending on the day count basis used, the result of the COUPNCD function may be slightly different than expected. Make sure to check the basis argument if you notice any discrepancies.
COUPNCD is a powerful DAX function used to calculate the next coupon date for a security that pays periodic interest. In this article, we've explained the syntax of the COUPNCD function and provided an example of how to use it in Power BI. By understanding how to use COUPNCD, you can more effectively analyze fixed-income securities in Power BI and make better investment decisions.