# Help with filtering data

**URL:** <https://community.thunkable.com/t/help-with-filtering-data/1533340>\
**Category:** Questions about Thunkable X\
**Created:** [September 29, 2021, 10:23am UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340 "2021-09-29T10:23:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Pablo](https://community.thunkable.com/u/Pablo)\
**Post date:** [September 29, 2021, 10:23am UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340/1 "2021-09-29T10:23:42Z")

</div>

Hello everyone.  
I will try to explain as well as possible. I am developing an app based on places represented on a map.  
As there are 1700 places, I have created a series of filters.  
First, you select a region(1), then a category of accommodation (1 to 4) and then the type of service required (1 to 20).  
The search is done according to the following block:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/7/d7290828baadf497800e6ca799e433ba70f2c9d6.png)

The block searches in each item j, in the specified column, for the matching word in the variable.  
As it is, it works but it is very slow, it takes me minutes to do the search.  
I am convinced that there is a better way to do this but I don’t know how to do it.  
The database is brought from firebase and stored locally.  
I welcome suggestions.  
Thanks

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [September 29, 2021, 10:32am UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340/2 "2021-09-29T10:32:15Z")

</div>

GOOGLE MAPS GECODING - API

> **[Overview  |  Geocoding API  |  Google Developers](https://developers.google.com/maps/documentation/geocoding/overview?hl=en)**
>
> Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding finds an address based on geographic coordinates or place IDs.

MAPSQUEST API

> **[Geocoding API - Overview](https://developer.mapquest.com/documentation/geocoding-api/)**
>
> Documentation for the MapQuest Geocoding API. Associate latitude/longitude with given addresses to calculate routes, search, mark retail locations and more.

---

<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:** [September 29, 2021, 10:32am UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340/3 "2021-09-29T10:32:27Z")

</div>

It would be better to provide a link to the project or create a project that demonstrate the issue and share the link. The image is not clear and trying to recreate it in difficult.

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [September 29, 2021, 10:34am UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340/4 "2021-09-29T10:34:48Z")

</div>

> [@Pablo](#):
>
> I am developing an app based on places represented on a map.

as per you don’t need any data source or any. just  
GOOGLE MAPS GECODING - API  
MAPSQUEST API

---

<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:15pm UTC](https://community.thunkable.com/t/help-with-filtering-data/1533340/5 "2024-11-08T13:15:05Z")

</div>


