# Roll up a look up

**URL:** <https://community.glideapps.com/t/roll-up-a-look-up/13022>\
**Category:** Report a Bug\
**Created:** [July 24, 2020, 12:23am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022 "2020-07-24T00:23:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![noneight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noneight/32/5351_2.png) [@noneight](https://community.glideapps.com/u/noneight)\
**Post date:** [July 24, 2020, 12:23am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022/1 "2020-07-24T00:23:38Z")

</div>

My app’s URL: [https://decorous-impulse-0667.glideapp.io/](https://decorous-impulse-0667.glideapp.io/)

Hello guyz,

I count ( **rollup** ) the number of item in a **look up column**. It works but I think i have a display bug :

 ![TEst2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/f63c7072ee638af8296396ba1e089af6c64dc625.gif)

**If it is a real bug** , in other tab i can’t count my **look up column** 😅 :

 ![TEST3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/5b3ee8ded3e81b5e1c92cc3ff9ecc2ab2098cb4a.gif)

---

<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:** [July 24, 2020, 12:32am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022/2 "2020-07-24T00:32:14Z")

</div>

Your rollup should be against the relation. You can’t rollup a lookup. I have no idea how you even have numbers in your count column in your first gif. That should explain why the you can’t do it in the second gif. You should be pointing to the column through the relation.

---

<div class="post-metadata">

**Author:** ![noneight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noneight/32/5351_2.png) [@noneight](https://community.glideapps.com/u/noneight)\
**Post date:** [July 24, 2020, 12:38am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022/3 "2020-07-24T00:38:38Z")

</div>

The **Rollup** in my gif 1 is still good for each line.

I tried to **Rollup** a **Relation** , but it doesn’t work everytime 🤷‍♂️

 ![TEST3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/905c73fc49c7b2e1fba425b1114cd65611ca2c0c.gif)

---

<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:** [July 24, 2020, 12:52am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022/4 "2020-07-24T00:52:42Z")

</div>

That’s probably because you renamed the relation after creating it. That’s an outstanding bug that’s been around for awhile. Recreate the relation with the proper name before before hitting done. Then you should be able to do your rollup.

---

<div class="post-metadata">

**Author:** ![noneight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noneight/32/5351_2.png) [@noneight](https://community.glideapps.com/u/noneight)\
**Post date:** [July 24, 2020, 12:53am UTC](https://community.glideapps.com/t/roll-up-a-look-up/13022/5 "2020-07-24T00:53:18Z")

</div>

It works ! thanks Jeff 🙂
