# Show items in Data Viewer List based on user input (Buttons etc)

**URL:** <https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850>\
**Category:** Questions about Thunkable X\
**Tags:** data-viewer\
**Created:** [February 16, 2022, 5:56am UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850 "2022-02-16T05:56:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattpb](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mattpb](https://community.thunkable.com/u/mattpb)\
**Post date:** [February 16, 2022, 5:56am UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/1 "2022-02-16T05:56:27Z")

</div>

Hi all,

I have an app that has a data viewer list that is connected to an airtable. This list has for example courses by venue, course content, price, location, etc. I would like to put some user input for example a slider for price, or a slider for distance from my location and then only show the items in the data viewer list that are applicable to the input provided. The type of input i expect as mentioned is a slider for distance from my location, days the courses are on (So multi-selection), price slider.

thanks in advance.

---

<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:** [February 16, 2022, 8:40am UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/2 "2022-02-16T08:40:57Z")

</div>

See this demo  
[https://x.thunkable.com/projectPage/6182dddab8ae1a001142ac60](https://x.thunkable.com/projectPage/6182dddab8ae1a001142ac60)

It will help you to show the required results based on a section.

---

<div class="post-metadata">

**Author:** ![mattpb](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mattpb](https://community.thunkable.com/u/mattpb)\
**Post date:** [February 16, 2022, 11:49am UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/3 "2022-02-16T11:49:32Z")

</div>

Hi this only seems to work on the first field table  
If I change the filter to use another field from the airtable it does not return anything. The example i am trying is for restaurants

 ![Block](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/0/c0bd7a9288b10aed79021576e071685ed027d131.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:** [February 16, 2022, 12:02pm UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/4 "2022-02-16T12:02:05Z")

</div>

> [@mattpassbowenhq](#):
>
> If I change the filter to use another field from the airtable it does not return anything

When you change the filter you need to make sure you are comparing it to the correct column in the DVL (Date Viewer List) so that it gives the expected results.

The code now compares the selected item from the `drop down list` to the `Title` column in the DVL. Does the `Title` column contains the `Deal Category`?

---

<div class="post-metadata">

**Author:** ![mattpb](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mattpb](https://community.thunkable.com/u/mattpb)\
**Post date:** [February 16, 2022, 12:05pm UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/5 "2022-02-16T12:05:19Z")

</div>

Hi,

No the item is not in the title column. How do i amend so that i can compare to other columns?

---

<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:** [February 16, 2022, 12:14pm UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/6 "2022-02-16T12:14:43Z")

</div>

> [@mattpb](#):
>
> How do i amend so that i can compare to other columns?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/f/bf790d09f16fa6cb0edf5b6efc847bd6ec21a5d1.png)

Change the column in the `IF CONDITION` to the one that contains the correct info.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 17, 2022, 12:15pm UTC](https://community.thunkable.com/t/show-items-in-data-viewer-list-based-on-user-input-buttons-etc/1736850/7 "2022-05-17T12:15:03Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
