Enable $lookup for charts
Our team needs to get data from a separate collection to add to a chart. It is possible to add the field to our collection in the aggregation pipeline builder, however $lookup is unavailable for use in Charts.
11
votes
Andrew
shared this idea
The latest update of Charts allows you to add Lookup Fields from the chart builder UI.
-
AdminTom (Admin, MongoDB) commented
Thanks Andrew. It is actually possible to use $lookup in Charts already, but you need to use this on a Data Source pipeline - it isn't currently supported in the chart builder. However we have plans to support this in the chart builder too.