Creating Analyses 2-15
2. Click View Metadata Dictionary in the toolbar.
The metadata dictionary information for the object is displayed either in a new browser window or in a tab, depending on the browser setting.
Displaying the Results of Analyses
This procedure is a step in the process for constructing an analysis. For more information, see
What Is the Process for Constructing Analyses? You use the
Analysis editor: Results tab to add different views of the results such as
graphs, tickers, and pivot tables. For a list of the views that you can add, see What
Types of Views Are Available? When you create an analysis and display the Results tab, you see in the
Compound Layout
a title view and either a table or pivot table view by default, based on the following:
■
If the analysis contains only attribute columns and measure columns, then a table is displayed by default.
■
If the analysis contains at least one hierarchical column, then a pivot table is displayed by default.
The administrator might have configured different views to display by default in the Results tab.
You can combine views and position them anywhere in the Compound Layout. For example, you can create side-by-side pivot tables that reflect different views of the
data, graphs that allow you to explore interrelationships in depth, and filters that limit the results.
Together all of these views are called a compound layout. You can create additional compound layouts, as described in
Creating Additional Compound Layouts .
To display the results of an analysis: 1.
Click the Results tab. The results of the analysis are displayed in a table or pivot table.
2.
Optional Edit the table or pivot table or add additional views. For more information, see
Adding Views for Display in Dashboards .
Creating Additional Compound Layouts
As you work with an analysis, you can create multiple compound layouts that use different combinations of views. For example, one layout might include a graph and a
title, and another layout might include a graph and a narrative view. When you add the analysis to a dashboard page, you can select which layout you want to include on
that page.
To create additional compound layouts: 1.
Click the Analysis editor: Results tab
.
2. Create another compound layout in the
Compound Layout by clicking one of the
following buttons on the toolbar of the Results tab:
Note: If the metadata dictionary information does not display in the
browser, then ensure that the browser setting to access data sources across domains is enabled.
2-16 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Enterprise Edition
■
Create Compound Layout — Creates a new instance of the compound layout.
■
Duplicate Compound Layout — Creates a copy of the current compound
layout, with the same views.
Alerting Users to No Data in the Results of Analyses
When the results of an analysis return no data, the following default message is displayed to users:
No Results The specified criteria didnt result in any data.
This is often caused by applying filters andor selections that are too restrictive or that contain incorrect values.
Please check your Analysis Filters and try again. The filters currently being applied are shown below.
Rather than display the default message, you can create a customized message to alert users. This message enables you to provide your own explanation for why the analysis
returned no data.
To create a custom message to alert users to no data in the results of an analysis: 1.
Edit the analysis to which you want to add a custom message.
2.
Click the Analysis editor: Results tab
.
3. Click the Analysis Properties toolbar button. The
Analysis Properties dialog is
displayed.
4. In the No Results Settings box, select Display Custom Message.
5. In the Header field, enter the text of the header for the custom message.
6. In the Message field, enter the explanatory text.
7. Click OK.
Adding Prompts to Analyses
This procedure is a step in the process for constructing an analysis. For more information, see
What Is the Process for Constructing Analyses? You use the
Analysis editor: Prompts tab to create prompts that allow users to select
values to filter an analysis. Prompts allow users to select values that dynamically filter all views within the analysis.
To add a prompt to an analysis: 1.
Click the Prompts tab.
2.
Add the prompt, as described in Chapter 6, Prompting in Dashboards and
Analyses.
Examining the Logical SQL Statements for Analyses
This procedure is an advanced step in the process for constructing an analysis. For information, see
What Is the Process for Constructing Analyses? You use the
Analysis editor: Advanced tab to examine the XML code and logical SQL
statement that is generated for an analysis and optionally create a new analysis based on that SQL statement. Generally you need not use the features of this tab, because the
vast majority of functionality for working with analyses is provided through the user
Creating Analyses 2-17
interface. The following list provides examples of situations in which you might want to examine SQL statements:
■
You can use the Prefix section to override any user variable or session variable that has been marked as available for updating. You can specify multiple variables to
update with one line of code.
To override variables, use the following syntax: SET VARIABLE var-name=value
For example, you can set the variables that are shown in the following code line: SET VARIABLE My Variable=4, DISABLE_CACTHE_HIT = 1,
LOGLEVEL = 2; For information on variables, see
Where Can I Reference Variables?
■
You can temporarily change the logging level for an analysis for troubleshooting, even when logging is turned off for analyses. In the Prefix section of the Advanced
tab, you can specify the following:
SET VARIABLE LOGLEVEL=4; This specification runs the analysis at level 4, which facilitates advanced
troubleshooting. The default level is 0, which indicates no logging. You can view the logs using the View Log link on the
Administration: Manage Sessions page .
See Oracle Fusion Middleware Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition for information on logging levels.
■
You can enter your own logical SQL statements. Entering your own statements eliminates many features of Oracle BI EE such as hierarchical columns, selection
steps, groups, and formatting, but enables you to use functions such as SET operations.
■
You can create a new analysis using the SQL statements from an existing analysis as your starting point.
Before working with the Advanced tab, keep the following important points in mind:
■
This procedure is only for advanced users and developers that have the appropriate responsibilities to access the Advanced tab. It is assumed that you
understand advanced SQL statements, have expertise working with the Oracle BI Server metadata, are familiar with the SQL information in
Appendix D, Logical SQL Reference
, and understand the content and structure of the underlying data sources.
■
This tab provides the Advanced SQL Clauses area, which enables you to add clauses to the SQL statements and other similarly advanced features. These
features, except for the ability to specify a prefix, are disabled for analyses that contain hierarchical columns, member selections, or groups.
■
The links at the top of the tab allow you to download analysis results into Microsoft Excel. You might be unable to download analysis results based on the
security features that have been configured at your organization. For information, contact your administrator.
Note: You can see the logical SQL statement that an analysis is using
by inserting a logical SQL view. You can also enter SQL statements using the
Administration: Issue SQL page .
2-18 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Enterprise Edition
To edit the XML code or examine the SQL statement that is generated for an analysis:
1.
Click the Analysis editor: Advanced tab
.
2.
Use the links that correspond to the analysis name in the Referencing the Results area at the top of the tab to:
■
Display pages that contain links for working with the results of the analysis.
■
Download a file for working with the results of the analysis in Excel. For information, see
Integrating an Analysis with Microsoft Excels Internet Query Feature
.
3.
Use the fields in the Analysis XML area to view and modify the XML code, and click Apply XML.
If you modify the XML code, then you affect the analysis as it is saved in the Oracle BI Presentation Catalog.
To apply the settings for the Partial Update and the Bypass Oracle BI Presentation Services Cache
boxes, you must also click the Apply SQL button at
the bottom of the tab.
4.
Use the read-only box in the SQL Issued area to examine the SQL statement that is sent to the Oracle BI Server when the analysis is executed.
If you want to create an analysis using the SQL statement from the current analysis as the starting point, then click the New Analysis button. Any
hierarchical columns, selection steps, groups, or formatting that are specified in the current analysis are removed.
5.
Depending on the content of the analysis, use the available fields in the Advanced SQL Clauses area to change the subject area, add GROUP BY or HAVING clauses,
and specify DISTINCT processing and a prefix.
6. Click Apply SQL to apply your changes.