Академический Документы
Профессиональный Документы
Культура Документы
Windows
ewuds.book Page 2 Friday, July 9, 2004 3:31 PM
Trademarks Business Objects, the Business Objects logo, Crystal Reports, and Crystal Enterprise are
trademarks or registered trademarks of Business Objects SA or its affiliated companies in the
United States and other countries. All other names mentioned herein may be trademarks of
their respective owners.
Contains ICU libraries (c) 1995-2003 International Business Machines Corporation and others.
All rights reserved.
Use restrictions This software and documentation is commercial computer software under Federal Acquisition
regulations, and is provided only under the Restricted Rights of the Federal Acquisition
Regulations applicable to commercial computer software provided at private expense. The use,
duplication, or disclosure by the U.S. Government is subject to restrictions set forth in
subdivision (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at 252.227-
7013.
Patents Business Objects owns the following U.S. patents, which may cover products that are offered
and sold by Business Objects: 5,555,403, 6,247,008 B1, 6,578,027 B2, 6,490,593 and
6,289,352.
Contents
Contents
ewuds.book Page 4 Friday, July 9, 2004 3:31 PM
Contents
ewuds.book Page 5 Friday, July 9, 2004 3:31 PM
Examples
What are the unit sales of different brands of soccer cleats in 2001 Q1 ? . . 21
Selecting multiple measure cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Selecting member labels from different dimensions . . . . . . . . . . . . . . . . . . 86
Selecting member labels at the same level . . . . . . . . . . . . . . . . . . . . . . . . . 87
Selecting member labels from the same and different dimensions . . . . . . . 87
Selecting member labels and values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Examples
ewuds.book Page 6 Friday, July 9, 2004 3:31 PM
Examples
ewuds.book Page 7 Friday, July 9, 2004 3:31 PM
preface
ewuds.book Page 8 Friday, July 9, 2004 3:31 PM
Overview
Information, services, and solutions
The Business Objects business intelligence solution is supported by thousands
of pages of documentation, available from the products, on the Internet, on CD,
and by extensive online help systems and multimedia.
Packed with in-depth technical information, business examples, and advice on
troubleshooting and best practices, this comprehensive documentation set
provides concrete solutions to your business problems.
Business Objects also offers a complete range of support and services to help
maximize the return on your business intelligence investment. See in the
following sections how Business Objects can help you plan for and successfully
meet your specific technical support, education, and consulting requirements.
Information resources
Whatever your Business Objects profile, we can help you quickly access the
documentation and other information you need.
Where do I start?
Below are a few suggested starting points; there is a summary of useful web
addresses on page 12.
Documentation Roadmap
The Documentation Roadmap references all Business Objects guides and
multimedia, and lets you see at a glance what information is available, from
where, and in what format.
View or download the Business Objects Documentation Roadmap at
www.businessobjects.com/services/documentation.htm
Information resources
ewuds.book Page 10 Friday, July 9, 2004 3:31 PM
Multimedia
Are you new to Business Objects? Are you upgrading from a previous release or
expanding, for example, from our desktop to our web solution? Try one of our
multimedia quick tours or Getting Started tutorials. All are available via the Online
Customer Support (OCS) website or on the Documentation CD.
Product documentation
We regularly update and expand our documentation and multimedia offerings.
With a valid maintenance agreement, you can get the latest documentation – in
seven languages – on the Online Customer Support (OCS) website.
NOTE
If your issue concerns a Business Objects product and not the documentation,
please contact our Customer Support experts. For information about Customer
Support visit: www.businessobjects.com/services/support.htm
Services
A global network of Business Objects technology experts provides customer
support, education, and consulting to ensure maximum business intelligence
benefit to your business.
Services
ewuds.book Page 12 Friday, July 9, 2004 3:31 PM
Address Content
Business Objects Documentation Overview of Business Objects documentation. Links
to Online Customer Support, Documentation Supply
www.businessobjects.com/services/ Store, Documentation Roadmap, Tips & Tricks,
documentation.htm Documentation mailbox.
documentation@businessobjects.com
Product documentation The latest Business Objects product
documentation, to download or view online.
www.businessobjects.com/services/
support.htm
Business Objects product information Information about the full range of Business
Objects products.
www.businessobjects.com
Developer Suite Online Available to customers with a valid maintenance
agreement and a Developer Suite license via the
Online Customer Support (OCS) website. Provides
www.techsupport.businessobjects.com
all the documentation, latest samples, kits and tips.
Knowledge Base (KB) Technical articles, documents, case resolutions.
Also, use the Knowledge Exchange to learn what
www.techsupport.businessobjects.com challenges other users – both customers and
employees – face and what strategies they find to
address complex issues. From the Knowledge
Base, click the Knowledge Exchange link.
Tips & Tricks Practical business-focused examples.
www.businessobjects.com/forms/
tipsandtricks_login.asp
Address Content
Online Customer Support
Audience
This guide is intended for administrators who need to set up drill through between
WebIntelligence reports.
Convention Indicates
This font Code, SQL syntax, computer programs. For
example: @Select(Country\Country Id).
This font is also used for all paths, directories,
scripts, commands and files for UNIX.
Some code Placed at the end of a line of code, the symbol ( )
more code indicates that the next line should be entered
continuously with no carriage return.
$DIRECTORYPATHNAME The path to a directory in the Business Objects
installation/configuration directory structure. For
example:
• $INSTALLDIR refers to the Business Objects
installation directory.
• $LOCDATADIR refers to a subdirectory of the
BusinessObjects installation directory called
locData.
chapter
ewuds.book Page 16 Friday, July 9, 2004 3:31 PM
Overview
Universal Drill Through Service (UDS) is a technology that allows users to drill
down into a WebIntelligence Relational report, or another WebIntelligence OLAP
report, from a WebIntelligence OLAP report. With UDS, users can seamlessly
carry over their data analysis from report to report. The user selects the cell or
cells in the OLAP cube for drilling, and UDS presents them with a list of
WebIntelligence Relational or OLAP reports that provide more detailed drill down
data. UDS ‘remembers’ the point at which the user left the cube and carries this
context across to the target WebIntelligence report.
UDS allows users to move from navigation of summarized OLAP cubes to more
detailed query, reporting and analysis within the same framework. Users can
perform dynamic multidimensional cube analysis and access lower level details
stored in the target report.
As administrator, you need to map the source OLAP cube to the universe or
target OLAP cube and create reports that are appropriate for the different
contexts at which the user might drill through from report to report.
Source Target
Microsoft and Essbase/DB2 OLAP Relational (BusinessObjects
universes)
Microsoft and Essbase/DB2 OLAP
This means that the following general drill through scenarios are possible:
• OLAP to relational (BusinessObjects universe)
• OLAP to OLAP
In the OLAP to OLAP scenario, the target cube could be:
• a different cube in a different database
• adifferent cube in the same database
• the same cube
When the user drills through from source to target, drill through carries the
context of the source report to the target report.
A user can drill through from a value cell or cells, or a dimension member or
members. When the user drills on value cells, drill through includes the
dimension members from the row and column axes that intersect at the cell(s).
When the user drills on member(s), drill through includes only that member(s). In
both cases, drill through also includes members from dimensions on the filter
axis.
Drill through provides integration between data sources that contain related but
different data. In most enterprises, data is stored in numerous sources, but it is
often necessary to access more than one source when analyzing this data.
Without drill through, this is a tedious and time-consuming task. On reaching the
limit of the data in one source, the analyst needs to do the following:
1. Identify the data source containing the data necessary for further analysis.
2. Start the query tool used to access this data.
3. Navigate the data to arrive at the same ‘context’ reached in the first data
source.
4. Continue data analysis using the new query tool.
EXAMPLE
What are the unit sales of different brands of soccer cleats in 2001 Q1 ?
In this example the data analyst needs to work with two data sources: an OLAP
cube that provides unit sales data down to the level of the type of sports
equipment (soccer cleats, golf shoes, baseball uniforms) and a WebIntelligence
universe that breaks down sales by each different brand of cleat, shoe, uniform
etc. Using the cube, the analyst has drilled down as far as producing a report
showing the sales of cleats by quarter. However, he now wishes to investigate
further the sales of individual brands of cleat by quarter. To do this, he must:
1. Start WebIntelligence.
2. Load the appropriate universe containing data down to the level of unit sales
of cleats by quarter.
3. Create a report showing sales of soccer cleats by quarter for the year 2001.
4. Drill down into this data to analyze sales figure by quarter by brand.
With drill through, this complex process becomes straightforward. While
browsing the data in the OLAP cube, the analyst simply elects to drill-down into
the data showing unit sales of brands by quarter. Even though this data is not in
the cube, Universal Drill Through Service (UDS) opens the appropriate
WebIntelligence report built against the appropriate universe, and passes the
analyst’s ‘context’ in the OLAP cube to this report. The analyst can then continue
drilling into the data in the WebIntelligence report.
UDS maps
Maps are files that tell the Drill Through Service exactly how to carry the drill
context from the source cube to the target universe (see Building Translation
Maps on page 47). You create UDS maps using UDS Designer (see below). For
more details on how UDS maps fit into the overall drill through architecture, see
Drill through architecture on page 22.
UDS Designer
UDS Designer is the graphical tool used to build UDS maps (see Building
Translation Maps on page 47).
Target database
In an OLAP-to-relational scenario, the target database is the database on which
the target universe is built. Ideally, this database should be configured in a star
or snowflake schema. (see Designing the target database on page 43). This
makes mapping OLAP cube members to universe objects simpler. However, the
only hard criterion for target database design is that it must be possible to map
the members in the OLAP cube to the objects in the target universe.
Target universe
In an OLAP-to-Relational scenario, the target universe is a Business Objects
universe built against the target database. It must be configured to match the
structure of the source cube (see Drill Through Requirements on page 29).
Target reports
Target reports are the WebIntelligence reports invoked by the Drill Through
Service when the analyst drills outside the data contained in the source cube.
Each possible ‘context’ at which you wish to allow the analyst to drill through to
the target universe must be covered by a target report (see Creating
WebIntelligence target reports on page 81). A general rule of thumb is that each
measure in the OLAP cube will require its own target report. This is because the
OLAP measures contain data at a summarized level; the report corresponding to
each measure therefore provides more detailed data for that measure.
NOTE
For more information on universes, see What is a Business Objects universe? on
page 34.
chapter
ewuds.book Page 30 Friday, July 9, 2004 3:31 PM
Overview
This chapter looks at the design requirements for a successful drill through
environment. For Drill Through to function correctly, each component must be
designed according to specific guidelines, and the designs of the various
components are interrelated. For example, if you are using OLAP-relational drill
through, the design of the universe on which the target reports are built needs to
mirror the design of the source OLAP cube, and the database should be in a star
schema to facilitate the universe design.
The design requirements for a drill through environment are as follows:
For OLAP-relational drill through:
• The target relational database is ideally in a ’denormalized’ a star or
snowflake schema, although any schema that supports mapping to the OLAP
cube is workable. (The following sections describe the differences between
normalized and star schema databases.)
• The classes and objects in the target universe map to the levels and
dimensions in the source OLAP cube.
For OLAP-to-OLAP drill through:
OLAP-to-OLAP drill through is very similar to OLAP-to-relational drill through,
except that the target universe objects are replaced by target OLAP levels.
The rest of this chapter examines the issues surrounding relational databases in
OLAP-to-relational drill through.
Star schemas
The star schema is an alternative database design that is optimized for data
output. Star schemas violate normalization rules spectacularly, but they also
speed up data retrieval by a significant degree. As a general rule, they are used
strictly for reporting rather than data input.
Star schema databases are populated from OLTP databases. The OLTP data is
transformed to fit into the star schema, and the database is refreshed periodically
from the OLTP systems.
The star schema maps closely to the structure of an OLAP cube. As a result, data
in OLAP cubes is often drawn from data warehouse databases designed as star
schemas.
Snowflake schemas
A snowflake schema is similar to a star schema except that the hierarchies in the
dimension table are ‘normalized out’ to some extent.
Snowflake schemas are less common because the database space saved by
normalization is small (in a large star schema database, approximately 95% of
the space is occupied by the fact table), and the joining of the snowflaked tables
Star schemas
ewuds.book Page 34 Friday, July 9, 2004 3:31 PM
Design requirements
The following sections examine the structures of the cube, universe and
database in the demonstration material more closely, in order to demonstrate the
structure of the components in a drill through environment.
Relational database
Ideally, the database should be in a star or snowflake schema, although any
schema that allows mapping of cube members to universe objects is workable.
The following figure shows the schema for the example MS Access database that
You need to account for this when designing your database. In the example
database, the TIME_PERIOD table contains the columns ess_month (in the form
‘2001Q103’) to uniquely identify the month, and ess_quarter (in the form
‘20001Q1’) to uniquely identify the quarter.
NOTE
You can also solve the problem of unique member names at the universe level.
See the next section.
Universe
The classes, objects and measures in the universe must match the dimensions,
levels and measures in the source cube. However, the universe can contain
additional items not in the source cube. The table below shows example
mappings from the demo universe and cube shipped with WebIntelligence.
Cube Universe
Dimension Product Class Product
Level Product Family Object Product Family
Member Sportswear Value Sportswear
You can see this mapping by examining the demonstration translation map
supplied with WebIntelligence. Open the map using UDS Designer (see the
chapter Building Translation Maps on page 47 for instructions on using this tool).
’SportsWear’ is a
member in the cube
level and a value of
the universe object.
Cube
There are no restrictions on cube design, other than the normal restrictions
imposed by Essbase/DB2 OLAP (for example, the need to have unique member
names). The cube design carries over to the design of the universe and target
databases and places restrictions on those components, as described in the
previous sections.
chapter
ewuds.book Page 42 Friday, July 9, 2004 3:31 PM
Overview
This chapter describes the WebIntelligence target universes on which you base
your drill through target reports in OLAP-to-Relational drill through.
NOTE
The target database does not need to map to the structure of the whole source
cube, just to those dimensions that you wish users to be able to drill through from.
After you have designed your database, you will need to populate it. How you do
this depends on factors such as the operating system and RDBMS on which the
database is hosted. If you use views in the target database, you do not need to
perform as much data migration.
NOTE
You can also account for unique members at the universe level. See Creating
universe objects to map to unique members on page 38 for more details.
chapter
ewuds.book Page 48 Friday, July 9, 2004 3:31 PM
Overview
This chapter describes UDS translation maps and how to build them using UDS
Designer. Translation maps tell the Drill Through Service how to translate the
context from an OLAP source cube to a universe (OLAP-to-relational drill
through) or OLAP target cube (OLAP-to-OLAP drill through). Drill through
currently supports Microsoft SQL Analysis Services and Essbase/DB2 OLAP as
OLAP sources.
Level translations
A level translation is a general rule that applies to all members at a particular level
in an OLAP cube. It has the following components:
• Target universe class - in an OLAP to relational translation, the universe class
that an OLAP member translates to.
• Target universe objects - in an OLAP to relational translation, the universe
objects that an OLAP member translates to.
• Target OLAP level - in an OLAP to OLAP translation, the OLAP level that an
OLAP member translates to.
• Translation rule - a rule that specifies how to manipulate the member when
passing it from the source to the target.
• Parent translation - an additional translation rule used to qualify the member
with its parent member or members where the name of the member alone is
not enough to uniquely identify it in the universe.
Member translations
You use member translations to exclude specific members that you do not want
to be translated as part of a level translation. For example, the dynamic time
series members in an Essbase cube (Quarter to Date) have no equivalent in a
relational database. To prevent this member from being translated, you assign a
member translation to it and disable translation for the member.
The
Universe Target
Information pane
shows the classes
and objects in the
target universe
NOTE
When working with a previously-saved translation map that you open using UDS
Designer, it is not possible to change the data sources.
3. Enter the name of the OLAP server in the OLAP Server box.
4. Select the OLAP server type from the Server Type dropdown list.
5. Enter your OLAP server username and password in the User Name and
Password boxes. (This step does not apply to MS OLAP.)
6. Click Connect.
UDS Designer attempts to connect to the server using the information you
have given. If connection is successful, the DataBases dropdown list box is
populated with names of the OLAP databases available on the server.
7. Select the database containing the cube you want to access from the
Databases dropdown list box.
8. The Cubes dropdown list box is populated with the names of all the cubes
available in the database you selected.
9. Select the cube that you want to connect to from the Cubes dropdown list box.
10. Click Load Cube.
11. The OLAP Source Information pane is populated with the dimensions, levels
and hierarchies in the source cube. In addition, the translation map is
populated with all the dimensions, hierarchies and levels in the cube.
NOTE
You can also import a source cube when you already have a translation map
loaded. In this case, UDS Designer does not automatically assign all the
dimensions, hierarchies and levels to the translation map.
Enter your User Name and Password and click OK. If the connection to the
repository succeeds, you will see the Universe Target Information dialog box.
If you cannot connect to the repository, check that the repository database is
available and that you have the correct middleware installed to access it.
Select a universe from the Universes dropdown, then click Load Universe. UDS
Designer populates the Universe Target Information with the classes and objects
from the universe.
Security
Drill through security is handled entirely by the originating and target query tools.
The displayed cube members and values are based on the user ID used to
connect to the OLAP cube. Universe security is governed entirely by the user ID
used to connect to WebIntelligence.
3. Click Add.
The dimension is added to the translation map.
To remove a dimension:
1. Select the dimension in the Map Model pane.
2. Click Remove.
The dimension is removed from the translation map.
To replace a dimension:
1. Select the dimension to be replaced in the Map Model pane.
2. Select the replacing dimension in the OLAP Source information pane.
3. Click Add.
The dimension is replaced with the new dimension from the source cube.
NOTE
To disable an enabled dimension, select Translation Enabled again.
pane.
2. Select the hierarchy in the OLAP Source Information pane.
3. Click Add.
The hierarchy is added to the dimension in the translation map.
To remove a hierarchy:
1. Select the hierarchy in the Map Model pane.
2. Click Remove.
The hierarchy is removed from the translation map.
To update a hierarchy:
1. Select the hierarchy to be updated in the Map Model pane.
2. Select the replacing hierarchy in the OLAP Source information pane.
3. Click Add.
The hierarchy is replaced with the new hierarchy from the source cube.
2. Select Translation Enabled in the Properties area to enable translation for the
hierarchy.
NOTE
To disable an enabled hierarchy, select Translation Enabled again.
3. Click Add.
The level is added to the dimension/hierarchy in the translation map.
To remove a level:
1. Select the level in the Map Model pane.
2. Click Remove.
The level is removed from the translation map.
To update a level:
1. Select the level to be updated in the Map Model pane.
2. Select the replacing level in the OLAP Source Information pane.
3. Click Add.
The level is replaced with the new level from the source cube.
NOTE
To disable an enabled level, select Translation Enabled again.
4. Specify the class and object properties for the level translation.
6. Type the member name in the Member Unique Name box in the Properties
area.
The source member is updated in the Map Model pane.
7. Select the Target Unique Value component of the member translation in the
8. Type the member name in the Member Unique Name box in the Properties
area.
The source member is updated in the Map Model pane.
3. Click Add.
The Parent Translation object is added to the level. By default it points to the
immediate parent level.
4. Specify the level to which the Parent Translation Object points by typing its
name into the Unique Name box in the Properties area.
NOTE
The caption and comment are optional.
2. Enter the name of the OLAP server in the OLAP Server box.
3. Select the OLAP server type from the Server Type dropdown list.
4. Enter your OLAP server username and password in the User Name and
Password boxes. (This step does not apply to MS OLAP.)
5. Click Connect.
UDS Designer attempts to connect to the server using the information you
have given. If connection is successful, the DataBases dropdown list box is
populated with names of the OLAP databases available on the server.
6. Select the database containing the cube you want to access from the
Databases dropdown list box.
7. The Cubes dropdown list box is populated with the names of all the cubes
available in the database you selected.
8. Select the cube that you want to connect to from the Cubes dropdown list box.
9. Click Load Cube.
The OLAP Source Information pane is populated with the dimensions, levels and
hierarchies in the source cube. In addition, the translation map is populated with
all the dimensions, hierarchies and levels in the cube.
NOTE
When you change the originating data source, the current map information is lost.
The Universe Target Information dialog box appears if you are working with
an OLAP to relational map.
2. Type the name of the server and the port number, then click Update.
chapter
ewuds.book Page 80 Friday, July 9, 2004 3:31 PM
Overview
This chapter concentrates on the WebIntelligence side of drill through. It looks at
creating WebIntelligence target reports as well as the workflow that the user
follows when drilling through to a target report.
Prompts
Prompts work by applying filters to a report. Your target reports should not
contain prompts on dimensions that are enabled for translation in the translation
map. The prompt filter might combine with the drill filter in the way described
above to filter all data from the report.
Member
cell
Measure cell
The target report opens at the context where you started drill through.
EXAMPLE
Selecting multiple measure cells
EXAMPLE
Selecting member labels from different dimensions
EXAMPLE
Selecting member labels at the same level
EXAMPLE
Selecting member labels from the same and different dimensions
EXAMPLE
Selecting member labels and values
chapter
ewuds.book Page 90 Friday, July 9, 2004 3:31 PM
Overview
This chapter describes the ongoing maintenance tasks that you will need to carry
out to keep a drill through environment up-to-date and functioning correctly.
NOTE
Remember that after you have modified a translation map, you need to stop and
then restart the drill through service (see Making translation maps available to
WebIntelligence on page 78).
Level changes
The following changes will require you to update your translation map:
• A cube dimension is added, removed or renamed
• A cube hierarchy is added, removed or renamed
• A cube level is added, removed or renamed
• Any universe class or object referenced by the translation map is removed or
renamed
Member changes
Any of the above changes affect member translations also. You must also
account for new members that require additional member-specific translation
rules. If such members are added to the source cube, you will need to add
corresponding member translations to the translation map.
Index
B F
Business Objects feedback
consulting services 11, 13 on documentation 10
documentation 10
Documentation Supply Store 9 K
support services 11
Knowledge Base 12
training services 11, 13
M
C
multimedia
consultants
quick tours 10
Business Objects 11
customer support 11
O
OLAP source cube
D
design requirements 39
demo
Online Customer Support 11
materials 9
Developer Suite 10, 12
documentation R
CD 9 relational database
feedback on 10 normalized 31
on the web 9 snowflake schema 32
printed, ordering 9 star schema 32
roadmap 9
search 9 S
Documentation Supply Store 9
search
drill through
documentation 9
and Business Objects 25
support
architecture 22-24
customer 11
components 21-22
defined 20-21
previous difficulty of 24 T
drill through samples target database
described 27 design requirements 35
designing 43
Essbase Accounts dimension 44
E Essbase member-naming restrictions 44
education see training
Index
ewuds.book Page 96 Friday, July 9, 2004 3:31 PM
target reports
defined 18
target universe
creating from the target database 46
design requirements 37
Tips & Tricks 10
training
on Business Objects products 11
translation maps
defined 17
U
UDS 16, 21
UDS Designer 48-75
Universal Drill Through Service see UDS 16
universes 25, 34
relation to cubes 35
W
web
customer support 11
getting documentation via 9
useful addresses 12
WebIntelligence administrator
required knowledge 19
tasks 17-18
Index