I’m a relatively new Bubbler; I’ve been at it for a few months, taking courses and lurking here. I’ve finally come across a question I haven’t been able to find an answer to…
I have a database table (pasted below) that is tracking the number of questions and answers asked in a survey for a project. Each survey will have an undefined number of recipients and questions. Recipients can answer any number of the questions asked. It’s not mandatory that they answer all questions. However, a survey is only considered “complete” when all recipients have completed ALL questions. This is what I’m trying to count.
I tried using backend workflows to do this, but couldn’t get past the fact that I’m not actually making changes to any things, I’m just trying to count them.
I’ve almost settled on having to write this up in JavaScript but I keep thinking there’s gotta be a way to do this in Bubble natively.
(For this sample screen cap, all surveys belong to the same project, and only survey vPx… is “complete” since its two recipient companies have answered all questions.)
So to recap quickly:
- A project can have many surveys.
- A survey has N questions
- A survey has X recipients
- Recipients can answer any number of questions
- A survey is only considered “complete” when all questions are answered by all recipients.
For any given project, I need to be able to count how many surveys are complete.
What am I missing here…? Any guidance is most appreciated. Thank you!