# Employee list by location and subcategories

**URL:** <https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950>\
**Category:** Ask for Help\
**Created:** [April 13, 2020, 4:38pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950 "2020-04-13T16:38:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vazy\_Pro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vazy_pro/32/815_2.png) [@Vazy\_Pro](https://community.glideapps.com/u/Vazy_Pro)\
**Post date:** [April 13, 2020, 4:38pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/1 "2020-04-13T16:38:28Z")

</div>

Hello, I have created an app that lists employees and their locations, with an inline list per location listing who works in thta location. I now have to add a sub-category to one of those locations, because there are 2 departments in this location. But the other locations remain a simple list.  
If the inline list is configured already without this subcategory, how can I add it to just one of the locations?  
Thanks for your answer !

---

<div class="post-metadata">

**Author:** ![jony\_walker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jony_walker/32/2621_2.png) [@jony\_walker](https://community.glideapps.com/u/jony_walker)\
**Post date:** [April 13, 2020, 7:13pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/2 "2020-04-13T19:13:06Z")

</div>

I have the same problem and i don’t find the result ☹

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 13, 2020, 9:14pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/3 "2020-04-13T21:14:35Z")

</div>

Create the relation for departments…add those as inline lists…visibility set to relation is not empty. The other location set visibility to components where relation is empty. Might be a bit tedious setting all those visibility settings but it should work.

---

<div class="post-metadata">

**Author:** ![Vazy\_Pro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vazy_pro/32/815_2.png) [@Vazy\_Pro](https://community.glideapps.com/u/Vazy_Pro)\
**Post date:** [April 23, 2020, 7:21am UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/4 "2020-04-23T07:21:48Z")

</div>

Hello Robert, thanks so much for your reply.  
I’m sorry my response to you was so long in coming - we’ve been pretty occupied with other projects for the moment.  
I’ll work on this today and let you know if it’s been successful.  
Thanks again 🙂 India

---

<div class="post-metadata">

**Author:** ![Vazy\_Pro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vazy_pro/32/815_2.png) [@Vazy\_Pro](https://community.glideapps.com/u/Vazy_Pro)\
**Post date:** [April 24, 2020, 4:46pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/5 "2020-04-24T16:46:38Z")

</div>

Hello Robert,  
It worked - thanks for your comments which helped a lot!  
Kind regards, India

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 24, 2020, 5:07pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/6 "2020-04-24T17:07:07Z")

</div>

Pleasure to help!

---

<div class="post-metadata">

**Author:** ![Vazy\_Pro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vazy_pro/32/815_2.png) [@Vazy\_Pro](https://community.glideapps.com/u/Vazy_Pro)\
**Post date:** [May 8, 2020, 10:40am UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/7 "2020-05-08T10:40:22Z")

</div>

Hello Robert,  
In fact, after checking, we saw that the subcategory was applied to all of the locations.  
Can you explain in more detail how to do the configuring : _The other location set visibility to components where relation is empty_. ?  
I can send you screenshots if needed.  
Thanks so much :))  
India

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 9, 2020, 6:03pm UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/8 "2020-05-09T18:03:35Z")

</div>

Should be something like this.

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

---

<div class="post-metadata">

**Author:** ![Vazy\_Pro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vazy_pro/32/815_2.png) [@Vazy\_Pro](https://community.glideapps.com/u/Vazy_Pro)\
**Post date:** [May 11, 2020, 9:53am UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/9 "2020-05-11T09:53:35Z")

</div>

Hello, I do the configuring, and it works for the location with the 2 departments, but then I configure “is empty” for one of the other locations, and this configuration is applied to the first location with 2 departments 😕  
Can I share the app so you can see the sheet?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [May 11, 2020, 11:38am UTC](https://community.glideapps.com/t/employee-list-by-location-and-subcategories/6950/10 "2020-05-11T11:38:29Z")

</div>

That works. Make the app copiable and I’ll take a look.
