# In-app filtering in components?

**URL:** <https://community.glideapps.com/t/in-app-filtering-in-components/10629>\
**Category:** Ask for Help\
**Created:** [June 10, 2020, 1:06pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629 "2020-06-10T13:06:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:06pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/1 "2020-06-10T13:06:44Z")

</div>

Hi,

I have read all I could find on in-app filtering, but still never sure when it’ll be available to me or not depending on the layout.

Especially, it seems to never be available in components, even list relations. I know in-line list is not available yet, but I can’t seem to have it on a details screen for any of my components, whereas the tile or card layout will offer it.

Is that normal, by design? Or am I missing something?

Thanks a lot!

---

<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 10, 2020, 1:11pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/2 "2020-06-10T13:11:17Z")

</div>

If I’m not wrong, you can’t filter a details screen since it can contain elements from different sheets. The best practice, for me, with the new independent screen configurations, is to have only one home tab and link people to different screens where you can have that in-app filtering available.

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:14pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/3 "2020-06-10T13:14:35Z")

</div>

Thanks for your reply!

Indeed that works whenever you can dedicate full sheets to your screen. I sort of understand the detailed screen point as well, but people said they had this in-app filtering on list relations, and I thought that this could only be a component. Is that not the case?

Also, if I use the best practice you recommend, it means I am not using the icon menu at the bottom of the screen right?

---

<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 10, 2020, 1:18pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/4 "2020-06-10T13:18:47Z")

</div>

> [@Mehdi-HAJJAM](#):
>
> Also, if I use the best practice you recommend, it means I am not using the icon menu at the bottom of the screen right?

Yes that’s true, I would recommend people to have a setup like this to make things compact and have only 1 “home screen”.

> [@Create a compact homepage](https://community.glideapps.com/t/compact-homepages-like-never-before/10338/6):
>
> This is amazing

> [@Mehdi-HAJJAM](#):
>
> in-app filtering on list relations

Correct me if I’m wrong, but list relations brings up a new screen as well right?

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:25pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/5 "2020-06-10T13:25:52Z")

</div>

No you’re right about list relations. I was looking on the wrong screen to see the in-app filtering capabilities they provide, I see it now.

Thanks for the link for the compact home pages. It does allow for a compact home page, and also if I am not mistaken, to filter menu options based on user roles, which the tab menu does not allow.

But one drawback I see is that I need to get back to this menu to change between two screens, whereas the tab menu is always available, and you change between screens in one click. It seems smoother to me in this respect.

But yeah with the options available now, you are much more constrained on the tab menu than with the method you recommend.

---

<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 10, 2020, 1:30pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/6 "2020-06-10T13:30:28Z")

</div>

Yeah I guess there are trade-offs as you said. Whatever fits you and try to find workarounds, I suppose.

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:32pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/7 "2020-06-10T13:32:30Z")

</div>

True. My case here is a user can either be role A or role B, and because I have to show the same tabs for all users no matter their role, I want to show different things on screen depending on who they are. That I can do, but then I lose the in-app filtering capability while doing so, which can be so useful.

So looking for a workaround giving me the best of both worlds here 😀

---

<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 10, 2020, 1:33pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/8 "2020-06-10T13:33:34Z")

</div>

What do you want to filter on. Would a choice component work? I have done that setup for quite a few of my apps and would be able to advise you.

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:43pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/9 "2020-06-10T13:43:09Z")

</div>

Thanks for proposing your help. At the moment I don’t want to use a choice component for the filtering because I can’t select more than one option for a given field (say I select years, I can’t select both 2019 and 2020, unless I add 2 choice components -right?).

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 1:58pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/10 "2020-06-10T13:58:40Z")

</div>

I think I actually just got it working, thanks to our discussion.

I created an IF-THEN-ELSE column in the data editor, in the sheet containing the items I wanted to use for the in-app filtering. I used the user profile capability to create the following conditions:  
IF user role is A then TRUE  
IF email of the item creator is user email then TRUE  
ELSE  
FALSE

Simple filtering on that column did the trick.

Thanks again for your quick replies!

---

<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 10, 2020, 2:05pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/11 "2020-06-10T14:05:52Z")

</div>

Nice to hear you found a way 😄 If you have any further things to ask I’m here to help.

---

<div class="post-metadata">

**Author:** ![Mehdi-HAJJAM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mehdi-hajjam/32/8527_2.png) [@Mehdi-HAJJAM](https://community.glideapps.com/u/Mehdi-HAJJAM)\
**Post date:** [June 10, 2020, 2:17pm UTC](https://community.glideapps.com/t/in-app-filtering-in-components/10629/12 "2020-06-10T14:17:52Z")

</div>

Thanks a lot!!
