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 Submitted
Categories Charts
Created by Guest
Created on Sep 28, 2020

Get the fields corresponding to a Max/Min document

When I view the max/min aggregate in the charts, I would like to see the corresponding document's field. For example, I want to visualise a table like below, _id max(field1) field2_of_maximum_field1