How to show an average of items?

Hi there.

I’ve got the following DB setup.

Screenshot 2023-01-04 at 11.49.39

How do I create a repeating group, which gives me the average score per category, to look like the following?

Many thanks :smiley:

Hi there, @hemansu.keeka… you can use the :group by operator in the repeating group’s data source to group the data by category, and you can create an aggregation in the Group by window to do an average of the Score field. So, the data source would look something like this…

Hope this helps.

Best…
Mike

1 Like

This solved my issue, thanks so much @mikeloc! :smiley: ! :

1 Like