23 copyright © 2009, oracle. all rights reserved. oracle business intelligence answers: advanced...

24
23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Upload: philomena-adams

Post on 08-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

Copyright © 2009, Oracle. All rights reserved Advanced Features Combining request criteria by using set operations Executing direct database requests Editing logical SQL generated by a request Creating a link to a saved request Creating an Excel Web Query file

TRANSCRIPT

Page 1: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

23Copyright © 2009, Oracle. All rights reserved.

Oracle Business Intelligence Answers: Advanced Features

Page 2: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 2

Objectives

After completing this lesson, you should be able to:• Combine request criteria by using set operations• Execute direct database requests• Edit logical SQL that is generated by a request• Creating a link to a saved request• Create an Excel Web Query file

Page 3: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 3

Advanced Features

• Combining request criteria by using set operations• Executing direct database requests• Editing logical SQL generated by a request• Creating a link to a saved request• Creating an Excel Web Query file

Page 4: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 4

Combining Request 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 requests into a single request:• 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.

Page 5: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 5

Set Operators

Set operators and their effects on results:

Returns rows from first request that are not in other requestsMinus

Returns rows that are common to all requestsIntersect

Returns all rows from all requestsUnion All

Returns nonduplicate rows from all requestsUnion

Effect on ResultsSet Operator

Request 1 Request 2

Row AAA Row BBB

Row BBB Row CCC

Request 1 Request 2

Row AAA Row BBB

Row BBB Row CCC

Request 1 Request 2

Row AAA Row BBB

Row BBB Row CCC

Request 1 Request 2

Row AAA Row BBB

Row BBB Row CCC

Union Union All

Intersect Minus

Page 6: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 6

Combining Results of Multiple Requests

1. Build a request.2. Combine with a similar request.3. Construct the combined request.4. Apply a set operator.5. Check the results.

Page 7: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 7

1. Build a request.

Build a request with desired columns and filters.

Request returns customers with dollars between 5000 and 15000.

Page 8: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 8

2. Combine with a similar request.

Click the “Combine with Similar Request” button and select a subject area.

Select the same subject area or a

different subject area.

Page 9: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 9

3. Construct the combined request.

Add columns and filters to the new request.

The number of columns and

data types must be consistent

across all criteria.

New request returns customers with dollars between

10000 and 20000.

Click Edit to add additional criteria.

Page 10: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 10

4. Apply a set operator.

Click the Set button and select the set operator.

Combined request returns the union of

customers with dollars between 5000

and 20000.

Page 11: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 11

5. Check the results.

Results of two or more requests are combined into a single request.

The table displays the union of all customers with dollars between 5000 and 20000.

Page 12: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 12

Direct Database Request Privileges

• Users with appropriate privileges can create and issue direct database requests to physical back-end data sources.

– Results can be displayed and manipulated in Oracle Business Intelligence Answers and incorporated into Interactive Dashboards.

• Required privileges include:– Edit Direct Database Requests– Execute Direct Database Requests

Page 13: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 13

Changing Direct Database Request Privileges

Changes are made in Oracle BI Presentation Services Administration.

1

3

2

Page 14: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 14

Creating and Executing a Direct Database Request

1. Create a direct request.2. Construct a direct database request.3. Check the results.

Page 15: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 15

1. Create a direct request.

Click Create Direct Request on the Answers start page.

Page 16: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 16

2. Construct a direct database request.Follow the on-screen instructions to create the request.

1

2

4 3

5

Page 17: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 17

3. Check the results.

Results are displayed in the Answers workspace.

Page 18: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 18

Editing Logical SQL Generated by a RequestFor advanced users and developers with specific privileges: 1

2

3

Page 19: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 19

Editing Logical SQL Generated by a Request

Page 20: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 20

Creating a Link to a Saved Request

For users with permission to access the Advanced tab:1

2

3

Page 21: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 21

Creating an Excel Web Query File

For users with permission to access the Advanced tab:1

2

3

Page 22: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 22

Viewing an Excel Web Query File

1

3

2

Page 23: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 23

Summary

In this lesson, you should have learned how to:• Combine request criteria by using set operations• Execute direct database requests• Edit logical SQL that is generated by a request• Create an Excel Web Query file

Page 24: 23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features

Copyright © 2009, Oracle. All rights reserved.23 - 24

Practice 23: Overview

This practice covers the following topics:• Combining requests by using set operations• Executing direct database requests