Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Loan calculator, dynamic table based on what if parameters.

Hi I want to build something like loan calculator/simulator. Based on on few what-if parameters.

How can I create a dynamic table what will show all payments with corresponding payment value like in this example?




Of course when the value of loan years will change, also the number of rows in that table will increase/decrease.

Community Support
Community Support

Hi, @kageyoshi777 ;
With power bi measure, you can refer to the PPMT function.

PPMT function (DAX) - DAX | Microsoft Learn

Since this is similar to the recursive function, the stake is decreasing every month, so I think that dynamic measures are more difficult to achieve each month of presentation, but can achieve the overall value.
Recursion usually uses PQ, but PQ is static.

DAX financial functions: Loan calculations - Simple Talk (
mortgage-calc-with-optional-payments.xlsx (

Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.