In this recipe, we will guide you through the steps required to pass parameters to a report based on a MongoDB query. Using parameters in our reports means that we can filter data from the data source so that users can find the information that they need faster than a report with ALL data. To do this, we are going to add a parameter to the report first and then parameterize our MongoDB query.
To get ready for this recipe, you will have to make sure your MongoDB instance is running.
Let's start by adding a parameter to the report: