One of the common questions that generally come up with regard to BI EE and BI Publisher is ‘how does one pass parameters to BI Publisher reports in Dashboards?’. One of the solution is to create a BI Publisher Report using HR-scheme as data source. Define a parameter for the BI Publisher report and then match this parameter name while assigning the presentation variable for the dashboard prompt.
This method is generally the most used since most of the BI Publisher reports would have database as the data source.
We create a simple BI Publisher report with data coming in from HR-schema of the database.
- Default Data Source: HR
- Parameters per line: 1
- Show Controls: unchecked
Overview BI Publisher Report:
Note: The name of the presentation variable must exactly match that of BI Publisher parameter name.
We set default value to ‘IT’ and assign presentation variable to ‘pDept’.