# Summing up columns in DataTable

**URL:** <https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [November 28, 2023, 8:41am UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870 "2023-11-28T08:41:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Zalewski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_zalewski/32/8101_2.png) [@Pawel\_Zalewski](https://community.dynatrace.com/u/Pawel_Zalewski)\
**Post date:** [November 28, 2023, 8:41am UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870/1 "2023-11-28T08:41:20Z")

</div>

Hi!

I want to sum up up every number in column in DataTable and show it under. Can anyone help resolve this issue 🙂 ?

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [November 28, 2023, 9:50am UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870/2 "2023-11-28T09:50:58Z")

</div>

Hi,

You may be able to get the start of an answer with the following topic:

[https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-subRows-documentation-missing/td-p/230076](https://community.dynatrace.com/topic/230076)

---

<div class="post-metadata">

**Author:** ![SarahFaustmann](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SarahFaustmann](https://community.dynatrace.com/u/SarahFaustmann)\
**Post date:** [November 28, 2023, 3:49pm UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870/3 "2023-11-28T15:49:02Z")

</div>

Hi [@Pawel\_Zalewski](https://community.dynatrace.com/user/66060),

I’ll look into this and come back to you with an attempt at a solution tomorrow.

---

<div class="post-metadata">

**Author:** ![SarahFaustmann](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SarahFaustmann](https://community.dynatrace.com/u/SarahFaustmann)\
**Post date:** [November 30, 2023, 8:02am UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870/4 "2023-11-30T08:02:01Z")

</div>

Hi&nbsp;[@Pawel\_Zalewski](https://community.dynatrace.com/user/66060),

There is currently no feature in DataTable that supports a table footer. There is the option of manually adding a row to the data and you can find this hacked solution on [CodeSanbox here](https://codesandbox.io/s/fervent-cherry-jr3c4m?file=/src/App.tsx). Please be aware of its limitations and possible issues, though.

Best,  
Sarah

---

<div class="post-metadata">

**Author:** ![Pawel\_Zalewski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_zalewski/32/8101_2.png) [@Pawel\_Zalewski](https://community.dynatrace.com/u/Pawel_Zalewski)\
**Post date:** [November 30, 2023, 8:15am UTC](https://community.dynatrace.com/t/summing-up-columns-in-datatable/42870/5 "2023-11-30T08:15:10Z")

</div>

Sure, thank you very much 🙂
