# Filter local Table

**URL:** <https://community.thunkable.com/t/filter-local-table/1260996>\
**Category:** Questions about Thunkable X\
**Created:** [May 3, 2021, 6:58pm UTC](https://community.thunkable.com/t/filter-local-table/1260996 "2021-05-03T18:58:51Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 3, 2021, 11:03pm UTC](https://community.thunkable.com/t/filter-local-table/1260996/21 "2021-05-03T23:03:57Z")

</div>

Excellent work 👏

I have only one comment about the `onMarkerPress` but it is just an enhancement of the code.

I can see that you are only checking one single column from the row. So I would suggest to have a variable list and store [list of values…locLati] In it before the loop.

In the loop for locLati not for ID just check if it matches the required Latitude and if YES then get the ID corresponding to the same index (counter) in the locLati list and read the row to obtain the image and name.

This way you will not require to read all rows to check for the required Latitude.

However, the existing code is just fine.

---

<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:22pm UTC](https://community.thunkable.com/t/filter-local-table/1260996/22 "2024-11-08T13:22:44Z")

</div>

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



[Previous page](https://community.thunkable.com/t/filter-local-table/1260996.md?page=1)
