While Excel and DAX have native functions to calculate the future value of a payment series, Power Query lacks it still. So it’s time to create our own function for the Future Value (FV) for Power Query:
Excel’s function for the Present Value (FV) for Power Query
Excel’s FV function returns the future value of an investment based on a constant interest rate. Like for the PV-function, I could use the calculation logic from Greg Deckler:
https://gist.github.com/ImkeF/9c10f010ea26b6f13609669282808b08
Function Arguments
To keep it really convenient, the arguments for this function are identical with the Excel ones:
- Rate Required. The interest rate per period.
- Nper Required. The total number of payment periods in an annuity.
- Pmt Required. The payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes. If pmt is omitted, you must include the pv argument.
- Pv Optional. The present value, or the lump-sum amount that a series of future payments is worth right now. If pv is omitted, it is assumed to be 0 (zero), and you must include the pmt argument.
- Type Optional. The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.
| Set type equal to | If payments are due |
|---|---|
| 0 | At the end of the period |
| 1 | At the beginning of the period |
Please check out the following video to see how to apply this function in your solution:
Enjoy and stay queryious 😉
The choice to keep the arguments identical to Excel is the detail that landed for me. You’re not just recreating a missing function in Power Query; you’re removing friction at the exact point people usually hesitate.
Haha, I definitely needed a break from sketching country outlines on Country Draw to read about finance formulas, but it is wild how much work you have to do to replicate simple Excel functions in Power Query. The fact that it just doesn’t exist natively feels like a massive gap in the tooling.
I was pleasantly surprised to see someone tackle the missing Future Value function for Power Query, and using Greg Deckler’s calculation logic for the PV equivalent was a smart shortcut that saves a lot of trial and error. It’s a nice mental shift away from the visual precision work I do daily on PSL Rating, where scoring facial symmetry on a 1-8 scale requires a completely different kind of attention to detail.
I’m always impressed by how much logic you have to write just to mirror a simple Excel function in Power Query M. It’s a nice brain break from my usual work building transparent PNGs with hidden color layers at Tap and hold, where I focus more on visual interactions than financial formulas.
Reading through the details on mirroring Excel’s FV arguments into M code is a welcome change of pace from my daily work building synchronized dance memes on Smalltown Boy Ai. It’s fun to see how the same logic for calculating payment values applies across such different creative and financial domains.
This is a super handy write-up — the breakdown of all five FV arguments matching Excel’s exact parameters is exactly what Power Query users have been missing. I usually spend my days building tools over at Popstar AI, but when I’m diving into spreadsheets for personal projects, posts like this are gold. Definitely bookmarking this one for future use!
The trick of mapping Excel’s FV arguments directly into Power Query M is handy for anyone tired of missing that native function. It feels like a nice mental reset after spending late nights tweaking reveal transition logic on Unforgettable 24 AI.
I love how detailed the breakdown of the FV arguments is, especially with the clear distinction between payment due dates for Type 0 and 1. It’s a nice switch from the motion-sync experiments and character swap tools I’m building over at Bulin 47 AI to dig into financial modeling logic.
Keeping the “arguments for this function are identical with the Excel ones” removes most of the hesitation. People already know Rate, Nper, and Pmt; they just need the M translation without rebuilding the finance model from scratch, which is exactly the friction that usually kills these ports.
Congrats to Arslan Ash on another Evo title, that grand final was tense. Off-topic, but seeing clean setups in tournament streams reminds me I should clean your TV from my Android TV and ditch the ads before the next event.