# Visibility and Filter Data based on values in a Relation column

**URL:** <https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042>\
**Category:** Ask for Help\
**Tags:** airtable, tutorial\
**Created:** [January 25, 2024, 11:47pm UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042 "2024-01-25T23:47:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![efileno](https://avatars.discourse-cdn.com/v4/letter/e/aeb1de/32.png) [@efileno](https://community.glideapps.com/u/efileno)\
**Post date:** [January 25, 2024, 11:47pm UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042/1 "2024-01-25T23:47:02Z")

</div>

I discovered Glide a few months ago and built a first app. I’m using it again now for another app, but it’s been a while and I’m struggling to remember how to set visibility and filtering criteria for a component based on the values in a relation column for the associated table.

For your context, I have two tables: an “Product issues” table with a list of issues that customers might have with a product (e.g., too big, too slow, etc.); and a “Questions to ask” table with a list of questions the store owners should ask to help resolve each issue (e.g., what size is the customer? how old is the customer? etc.)

For this app, I use data coming from Airtable through the integration. In Airtable, these two tables are connected with “linked columns”. As a result, in Glide, I have a relation column called “Questions” in my “Issues” table, and one called “Issues” in my “Questions” table.

I will note that for these relation columns, I cannot see all the settings I usually have when adding a relation column directly in Glide. For instance, I can’t check or uncheck “match multiple” for these automatically-created relation columns. That said, both columns have multiple items in them for a given row, so I assume it’s match multiple.

On the page dedicated to a given product issue, I want to have a list of the related questions. For this, I thought I could create a “List” collection component and add a visibility criteria like “Show component when the product issue’s “Name” is included in the “Product issues” relation column for a given question”. However, I can’t see to do that. I’m pasting a screenshot of what I see in the visibility settings.

![Glide Pull-Down](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d2807e38b38aeea30677087924fe7e5008440b99.jpeg)

In that pull-down, I expected to be able to select the “Questions” table and the “Product issues” relation column from that able. But I only see “User profile” and the columns from the “Product issues” table.

I hope this all makes sense. I’m sure I’m misunderstanding something obvious, but I haven’t used Glide in a few months. I was a newbie then and I’m not a rusty newby. I appreciate all the help. Let me know if I can add more details.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 26, 2024, 12:07am UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042/2 "2024-01-26T00:07:00Z")

</div>

Shouldn’t you use the relation as the data source for your collection, rather than trying to use it as a filter?

---

<div class="post-metadata">

**Author:** ![efileno](https://avatars.discourse-cdn.com/v4/letter/e/aeb1de/32.png) [@efileno](https://community.glideapps.com/u/efileno)\
**Post date:** [January 26, 2024, 11:34pm UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042/3 "2024-01-26T23:34:35Z")

</div>

Thanks @ThinhDinh for responding. You’re right; I’d forgotten you could use a relation table as the source in this case. Appreciate your help!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 26, 2024, 11:37pm UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042/4 "2024-01-26T23:37:38Z")

</div>

No worries, glad it could help!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 2, 2024, 11:38pm UTC](https://community.glideapps.com/t/visibility-and-filter-data-based-on-values-in-a-relation-column/70042/5 "2024-02-02T23:38:37Z")

</div>

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