Sum of option set

Hey guys

I have an opition set that defines the status of each service as:

Received
In progress
Concluded
Delivered

What expression should I use to add up how many are in “received” status, how many are in “In progress” and so on

I’m assuming you’re searching for the services right?

If so, you can just add constraints to the status i.e. status = received or in progress

You would then add a count operator after the search to see how many services are received, in progress, etc

I’m creating a general panel for the user, I want him to see the number of things that are in each status of the options sets

#Example:

Cars received: (sum of all cars that have an option set marked with the received display)

Yes, just do what I said in my previous comment.

If your services are in an RG, you could also reference to that RG (add a filter if you haven’t added a constraint - won’t suggest doing this a lot though esp if you have tons of data) and just add the count operator just like what you would do in a search

Is that how you’re talking?

11
Forgive me if I’m being a layman, I’m new to the bubble

Yes, that’s pretty much it

No worries. Welcome to Bubble!

Thank you very much for your support my friend