boolean aggregation
Right now you can only count/distinct boolean types. It would be nice if you could count true or false only values.
3
votes
Ștefan-Gabriel
shared this idea
Supported using “Count by Value”
-
AdminTom (Product Manager, MongoDB) commented
Thanks Stefan-Gabriel. If you only want to see true values, you can add a filter on the field to achieve this.
In addition, we're looking at adding a new "count by value" aggregation on string and boolean types which would automatically create series from the values discovered in the field.
Do either/both of these work for you?