You are on page 1of 26

Oracle Business Intelligence Analyses:

Advanced Features

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Objectives

After completing this lesson, you should be able to:


• Set analysis properties
• Combine analysis criteria by using set operations
• Execute direct database analyses
• Edit logical SQL that is generated by an analysis
• Create a link to a saved analysis
• Create an Excel Web Query file

5-2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Setting Analysis Properties

Set properties to manage:


• Custom messaging
• Text delivery formatting
• Handling of redundant hierarchy members
Set a custom message to return
when no results are produced.
Custom title
and message

Specify a text-based
Compound Layout for
delivery via agent.

5-3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Combining Analysis Criteria
by Using Set Operations
• Combine criteria from one or more subject areas:
– Subject areas may be organized with similar information
depending on business needs.
• Combine results from two or more analyses into a single
analysis:
– Example: Combine results from a subject area containing all
active customers with results from a subject area containing
customers who have ordered one or more products.

5-4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Set Operators

Set Operator Effect on Results

Union Returns nonduplicate rows from all analyses

Union All Returns all rows from all analyses

Intersect Returns rows that are common to all analyses

Minus Returns rows from first analysis that are not in other analyses

Union Union All


Analysis 1 Analysis 2 Analysis 1 Analysis 2

Row AAA Row BBB Row AAA Row BBB

Row BBB Row CCC Row BBB Row CCC


Intersect Minus
Analysis 1 Analysis 2 Analysis 1 Analysis 2
Row AAA Row BBB Row AAA Row BBB

Row BBB Row CCC Row BBB Row CCC

5-5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Combining Results of Multiple Analyses

1. Build an analysis.
2. Combine with a similar analysis.
3. Construct the combined analysis.
4. Apply a set operator.
5. Verify the results.

5-6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
1. Build an Analysis

Build an analysis with desired columns and filters.

Analysis returns
customers with sales
between 5000 and 15000.

5-7 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
2. Combine with a Similar Analysis

Click the Combine Results button and select a subject area.

Select the same


subject area or a
different subject area.

5-8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
3. Construct the Combined Analysis

Add columns and filters to the new analysis.

Click Edit to add


additional criteria.

The number of
columns and
data types must
be consistent New analysis returns
across all criteria. customers with dollars
between 10000 and 20000.

5-9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
4. Apply a Set Operator

Click the Set button and select the set operator.

Combined analysis returns the


union of customers with dollars
between 5000 and 20000.

5 - 10 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


5. Verify the Results

Results of two or more analyses are combined into a single


analysis.

The table displays the


union of all customers
with dollars between
5000 and 20000.

5 - 11 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Direct Database Analysis Privileges

• Users with appropriate privileges can create and issue


direct database analyses to physical back-end data
sources.
– Results can be displayed and manipulated in Oracle
Business Intelligence and incorporated into dashboards.
• Required privileges include:
– Edit Direct Database Analysis
– Execute Direct Database Analysis

5 - 12 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Changing Direct Database Analysis Privileges

Changes are made in the Oracle BI Administration window.


1

5 - 13 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Creating and Executing
a Direct Database Analysis
1. Create a direct analysis.
2. Construct a direct database analysis.

5 - 14 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


1. Create a Direct Analysis

Click Create Direct Database Request in the Select Subject


Area window.

5 - 15 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


2. Construct a Direct Database Analysis

Follow the on-screen instructions to create the analysis.

4 3

5 - 16 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Editing Logical SQL Generated by an Analysis
For advanced users and developers with specific privileges:
1

5 - 17 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Editing Logical SQL Generated by an Analysis

5 - 18 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Creating a Link to a Saved Analysis

For users with permission to access the Advanced tab:


1

5 - 19 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Creating an Excel Web Query File

For users with permission to access the Advanced tab:


1

5 - 20 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Viewing an Excel Web Query File

5 - 21 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Summary

In this lesson, you should have learned how to:


• Set analysis properties
• Combine analysis criteria by using set operations
• Execute direct database analyses
• Edit logical SQL that is generated by an analysis
• Create an Excel Web Query file

5 - 22 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Practice 5: Overview

This practice covers the following topics:


• Combining analyses using set operations
• Executing direct database analyses

5 - 23 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Quiz: Overview

This quiz examines your knowledge of advanced analysis


capabilities.

5 - 24 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Quiz

Custom “No Results” messages are specified for all views in an


analysis.
a. True
b. False

5 - 25 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.


Quiz

Which of the following will result if you combine results from an


analysis with those of other analyses using the Intersect set
operator?
a. Returns nonduplicate rows from all analyses
b. Returns all rows from all analyses
c. Returns rows that are common to all analyses
d. Returns rows from first analysis that are not in other
analyses

5 - 26 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

You might also like