Dax Function: ISPMT
Category: Financial Functions
The ISPMT function in Power BI is a DAX financial function that calculates the interest paid on a loan or investment for a specific period, assuming payments are made on the principal alone. This function is typically used in scenarios where payments are directly applied to the principal amount.
Purpose
To compute the interest portion of a payment for a given period in a scenario where payments reduce the principal directly.
Provides a straightforward method for interest calculation without amortization complexities.
Type of Calculations
Calculates periodic interest based on the principal and interest rate.
Focuses on simple interest computation.
Practical Use Cases
Loan Planning: Determine interest amounts for flat-rate loans.
Investment Analysis: Evaluate cash flows for investments with periodic interest calculations.
Simplified Financial Models: Use in models that exclude amortization.
ISPMT(rate, per, nper, pv)
| Parameter | Type | Description |
|---|---|---|
rate | Scalar | The interest rate per period. |
per | Scalar | The period for which you want to calculate the interest. |
nper | Scalar | The total number of payment periods in the investment or loan. |
pv | Scalar | The present value (principal) of the investment or loan. |
How Does ISPMT Dax Function Works
The ISPMT function calculates interest for the specified period using this formula:

Where:
rate: The interest rate per period.per: The specific period for which interest is calculated.nper: The total number of payment periods.pv: The principal amount.
What Does It Return?
Returns a scalar value representing the interest paid for the specified period.
The value is typically expressed as a number or currency.
When Should We Use It?
For simple financial models with fixed-rate loans or investments.
In scenarios where payments directly reduce the principal.
As part of flat-rate interest computations.
Examples
Basic Usage :
Calculate the interest payment for:
Annual Interest Rate: 6% (monthly rate: 0.005)
Period: 3
Total Payments: 12
Loan Amount: $10,000
ISPMT(0.005, 3, 12, 10000)
Result: $37.50 (interest portion for the 3rd period).
Column Usage
Apply the ISPMT function dynamically to a table with loan details:
| LoanID | Rate | Period | TotalPeriods | LoanAmount |
|---|---|---|---|---|
| 1 | 0.005 | 3 | 12 | 10000 |
| 2 | 0.004 | 2 | 24 | 5000 |
Create a calculated column:
InterestPayment = ISPMT(Loans[Rate], Loans[Period], Loans[TotalPeriods], Loans[LoanAmount])
Generates interest payments for each record in the table.
Advanced Usage
Combine ISPMT with other DAX functions for cumulative interest calculations:
TotalInterest =
SUMX(
FILTER(Loans, Loans[Period] <= MAX(Loans[Period])),
ISPMT(Loans[Rate], Loans[Period], Loans[TotalPeriods], Loans[LoanAmount])
)
Calculates the total interest paid up to a given period.
Tips and Tricks
Ensure the
perparameter falls within the range of1tonper.Use consistent time units for
rateandnper.Misalignment of time periods for
rateandnper.Confusion between interest rate (annual vs. periodic) adjustments.
Performance Impact of ISPMT DAX Function:
Efficient for scalar computations.
For large datasets, optimize by combining with aggregate functions like
SUMX.
Related Functions You Might Need
| Function | Description |
|---|---|
IPMT | Calculates the interest portion of a payment for an amortized loan. |
PPMT | Computes the principal portion of a payment. |
PMT | Determines the total payment (principal + interest) for a loan. |
Want to Learn More?
For more information, check out the official Microsoft documentation for ISPMT 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 ISPMT function calculates the interest paid for a specific period of a loan or investment, assuming flat-rate interest payments.
No, the ISPMT function is designed for flat-rate loans or investments and does not account for amortization.
The per parameter specifies the period for which interest is calculated. Interest decreases as per increases.
No, the function is not tied to any currency. The values depend on the dataset’s formatting.
You can create line or bar charts to display how interest payments decrease over time.