Oracle® Business Intelligence Standard Edition One Tutorial Release 10g (10.1.3.2.1) E10312-01 |
|
![]() Previous |
![]() Next |
In this chapter, you publish data on dashboards for user access. You use Oracle BI Interactive Dashboards to:
Build a custom Dashboard to contain the BI Answers requests and views you created in the last chapter.
Work with dashboard prompts to filter your dashboard and populate variables.
This chapter contains the following topics:
If you have not completed the previous chapters, you must first populate the BISE1_TUTORIALWH schema before proceeding with this chapter. Section 2.2.2.3, "BISE1_TUTORIALWH Schema" explains how to do this.
If you have not completed the previous chapters, you must also replace the BI metadata repository file, as follows:
Shut down the BI Server service.
Copy tutorial\bi_ad\bise1_soln.rpd
to the bi\oraclebi\server\repository
directory.
Rename bi\oraclebi\server\repository\bise1_soln.rpd
to bise1.rpd
.
Start the BI Server service.
If you specified a password other than welcome1 during installation, perform the following steps as well:
Go to Start > Programs > Oracle Business Intelligence > Administration.
Select File > Open > Online.
Enter Administrator in the Password field. Click OK.
In the Physical Layer pane, expand BISE1_SALESWH. Double-click Connection Pool.
In the Password field, enter the password you specified during installation. Click OK.
Enter the password again in the Confirm Password dialog box. Click OK.
Repeat steps 4 through 6 for the BISE1DB node in the Physical Layer.
Select File > Save. Click No when asked whether your wish to check global consistency. Exit the Oracle BI Administration tool.
If you have not completed the previous chapters, you must also replace the BI Web catalog, as follows:
Shut down the BI Presentation Server service.
Copy tutorial\bi_ad\bise1_webcat_soln.zip
to the bidata\web\catalog
directory.
Remove the bidata\web\catalog\bise1
directory and its contents.
Unzip bidata\web\catalog\bise1_webcat_soln.zip
.
Start the BI Presentation Server service.
In this section, you build a new shared Interactive Dashboard and add content you have saved in previous steps.
To create an Interactive Dashboard:
Click the Settings link and select Administration.
In the Oracle BI Presentation Services Administration window, click the Manage Interactive Dashboards link.
The Oracle BI Presentation Services Administration window offers access to many administrative features, including session monitoring and management of user and group privileges across the Oracle BI Presentation Catalog.
In the Manage Dashboards window, click Create Dashboard. In the Create Dashboard window, set the Group Folder to Sales Managers, name the dashboard Sales Analysis1, and click Finished.
The dashboard inherits the security of the group folder. Click Finished again to close the Manage Dashboards window. Finally, click Close Window to close the Oracle BI Presentation Services Administration screen.
Click the Dashboards link, then click the Sales Analysis1 Interactive Dashboard link to navigate to the new dashboard.
Your new dashboard is empty, and should appear like the one shown in Figure 6-3.
Click Page Options in the upper right corner and select Edit Dashboard to open the Dashboard Editor. In the Dashboard Editor, you can drag saved content from your Presentation Catalog directly onto the dashboard. Sections are automatically created in the layout to contain the requests and other objects you add to the dashboard. In the left-hand selection panel, expand the GEC_DW_TUTORIAL > Learn folder where you have saved your work.
Drag the Category Gross Profits request onto the layout workspace. The layout area is highlighted in blue to indicate that you have a valid insertion point for the object.
Your dashboard layout should look like the one shown in Figure 6-5.
Notice that a section was automatically added to contain the request. You could also have dragged a Section object from the Dashboard Objects palette to create the section before dragging content into the section. Sections and columns are containers you can use to control the layout of your dashboard.
Click the insert column plus (+) icon to add another column to the page.
Drag the Product Category View Selector request into Section 2 of the second column. Drag the Narrative View for Region Gross Profit below the Product Category View Selector.
Drag Section from the Dashboard Objects list and add a section below Section 2.
Drag Advanced Report onto Section 3. The Dashboard layout should look like the one shown in Figure 6-7.
Click Save at the top to save your layout for Page 1. The Dashboard should look like the one shown in Figure 6-8.
Note that the Column Selector only applies to the request that contains it. If you select a column in the control, it will only apply to the table and chart, not the narrative request in the same dashboard.
Click Page Options and then Edit Dashboard. In the Dashboard Editor page, click the add page plus (+) icon on the top to add a new page to the Dashboard.
Name the page Region Analysis and click OK.
In the new page, drag the Region Pivot Table with Column Selector request. Click Save. Your Dashboard page should like the one shown in Figure 6-10.
Rename Page 1 of the Dashboard to Product Category Analysis. To do this, click Page Options and Edit Dashboard. In the Dashboard Editor, click the Dashboard Properties icon at the top, next to the name of the dashboard (Sales Analysis 1). In the Dashboard Properties page, click Rename under Operations for page 1.
Rename the page to Product Category Analysis. Click the Update button. Click Finished in the Dashboard Properties page. Click Save in the Dashboard Editor. Your Dashboards pages should have two tabs, like the ones shown in Figure 6-12.
In this section, you build a dashboard prompt to filter your dashboard for a specific country region. Then, you use a Presentation variable to dynamically update a request title in your dashboard that includes the filtered name of the country region. Dashboard prompts are used both to allow users to filter the results of embedded requests in a dashboard as well as to populate and update Presentation Variables, which are variables that can be defined in Oracle BI Answers.
This section contains the following topics:
To create a Dashboard prompt:
Click the Answers link. In the selection pane, click the New Dashboard Prompt icon and select GEC_DW_TUTORIAL in the drop-down Subject Area menu.
In the selection pane, click Geography. Region to add it to the prompt. The default selection for the prompt is Dashboard. This means the filter will be applied to all pages in any dashboard with which it is associated. Select Page from the Scope drop-down list, because you will apply the prompt to the Region Analysis page only.
The prompt should look like the one shown in Figure 6-14.
This prompt will filter the Region column in any requests that contain this filter in a dashboard with which the prompt is associated. Note that you can control several aspects of the prompt. You can select the type of control users will employ to enter their selections in the prompt, and you can determine what values will be presented in a drop-down list or multi-select control, limiting the available values either through SQL or by constraining the values based on the results of another dashboard prompt.
Click the Save icon at the top and save the prompt under GEC_DW_TUTORIAL > Learn as Region Prompt.
You have created the prompt, but for it to take effect on any embedded requests in a dashboard, the requests must contain filters on the column being prompted. This task is described in the following steps.
Click the Answers link. Open the Region Pivot Table with Column Selector request from GEC_DW_TUTORIAL > Learn. Click Modify.
Remove the previously saved filter from the request.
Click the filter icon for Geography.Region, and in the Create/Edit Filter dialog box, select is prompted as the operator for the filter and click OK. Your filter should look like the one shown in Figure 6-15.
Save the request.
Click the Dashboards link and go to the Region Analysis page of the Sales Analysis1 dashboard, then click Page Options > Edit Dashboard to open the Dashboard Editor.
From the left-hand selection panel, expand the GEC_DW_TUTORIAL > Learn folder and drag Region Prompt above the Region Pivot Table with Column Selector request in Section 1 of the dashboard. The area will be highlighted in blue when you have found a valid insertion point.
Your dashboard layout should look like the one shown in Figure 6-16.
Click the Save button. Your dashboard should look like the one shown in Figure 6-17.
Explore the report by selecting other regions.
To use a presentation variable to populate a title:
Click the Answers link. Open the Region Pivot Table with Column Selector request, then click Modify.
Click the Results tab. Select Compound Layout View, and edit the Title view using the Edit View icon. If the Title is not there, add a Title view to the Compound Layout view using the Add View link, and drag the new Title view to the top of the layout.
Your Compound Layout should look like the one shown in Figure 6-18.
In the Title field, enter Sales Analysis for @{region}. This is a reference to the Presentation variable you are going to create. Clear the Display Saved Name option. Click OK.
Note: The syntax for calling a Presentation variable, whether in a column or a Title view, is@{VariableName} . |
Save the request.
Create the variable by designating that it be populated by the Region Prompt. Click the Open icon and open the Region Prompt from the GEC_DW_TUTORIAL > Learn folder.
In the Set Variable field of the prompt, select Presentation Variable.
Note that you could also reference a Request Variable. Request Variables are defined as Session Variables in the Oracle BI metadata and are instantiated when the user's session begins. Their values for any request can be updated by dashboard prompts.
In the Set Variable text field, enter region.
By entering the name of the variable here, you are creating the variable as well as setting it to be populated by the user selection in the Prompt for Country Region.
Save the dashboard prompt.
Click the Dashboards link to navigate to the Region Analysis page of the Sales Analysis1 dashboard. Select Asia in the Region prompt and click Go.
Verify that the Prompt for Region dashboard prompt is filtering the dashboard and updating the region Presentation variable.