Optional Aggregation
Most chart types rely on aggregation due to the nature of MongoDB datasets. Sometimes I have simple datasets where I want to set a field not as an aggregation but as the value of a field. Yes, we could use spreadsheets to achieve this, but its nice having all the charts in one interface
3
votes
John
shared this idea
-
AdminTom (Product Manager, MongoDB) commented
Hi John, can you give an example? When we have aggregation channels it means the chart expects a number (e.g. to show the length of a bar). In the case where you only have one document in a category, an aggregation like Sum, Min or Max will all return the raw value.