Pmt (PQL)
Returns the payment for a loan based on 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 ‘PMT’ function - using the same inputs, logic, and outputs.
Function Arguments
Name | Description | Type | Optional |
rate | Value of interest rate per period. | <Numeric> |
|
nper | Total number of payment periods. | <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 from the loan amount in [Data Sales] , the fixed payment needed every period for 12 periods, assuming a 0.5% interest rate per period:
