Adding a Parameter

In addition to locally executing a report directly from Report Designer, you can also publish it to the Pentaho BI Platform where it can then be viewed using the Pentaho User Console. If you've created a parameterized report (a report that requires user input through the BI Platform Web interface in order to run), you must publish to the BI Platform in order to take advantage of its interactive elements.

Follow the instructions below to add parameterization to your report, publish it to the BI Platform, and run it from the solution repository.

  1. Click the Data tab and double-click on default. The JDBC Data Source dialog box appears.
  2. In the JDBC Data Source dialog box, click (the Edit icon on the right).
  3. Under Choose Schema, select Public, and click OK to open the Query Designer.
  4. Under the PRODUCTS table, right-click on PRODUCTLINE and select add where condition.
  5. In the condition edit dialog box, type ${ENTER_PRODUCTLINE} and click OK.
    Important: Use {curly brackets} not (parentheses) around your parameter.
  6. Click OK to exit the remaining dialog boxes and to save your query.