cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kageyoshi777
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?

 

loancalc.png

 

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

1 REPLY 1
v-yalanwu-msft
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 (red-gate.com)
mortgage-calc-with-optional-payments.xlsx (live.com)


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

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors