# Show only unique values in a repeating group

**URL:** <https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300>\
**Category:** Need help\
**Created:** [March 31, 2024, 2:31pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300 "2024-03-31T14:31:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalicofresi](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dalicofresi](https://forum.bubble.io/u/dalicofresi)\
**Post date:** [March 31, 2024, 2:31pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/1 "2024-03-31T14:31:26Z")

</div>

Hello forum im stuck with a problem on my repeating group, I create a list of items with a unique id of which I only want to be shown once and I don’t know how to place the unique element.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/b/eb1b84f448bb827142252ceab6eda80980068e81.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/c/2ce30cee3282ee0fe5a73503c37f94798f370b8e.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/8/08ae37d5af2403eec5cec785f4ada35765f28d72.png)

please help

---

<div class="post-metadata">

**Author:** ![yamada.shoji99](https://avatars.discourse-cdn.com/v4/letter/y/76d3ee/32.png) [@yamada.shoji99](https://forum.bubble.io/u/yamada.shoji99)\
**Post date:** [March 31, 2024, 3:22pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/2 "2024-03-31T15:22:21Z")

</div>

I’m assuming you’re using a searchbox to search for unique ID, can you show how did you set up the searchbox?

---

<div class="post-metadata">

**Author:** ![dalicofresi](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dalicofresi](https://forum.bubble.io/u/dalicofresi)\
**Post date:** [March 31, 2024, 6:05pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/3 "2024-03-31T18:05:01Z")

</div>

actually no, i do have a search box but that is the repeating group without any constraint, what i want is a constraint that only show 1 unique ID, you may notice that i have create 3 different orders with 3 different unique ID but it shows all items created under that unique id

---

<div class="post-metadata">

**Author:** ![nico.dicagno](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nico.dicagno/32/207961_2.png) [@nico.dicagno](https://forum.bubble.io/u/nico.dicagno)\
**Post date:** [March 31, 2024, 6:09pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/4 "2024-03-31T18:09:10Z")

</div>

> [@dalicofresi](#):
>
> it shows all items created under that unique id

What does this mean?  
I can see from the table that some line-items have the same unique ID… why is this?

---

<div class="post-metadata">

**Author:** ![dalicofresi](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dalicofresi](https://forum.bubble.io/u/dalicofresi)\
**Post date:** [March 31, 2024, 6:10pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/5 "2024-03-31T18:10:19Z")

</div>

see the first column call ID, i want to only show 1 time instead of the repeating ones

---

<div class="post-metadata">

**Author:** ![nico.dicagno](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nico.dicagno/32/207961_2.png) [@nico.dicagno](https://forum.bubble.io/u/nico.dicagno)\
**Post date:** [March 31, 2024, 6:24pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/6 "2024-03-31T18:24:44Z")

</div>

Do you just want to display the first one? Or one in particular?

Using a searchbox seems wasteful here. Replace it with an input field

Add a conditional on your RG that activates when the Input’s value is not empty, and change the datasoure of your RG to `Do a search for Overtime requests (Overtime id = input's value): first item:converted to list`

Having said that, it doesnt make much sense to have a unique ID which is shared by multiple entries… its meant to be unique.

---

<div class="post-metadata">

**Author:** ![jahanzeb.khn07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jahanzeb.khn07/32/205393_2.png) [@jahanzeb.khn07](https://forum.bubble.io/u/jahanzeb.khn07)\
**Post date:** [March 31, 2024, 7:06pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/7 "2024-03-31T19:06:30Z")

</div>

You’ll need to set this up in a separate table for example  
You have an order table and a user places an order x

Now all entries included in x will have unique ids ex, a, b, c

Then you need to use nested repeating groups to show order  
x which includes a,b,c

---

<div class="post-metadata">

**Author:** ![jahanzeb.khn07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jahanzeb.khn07/32/205393_2.png) [@jahanzeb.khn07](https://forum.bubble.io/u/jahanzeb.khn07)\
**Post date:** [March 31, 2024, 7:07pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/8 "2024-03-31T19:07:20Z")

</div>

@dalicofresi if you need help with this dm me I can help set this up easy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 9, 2024, 2:31pm UTC](https://forum.bubble.io/t/show-only-unique-values-in-a-repeating-group/315300/9 "2024-06-09T14:31:57Z")

</div>

Closed on June 9, 2024, 2:31pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
