# How to add specific items to a list

**URL:** <https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189>\
**Category:** Questions about Thunkable X\
**Created:** [September 2, 2021, 9:20am UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189 "2021-09-02T09:20:09Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 10, 2021, 11:41am UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/21 "2021-09-10T11:41:01Z")

</div>

Hi Munner, sorry for the delay, I was trying to make the function you showed me faster, to filter the data.

 ![WhatsApp Image 2021-09-10 at 08.21.49](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/5/15a6ca08b1101fbe6d63b7ec69153fb6b9280de8.jpeg)  
but now it stopped working I don’t know what happened, when I test on my phone it doesn’t filter the products  
 ![WhatsApp Image 2021-09-10 at 08.21.49 (1)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/2/12a34e1e512238b15eef45f8a200e31065799427.jpeg)  
I did a test creating a project from scratch and it only worked 3 times and then it didn’t work anymore

here is the project that I created to test and it seems that thunkable is with problems  
[https://x.thunkable.com/copy/639a16a56ad16129f5ecb0beadd1d3ce](https://x.thunkable.com/copy/639a16a56ad16129f5ecb0beadd1d3ce)

Anyway, what I want is to be able to filter the elements by ID as you did in the demo but make it faster, because it takes a long time to filter the elements by id when there are many products

---

<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 10, 2021, 12:17pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/22 "2021-09-10T12:17:21Z")

</div>

Let me show you a different way but I need to let me know which Airtable table you want to filter.

Please give me the following info from the Airtable link you shared

- The table that has the IDs you want the user to select from.
- The table that has the products that you want to show with only selected ID.

I will then create an app that does this and hopefully in a faster way.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 10, 2021, 4:16pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/23 "2021-09-10T16:16:10Z")

</div>

thank you very much munner.

this section would be the first thing that would appear in the application  
 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/6/96e8cf69042397a67535cffd106b547dc456c835.jpeg)

when I click on any section, it would take me to the subcategory according to its id

![2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e399bf725b88dc5fbf18e66f75ebe7a6b1ccaffa.jpeg)

then when we click on the subcategory I would create the list of products according to their id

 ![3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/0/00cc246dbb04b06ee146d53c1dc435bfb311473a.jpeg)

and this is what would remain, categories, subcategories, list of products

 ![CaptSDSDSDra](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/a/fa9d0074fc86999805574c080fbda81b4f1d7a5e.jpeg)

The demo you had put together I understood perfectly, only it was very slow to filter the data.  
if you have to modify any data in airtable, do it freely

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 13, 2021, 12:35pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/24 "2021-09-13T12:35:23Z")

</div>

Hi Munner, how are you?  
I have tried to make it faster to create the list of products according to their id but I have not succeeded.  
Have you been able to do any tests to speed up the process, to create a list with their identification?.  
Look here I leave you a video where you can see how it takes to generate the list according to its id

[https://res.cloudinary.com/djizi7nz9/video/upload/v1631536501/WhatsApp\_Video\_2021-09-13\_at\_09.23.38\_jw7lat.mp4](https://res.cloudinary.com/djizi7nz9/video/upload/v1631536501/WhatsApp_Video_2021-09-13_at_09.23.38_jw7lat.mp4)

---

<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 13, 2021, 12:43pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/25 "2021-09-13T12:43:22Z")

</div>

I’m testing a different way that would not need a local table to delete and write into and should make things much faster. Will update you with my tests.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 13, 2021, 1:22pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/26 "2021-09-13T13:22:50Z")

</div>

thank you very much munner 😮 👏 👏 😃 😃

---

<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 14, 2021, 9:57am UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/27 "2021-09-14T09:57:39Z")

</div>

Hello @Vaiper_watafai

As promised, see this project  
[https://x.thunkable.com/projectPage/6140656c0e4bf00010f128b5](https://x.thunkable.com/projectPage/6140656c0e4bf00010f128b5)

It asks to specify a category then a subcategory (it is not clear to me how to select a subcategory from a category) then you have two buttons **Show selected** and **Show all**.

check both buttons and let me know the speed of the filtering process. This process does not use local tables.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 14, 2021, 4:16pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/28 "2021-09-14T16:16:19Z")

</div>

Thank you very much munner, I just tried and it’s very fast this is extraordinary.  
As for the subcategory, don’t worry, I’m going to skip that function, I just need to do the same as you.  
I have to do the same but with the data viewer.

 ![sdsdsd](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/c/3c1487165fec33107126c8f3fb04e215f6b4f843.jpeg)

I have to do like the demo recently that you gave me, but with the data viewer  
in short this would be the end result

 ![Casdsdsddptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/a/3a1941a3217f47f8ee5a60253b55fef4a1fb3d28.png)

Let’s see if it will be fast with the data viewer.

---

<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 14, 2021, 5:02pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/29 "2021-09-14T17:02:19Z")

</div>

The way I programed it should give very fast result.

For the first image, as you know when you copy the project you need to reconnect the tables of Airtable again.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 14, 2021, 8:00pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/30 "2021-09-14T20:00:44Z")

</div>

sorry i didn’t connect the database. the database was made local 😅😅

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 15, 2021, 10:28am UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/31 "2021-09-15T10:28:51Z")

</div>

Hello Munner, now I tried the demonstration you gave me, it is fast when accessing the categories, only when I click on the button to see the filtered products, nothing happens

 ![Cdfdfaptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d4e461b8fae800eccdf4b6688a2836c1afb5e734.jpeg)

Look here I found and made an example, as is what I need and it works fast and creates the list according to the id

 ![Csdsdaptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/8/48931fc792e67c619521b49a961fd85601a4500d.jpeg)

 ![WhatsApp Image 2021-09-15 at 03.06.49](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0e098a287f5c8b225bf1e92ffab8225a7b398b5d.jpeg)  
unfortunately I think thunkable doesn’t have the compare text block, and I don’t know how to make those blocks, but in thunkable

---

<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 15, 2021, 10:40am UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/32 "2021-09-15T10:40:21Z")

</div>

This is the block to compare text  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/e/8ef08827d85ccb4ab8ddc28760846762ceef5635.png)

The project I designed compares the code and filter based on that.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/5558f5bc3c3aea7319676fc02784b89cf7a4d190.png)

In the `data viewer` look at the ID field and see that it all has the same ID.

The only problem in the code is that it assumes the ID is text and compares it as text. If the column ID is number in your table then you need to change the consition.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 15, 2021, 2:51pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/33 "2021-09-15T14:51:48Z")

</div>

muneer, I finally got it now if it works well and fast, thank you very much for the help you are giving me

[https://res.cloudinary.com/djizi7nz9/video/upload/v1631717361/20210915\_113223\_wzrj4t.mp4](https://res.cloudinary.com/djizi7nz9/video/upload/v1631717361/20210915_113223_wzrj4t.mp4)

this is the logic I applied

 ![Csdsdaptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/8/48931fc792e67c619521b49a961fd85601a4500d.jpeg)

---

<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 15, 2021, 2:57pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/34 "2021-09-15T14:57:22Z")

</div>

Good that this is solved but the blocks you are showing is not Thunkable X.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [September 15, 2021, 2:59pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/35 "2021-09-15T14:59:30Z")

</div>

exactly those blocks are not thunkable, that’s the logic I used these are the blocks

 ![SDSDCaptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/c/9ccc5d9564473682a61e7a36468dbfbf31bc0772.jpeg)

---

<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:16pm UTC](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189/36 "2024-11-08T13:16:59Z")

</div>

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



[Previous page](https://community.thunkable.com/t/how-to-add-specific-items-to-a-list/1483189.md?page=1)
