Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Charts
Created by Guest
Created on Jul 13, 2020

boolean aggregation

Right now you can only count/distinct boolean types. It would be nice if you could count true or false only values.
  • ADMIN RESPONSE
    Oct 18, 2025
    Supported using "Count by Value"
  • Guest
    Jul 14, 2020
    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?