# Loan Amortization Table HELP

**URL:** <https://forum.bubble.io/t/loan-amortization-table-help/309337>\
**Category:** Database\
**Created:** [February 26, 2024, 1:41pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337 "2024-02-26T13:41:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spkr25](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@spkr25](https://forum.bubble.io/u/spkr25)\
**Post date:** [February 26, 2024, 1:41pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/1 "2024-02-26T13:41:10Z")

</div>

I’m new to Bubble. I need help to create a loan amortization table. How and based on the inputs entered by the customers (Loan Amount, Interest, Term,) I can create a table with the amortization schedule like the one below:

 ![Screenshot 2024-02-26 at 8.38.06 AM](https://us1.discourse-cdn.com/bubble/original/3X/f/5/f5412dc340319c20ffc8dd9cefa17a62279cd908.jpeg)

---

<div class="post-metadata">

**Author:** ![Oliver-wholegraintech](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/oliver-wholegraintech/32/204198_2.png) [@Oliver-wholegraintech](https://forum.bubble.io/u/Oliver-wholegraintech)\
**Post date:** [February 26, 2024, 9:48pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/2 "2024-02-26T21:48:33Z")

</div>

What have you tried so far and what elements are you stuck on?

---

<div class="post-metadata">

**Author:** ![chris.williamson1996](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chris.williamson1996/32/70581_2.png) [@chris.williamson1996](https://forum.bubble.io/u/chris.williamson1996)\
**Post date:** [February 26, 2024, 11:01pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/3 "2024-02-26T23:01:17Z")

</div>

I’ve built this once, you can use “calculate formula” loan payment (calculate PMT) in a backend workflow recursively to create your table.

---

<div class="post-metadata">

**Author:** ![spkr25](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@spkr25](https://forum.bubble.io/u/spkr25)\
**Post date:** [February 26, 2024, 11:16pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/4 "2024-02-26T23:16:15Z")

</div>

Thank you, Oliver! In other applications, I used a loop to create each line until the End Balance is =0. I understand Bubble does not have a way to run a loop. So, I am completely stuck.

---

<div class="post-metadata">

**Author:** ![spkr25](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@spkr25](https://forum.bubble.io/u/spkr25)\
**Post date:** [February 26, 2024, 11:17pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/5 "2024-02-26T23:17:36Z")

</div>

I am not that familiar with backend workflow. My main question is how I can get the previous row ending balance to become by current row begging balance.

---

<div class="post-metadata">

**Author:** ![chris.williamson1996](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chris.williamson1996/32/70581_2.png) [@chris.williamson1996](https://forum.bubble.io/u/chris.williamson1996)\
**Post date:** [February 26, 2024, 11:19pm UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/6 "2024-02-26T23:19:13Z")

</div>

It does have loop capability actually. You’ll pass last balance and month value. Same concept to what you explained above using the last balance.

> **[Recursive API workflows](https://manual.bubble.io/help-guides/integrations/api/the-bubble-api/the-workflow-api/api-workflows/recursive-api-workflows)**
>
> This section describes what recursive workflows are and how to set them up

---

<div class="post-metadata">

**Author:** ![spkr25](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@spkr25](https://forum.bubble.io/u/spkr25)\
**Post date:** [February 27, 2024, 1:01am UTC](https://forum.bubble.io/t/loan-amortization-table-help/309337/7 "2024-02-27T01:01:54Z")

</div>

thank you! , I am going to read the documentation. Thanks
