Tuesday, 4 November 2014

Dynamic columns in reports / dashboards - OBIEE 11g

I got this requirement from my client, i.e. we can select any of the dimension listed over there and according to that, the report on the dashboard should get changed.

To be more clear, one example I will illustrate on this. The scenario is,

Time, Product,  Offices, etc.  are the dimensions in your repository. On this, there will be three radio buttons having values Year, Product Type, and Office.

There's a report which will be having one table view and bar graph for that. (just for example, it can view)

Now the actual requirement is, when you select any of the value from radio button list, the report's dimension should get changed. 

For example, suppose the default view of the report is "Year" vs. "Revenue".

Now when you select "Product Type" value from the list, the report will get changed as "Product Type " vs. "Revenue".

To achieve this, we can refer the following steps.
  • Create one sample report as follows,

  • Add bar graph to this analysis.
  • Create one dashboard level prompt.
  • Click New to add a new prompt.
  • Put the following values as per our example.
  • In the display section, you will be having following screenshot.

  • Click OK when you finished. Save this prompt.
  • Open the previously saved analysis in EDIT mode.
  • Go to the Criteria tab.
  • Select Column Properties of the "Per Name Year" column.
  • Here, you will be setting the presentation variable name as a dimension for the report.

  • Save the analysis.
  • Now just drag and drop this prompt & report to the dashboard.
  • Save the dashboard and click on Run button.

  • Here you can see, the default dimension is set to "Time Per Year".

  • Now change the dimension value from the list to change the attributes of the reports.

Related links,

Happy stay.. :-)


No comments:

Post a Comment