Gathering an average score
Options
![Ricky Arnold](https://us.v-cdn.net/6037124/user_avatars/4369894.jpg)
Ricky Arnold
Member ✭
Hello! I plan to have a 5 star rating system in my frontend to rate baseball players. How would I go about gathering individual users scores and averaging them into an overall rating for the player (2/5, 4/5, 5/5, etc.=???)?
Comments
-
You can do that inside Query All Records.
Edit the return type to aggregate. You can explore different ways to group and average your data inside there. Here is some documentation on the topic - https://docs.xano.com/working-with-data/addons/aggregate
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback