Daily DAX : Day 423 FV
DAX Function: FV (Future Value)
The FV function in Power BI DAX calculates the future value of an investment based on periodic, constant payments and a constant interest rate.
Syntax
FV( <rate>, <nper>, <pmt>, [pv], [type] )
Parameters
| Parameter | Description | Required? |
|---|---|---|
| rate | Interest rate per period (e.g., 5%/12 for monthly) | Required |
| nper | Total number of payment periods | Required |
| pmt | Payment made each period (usually negative for outflows) | Required |
| [pv] | Present value (initial investment). Default = 0 | Optional |
| [type] | 0 = payment at end of period, 1 = payment at beginning. Default = 0 | Optional |
Common Use Cases
- Calculate how much a savings plan or retirement contribution will be worth in the future
- Financial modeling and forecasting in Power BI reports
- Compare different investment or savings scenarios
- Analyze loan maturity values (if additional payments are made)
Practical Examples
Example 1: Monthly savings of $500 for 10 years at 6% annual interest (compounded monthly)
Future Value = FV(6%/12, 10*12, -500)
→ Returns approximately $83,201.09
Example 2: Initial investment of $10,000 + $200/month for 5 years at 7% annual rate
Future Value = FV(7%/12, 5*12, -200, -10000)
→ Returns approximately $26,326.70
DAX Measure Example in Power BI
Projected Retirement Balance =
FV(
[Annual Interest Rate]/12,
[Years Until Retirement] * 12,
-[Monthly Contribution],
-[Current Balance],
0
)
Tip: Use negative values for pmt and pv because they represent cash outflows from the investor's perspective.
FV is one of the key financial functions in DAX (along with PV, PMT, RATE, NPER) — perfect for building financial dashboards and investment trackers in Power BI.
Comments
Post a Comment