Performing simple calculations using database data

Hi,

I have a database with restaurants and reviews. Within the app, I’d like to display the restaurant’s AVERAGE review (which would be calculated from the numerous restaurant reviews in the database).

Is there a way to do this in bubble.io?

Thank you in advance.

Chris

Hi there, @DishMVP… what you have described can definitely be done in Bubble, and you would do it with a repeating group and the addition of the :group by option to the repeating group’s data source. So, something like this…

Hope this helps.

Best…
Mike

Thank you! Your suggested solution worked great.

1 Like