Future Value function (FV) for Power Query

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 😉

11 thoughts on “Future Value function (FV) for Power Query”

  1. 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.

    Reply
  2. 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.

    Reply
  3. 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.

    Reply
  4. 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.

    Reply
  5. 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.

    Reply
  6. 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!

    Reply
  7. 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.

    Reply
  8. 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.

    Reply

Leave a comment