Ppmt (PQL)
Returns the payment on the principal for a given period for an investment based on periodic, constant payments and a constant interest rate.
- Returned Output: Numeric
- Library: PQL \ Common \ Financial
- Version: 2025.01.000
- Compatibility:
- It can be combined with other PQL functions throughout the application.
- It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
Syntax
* Click on the function's arguments above for more details on the input values.
Comments
This function is the same as the Microsoft Excel 'PPMT' function - using the same inputs, logic, and outputs.
Function Arguments
Name |
Description |
Type |
Optional |
rate |
Value of interest rate per period. |
<Numeric> |
|
per |
Number of the period for which to find the interest, between 1 and nper. |
<Numeric> |
|
nper |
Total number of payment periods in an annuity. |
<Numeric> |
|
pv |
Present value, worth now. |
<Numeric> |
|
fv |
Future value, cash value after the last payment; if omitted, the calculation uses zero. |
<Numeric> |
Y |
type |
Indicates when payments are due; at the end (0) or beginning (1) of the period; if omitted, the calculation uses the end (0). |
Number ( <Boolean>) |
Y |
Note: Literal encoding is in use; this means that Booleans and Dates are represented as numeric values (1 and 0 and timestamps or serial date numbers, respectively).
Example
This example calculates how much of the final (12th) payment goes toward the principal of the loan; given a loan of <Sales> at 5% interest per period, to be repaid over 12 total periods.
Ppmt( 0.05, 12, 12, ([measures].[Data Sales]) )