Building Data Intensive Apps

I am not sure if you have seen this thread yet or not:

But you could potentially group data using this feature. I am not sure, whether you are currently saving the information after fetching in the Bubble DB or trying to process it directly. You might need to see how best you could implement it, but just want to highlight this capability.

Otherwise, ofcourse, you could always do all this processing somewhere else and then just fetch the processed data into Bubble.