# Is that possible with Knack

**URL:** <https://forums.knack.com/t/is-that-possible-with-knack/9973>\
**Category:** Get Answers\
**Created:** [March 14, 2018, 12:58am UTC](https://forums.knack.com/t/is-that-possible-with-knack/9973 "2018-03-14T00:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeorgeZeid31236](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@GeorgeZeid31236](https://forums.knack.com/u/GeorgeZeid31236)\
**Post date:** [March 14, 2018, 12:58am UTC](https://forums.knack.com/t/is-that-possible-with-knack/9973/1 "2018-03-14T00:58:27Z")

</div>

I have multiple tables/forms that are used to record expenses (Different type of expenses hence the multiple tables). Each of these tables has a total field that is usually rate x qty but also it could be rate x qty + amount1 + amount2 and so on.

These tables are working fine and the total formula is working with no issue.

The problem is that I'm trying to have another table that captures only the SUM of total fields from these multiple tables.

For example:

Table "Food Expenses" can have multiple items (records) and each one has a total.

3 Breakfast x 3 people x $10 per person = Total will be $90

2&nbsp;Dinners x 3 people x $10 per person = Total will be $60

The summary of the Food Expense table is working just fine (In this case it's $150)

&nbsp;

Now on the Budget Table, I need to be able to SUM all these Food Totals from above based on a connection (Budget Table Account No. is Equal to Food Expenses Account No.)

So I need the Account Number for the Food Expenses in the Budget Table to be $150 and also when I edit any of the expenses records in the Food Expenses Table I need the Budget Table Total to update of course.

&nbsp;

Thanks in advance for your help!

&nbsp;

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [March 19, 2018, 7:43pm UTC](https://forums.knack.com/t/is-that-possible-with-knack/9973/2 "2018-03-19T19:43:08Z")

</div>

Hello George,

&nbsp;

Yes it's possible with 2 ways&nbsp;

1. create a sum field for each table in budget object and one more field which sum all those field .

&nbsp;

2. Using Custom jQuery we can update it in budget table when record is update or create.

&nbsp;

Regards,

Sunny Singla

[ssingla1985@gmail.com](mailto:ssingla1985@gmail.com)

+919855089359
