# Issue filtering a collection

**URL:** <https://community.glideapps.com/t/issue-filtering-a-collection/74394>\
**Category:** Ask for Help\
**Created:** [June 26, 2024, 2:10pm UTC](https://community.glideapps.com/t/issue-filtering-a-collection/74394 "2024-06-26T14:10:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumgii](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sumgii](https://community.glideapps.com/u/sumgii)\
**Post date:** [June 26, 2024, 2:10pm UTC](https://community.glideapps.com/t/issue-filtering-a-collection/74394/1 "2024-06-26T14:10:29Z")

</div>

I have a very frustrating issue, that I suspect is going to sound more complicated that it is.

In essence, I don’t seem to be able to filter a collection as I think I should be able to. I’ll explain.

- My “internal user” view lists all clients
- I cilck on a client to see a page for that client
- This client page includes a number of collections, including one for “Actions”
- If you click an Action you get a details popup with information about the action, but also a comment thread for comments relating to that action

The issue: I do not seem to be able to limit the comments to show only those relating to the action am viewing.

This works find in the clients view, but I think the extra level of “drill down” means I don’t have the right variable available in the filter options . I seem to only be able to select the comments table or what I think is the clients table. Not the action table.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/8/f8017eae46841a07bd2720f494ccef15595be1e4.png)

(the Act Row field is also comments table )

I can output the row IDof the actions table on that screen fine. I just don’t seem to be able to use it in the filter.

Any thoughts?

Data stricture is:  
Client  
Actions : Linked to Client on a ClientID field  
Comments : Linked to Actions on Act Row

---

<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:** [June 27, 2024, 12:56am UTC](https://community.glideapps.com/t/issue-filtering-a-collection/74394/2 "2024-06-27T00:56:37Z")

</div>

> [@sumgii](#):
>
> If you click an Action you get a details popup with information about the action, but also a comment thread for comments relating to that action

If you’re showing a screen on top of the Actions table, then you should be able to do that.

An alternative for you is building a relation in the Actions table, make it a multiple match, to the Comments table, and use that for your Collection.
