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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.