# Retrieving only certain data within a repeating group

**URL:** <https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569>\
**Category:** Database\
**Created:** [January 8, 2021, 5:28pm UTC](https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569 "2021-01-08T17:28:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crocobill](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/crocobill/32/81652_2.png) [@Crocobill](https://forum.bubble.io/u/Crocobill)\
**Post date:** [January 8, 2021, 5:28pm UTC](https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569/1 "2021-01-08T17:28:39Z")

</div>

Hello,

I have a very noob question.  
In my database, I have a list of names. For each name there is a department that is associated (marketing, finance…)  
If I only want to display the finance guys within the Repeating group, how do I do that ?  
I don’t want to use an input box where the user filters data. I want this to appear automatically on the page…

Thanks a lot! I have been struggling with this for quite some time…

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [January 8, 2021, 5:33pm UTC](https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569/2 "2021-01-08T17:33:47Z")

</div>

Hi there, @Crocobill… if I understand your question correctly, you just need to add a constraint to your repeating group’s data source. So, if your data source is a search for users, add a constraint to the search that looks something like `department = finance`, and then the search will only pull back users where that constraint is met. Make sense?

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![Crocobill](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/crocobill/32/81652_2.png) [@Crocobill](https://forum.bubble.io/u/Crocobill)\
**Post date:** [January 8, 2021, 5:38pm UTC](https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569/3 "2021-01-08T17:38:30Z")

</div>

Hey Mike,

It works now. Thanks so much.  
Sorry for the stupid question…

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [January 8, 2021, 5:46pm UTC](https://forum.bubble.io/t/retrieving-only-certain-data-within-a-repeating-group/129569/4 "2021-01-08T17:46:10Z")

</div>

No worries at all… happy to help. Oh, and your question definitely wasn’t stupid, but it is related to something fundamental to understanding Bubble. So, just food for thought… if you haven’t done the tutorials yet, definitely check them out because they are great for getting the fundamental concepts down so you can move on to banging your head against the wall on the next set of challenges. 🙂

Welcome to Bubble!

Best…  
Mike
