O'Reilly logo

Pentaho Analytics for MongoDB Cookbook by Harris Ward, Joel Latino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding parameters to a report

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.

Getting ready

To get ready for this recipe, you will have to make sure your MongoDB instance is running.

How to do it…

Let's start by adding a parameter to the report:

  1. In Report Designer, go to File | New.
  2. Click on the Data tab in the top-right corner of Report Designer.
  3. Right-click on the Parameters item in the list and select Add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required