Fv (PQL)

Returns the future value of an investment based on a constant interest rate. You can use FV with either periodic, constant payments, or a single lump sum payment.

  • 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

Fv( <Numeric> , <Numeric> , <Numeric> , OPTIONAL <Numeric> , OPTIONAL <Boolean> )

* Click on the function's arguments above for more details on the input values.

Comments

This function is the same as the Microsoft Excel 'FV' function - using the same inputs, logic, and outputs.

Function Arguments

Name

Description

Type

Optional

rate

Interest rate expressed as percentage (per period).

<Numeric>

 

nper

Total number of payment periods.

<Numeric>

 

pmt

Payment made each period.

<Numeric>

 

pv

Present value; if omitted, uses zero and the calculation is based on the payment argument.

<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 the future value of investing the amount[Data Sales] every period (e.g. monthly) for 12 periods, earning 0.5% interest per period.

Fv( 0.05, 36, 100, [measures].[Data Sales], 1 )