# "Rating" should show average stars and number of votes

**URL:** <https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104>\
**Category:** Feature Requests\
**Created:** [December 20, 2020, 1:12pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104 "2020-12-20T13:12:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 20, 2020, 1:12pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/1 "2020-12-20T13:12:59Z")

</div>

“Rating” feature should show average stars and number of votes and it should have option to rate for non sign in users.

---

<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:** [December 20, 2020, 2:40pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/2 "2020-12-20T14:40:13Z")

</div>

This is also another call for rollup over user-specific columns, which I think is nowhere near staging level.

With actions now, we can do this with multiple math columns though (Instead of the old way of adding multiple rows).

---

<div class="post-metadata">

**Author:** ![MaxB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxb/32/15623_2.png) [@MaxB](https://community.glideapps.com/u/MaxB)\
**Post date:** [January 7, 2021, 10:17pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/3 "2021-01-07T22:17:21Z")

</div>

I think you should be able to make both, average, and votes number, with the instruments we already got.

Also, are you sure not signed in users can’t vote?

---

<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:** [January 7, 2021, 10:23pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/4 "2021-01-07T22:23:02Z")

</div>

I think the room for improvement here is that users still have to click a button with the right compound action for this to work. It would be nice UX if they don’t have to click twice.

---

<div class="post-metadata">

**Author:** ![MaxB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxb/32/15623_2.png) [@MaxB](https://community.glideapps.com/u/MaxB)\
**Post date:** [January 7, 2021, 10:26pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/5 "2021-01-07T22:26:50Z")

</div>

Not sure I understand what you mean, but I didn’t actually make a version of voting, just saw I could make the average and the sum etc

---

<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:** [January 7, 2021, 10:29pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/6 "2021-01-07T22:29:35Z")

</div>

Let’s say we have a user specific column to write the choice to, then users would still have to click on a button to increment the total vote points and the total number of votes for you to be able to calculate the average.

---

<div class="post-metadata">

**Author:** ![MaxB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxb/32/15623_2.png) [@MaxB](https://community.glideapps.com/u/MaxB)\
**Post date:** [January 7, 2021, 10:33pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/7 "2021-01-07T22:33:14Z")

</div>

Custom action, increment number of totale votes, there should be a math function to add the vote the user just gave to the total of the votes, calculate average. Not?

---

<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:** [January 7, 2021, 10:34pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/8 "2021-01-07T22:34:37Z")

</div>

You can’t do custom action on a rating component, so that’s why we needed the extra button with the custom compound action.

---

<div class="post-metadata">

**Author:** ![MaxB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxb/32/15623_2.png) [@MaxB](https://community.glideapps.com/u/MaxB)\
**Post date:** [January 7, 2021, 10:40pm UTC](https://community.glideapps.com/t/rating-should-show-average-stars-and-number-of-votes/20104/9 "2021-01-07T22:40:18Z")

</div>

ok got it
