#  Data Sum Return

**URL:** <https://community.thunkable.com/t/data-sum-return/2756518>\
**Category:** Web API's\
**Tags:** beginner, help\
**Created:** [December 20, 2023, 7:26pm UTC](https://community.thunkable.com/t/data-sum-return/2756518 "2023-12-20T19:26:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![munizjoaopaulo10br9](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@munizjoaopaulo10br9](https://community.thunkable.com/u/munizjoaopaulo10br9)\
**Post date:** [December 20, 2023, 7:26pm UTC](https://community.thunkable.com/t/data-sum-return/2756518/1 "2023-12-20T19:26:44Z")

</div>

Hello everyone, everything good ?  
I need to create a repetition loop to go through my database and return the sum of all the data in a given column, but only the data that has a criterion as a reference.  
I’m not able to understand the logic and reproduce it in the blocks, can someone help me, please?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 20, 2023, 11:39pm UTC](https://community.thunkable.com/t/data-sum-return/2756518/2 "2023-12-20T23:39:40Z")

</div>

You need to provide an example of what you mean. Also, if you’ve tried to set up blocks for this, include a screenshot and explain what has and has not worked.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/data-sum-return/2756518/3 "2024-11-08T13:33:14Z")

</div>

Closed on November 8, 2024, 1:33pm UTC


