Professional Documents
Culture Documents
5/17/12
confidential
11
Graphical environment to create a Universe Semantic Layer Create and Maintain universes.
5/17/12 confidential 33
5/17/12
confidential
44
What is a Universe ?
5/17/12
confidential
55
What is a Universe ?
Corporate Database / DW
Cr e a tes t
he U
nive rs e f or U
s ers
User 5/17/12
User confidential 66
Designer
3. Design
5/17/12
confidential
88
Detailed plan of the information requirements A schema diagram of the relational database Understanding of the database Reporting requirement 5/17/12 confidential
99
5/17/12
confidential
1010
Universe name and Database connection Selecting Classes and Objects Measure Objects Generate the Universe
5/17/12
confidential
1111
Invalid syntax Loops Isolated tables Isolated joins Loops within contexts Missing or incorrect cardinalities
5/17/12
confidential
1212
Structure Window
5/17/12
confidential
1313
5/17/12
confidential
1414
the name and type of the connection; the location of the database:
Secured
Shared Personal
5/17/12
confidential
1515
You can maximize the query response time by equating to the array fetch size of the Source Database
5/17/12
confidential
1616
5/17/12
confidential
1818
Controls.
5/17/12
confidential
1919
Saving a Universe
5/17/12
confidential
2020
5/17/12
confidential
2121
5/17/12
confidential
2222
Adding Tables
Click and drag Tables in to the Structure Window Click on + sign to view fields in Tables
5/17/12
confidential
2323
5/17/12
confidential
2424
SELECT Customer.Last_Name, Orders.Date, Orders.Amount Join FROM Customer, Orders WHERE Customer.Cust_ID=Orders.Cust_ID Cartesian Product: Restricted Result Set:
5/17/12
confidential
2525
An Equi Join
5/17/12
confidential
2626
An Outer Join
SELECT Customer.Last_Name, Orders.Date, Orders.Amount FROM Customer, Orders OuterJoin Equi Join
WHERE WHERE Customer.Cust_ID*=Orders.Cust_ID( Customer.Cust_ID=Orders.Cust_I Restricted Result Set: Outer Join Result Set: +) D
5/17/12
confidential
2727
A Theta Join
Theta Join
WHERE Customer.Age Between Age_Group.Age_Min And Age_Group.Age_Max Cartesian Product Theta Join Result Set:
5/17/12
confidential
2828
5/17/12
confidential
2929
Objects retrieve factual information Entity Person Dimension Objects about =entities:
e.g Name
5/17/12
confidential
3030
5/17/12
confidential
3131
5/17/12
confidential
3232
5/17/12
confidential
3333
Click and Drag the field in to the Classes and Objects Window
5/17/12
confidential
Testing Objects
5/17/12
confidential
3535
5/17/12
confidential
3636
Statistical information
was earned... ...by a Product? ...in a Financial Year?
1996
5/17/12 confidential 3737
Rule of SQL:
Aggregate functions
Group By clause contains any unaggregated fields used in the Select clause
5/17/12
City.city, sum(Invoice_Line.days * Invoice_Line.nb_guests * Service.price) FROM City, Invoice_Line, Service, Customer, Sales WHERE ( City.city_id=Customer.city_id ) AND ( Customer.cust_id=Sales.cust_id ) AND ( Invoice_Line.inv_id=Sales.inv_id ) AND ( Invoice_Line.service_id=Service.service_id ) GROUP BY City.city
confidential
3838
Semantic Dynamism
Context of use
Question: What is the Total Revenue for eachfor each Customer? is the Total Yearly Revenue Customer? Year?
5/17/12
confidential
NOTE: the Aggregate function in the Measures definition will cause the appropriate GROUP BY clause to be generated by the inference engine.
5/17/12 confidential 4040
The Projection Function controls the behaviour of the Measure in the Check the Qualification is set appropriately Reporting interface:
Set the function to control the behavior of the Object in the reporting interface
5/17/12
confidential
4141
Measure Objects need a more rigorous testing procedure than Dimension Objects:
GROUP BY Customer.last_name + ', '+Customer.first_name GROUP BY City.city GROUP BY City.city, Customer.last_name + ', '+Customer.first_name
5/17/12 confidential 4242
Dimension Objects must be defined in a way that will guarantee the uniqueness of the data they return:
NOTE: The inclusion of the unique ID guarantees the results will be displayed accurately in the reporting interface.
5/17/12 confidential 4343
Section B Designing Universe Structures to conform to SQL requirements and resolve Loops
5/17/12 confidential 4444
What is a Loop?
A loop is caused by a circular set of joins which defines a closed path through a set of Tables:
SELECT , FROM All Tables in Loop WHERE All Joins in Loop...
5/17/12
confidential
4646
Three Automated routines can be used to resolve 99% of loop situations within the Universe Cardinality Detection Routine: structure window. Alias Detection
5/17/12
confidential
4848
What is an Alias?
AND
Country.Country_ID
...
5/17/12 confidential
4949
5/17/12
confidential
5050
It is essential, when Aliases are used in the Universe Structure Window, that Objects are defined from the approriate Alias:
Pointers
to:
5/17/12
confidential
5151
5/17/12
confidential
5252
A recursive Table structure occurs n Manually: when a Table acts as a lookup for Automatically: itself:
5/17/12
confidential
5353
5/17/12
Incorrect Solution
confidential
5454
5/17/12
confidential
5555
It is possible to give the User the choice of using an Equi Join or an Outer join in their queries.
5/17/12
confidential
5656
5/17/12
confidential
5757
Certain database structures will 1 Multiple Star require the definition of contexts in Country Schemas Universe structures:
Time
FACT (sales)
Product 1
Brand 5/17/12
confidential
A loop caused by multiple fact tables will result in incorrect results being returned from the generated SQL
FROM All Tables in LoopWHERE .All Joins in Loop
5/17/12
confidential
5959
Contexts are automatically detected Sales Fact: Reservation Fact: through the table tree algorithm: OR insert
cardinality Detect Contexts
Reservations Context 1
1
6060
Contexts are important when handling what may be termed Incompatible Queries:
confidential
WHERE and FROM clause defined from: Invoice_Line Reservation_Line 6161 Context Context
It is important to name Contexts appropriately to limit the impact of the Ambiguous Query:
A Name and Description help them to make the right decision for Users create Ambiguous Queries and are asked in which their question
5/17/12 confidential
Normalised dimensions are not Effective Result: Two Universes amenable to loop resolutions through Aliases:
Still a Loop All Candidates for Aliases Candidates for Aliases Sales Universe
5/17/12 confidential
Duplication of Objects:
Reservations Universe
6363
Duplication of Objects:
5/17/12
confidential
6464
BusinessObjects resolves the Chasm Trap through Contexts and Multipath SQL
5/17/12
confidential
6666
5/17/12
confidential
6767
5/17/12
confidential
7070
What is a Hierarchy?
Level in Hierarchy:
Entities Returned:
U.K.
North South
Less Detailed More Detailed NOTE: As each level is divided in to its components at the level below a more atomized view of any statistical information can be found.
5/17/12 confidential 7272
5/17/12
confidential
7373
Multidimensional Analysis
Drill is the central mechanism through which multidimensional Drill Down analysis can be conducted:
5/17/12
confidential
7474
5/17/12
confidential
7575
A Default Hierarchy is visually represented to the User in the Classes and Objects Window:
Default Hierarchies are represented by the way Objects are laid out in the Classes and Objects Window of the Query Panel
5/17/12
confidential
7676
Dragging and Dropping fields from the Structure Window and existing objects from the Classes and Objects Window are the simplest ways to build a default hierarchy:
5/17/12
confidential
7777
Create a Scoped Query to test out a Default hierarchys operation: from the base Dimension Object
5/17/12
confidential
7878
5/17/12
confidential
7979
Time is a special case because each of its levelsInvoice Date: from a single can come field in the underlying database:
01/01/1997
Month Quarter
confidential
Day
5/17/12
There are four ways to develop a Time hierarchy in BusinessObjects: n Using standard functions: Automatically:
5/17/12
confidential
8181
Automatic Time hierarchies are fine for testing and quick design work:
5/17/12
confidential
8282
Using functions to manipulate the data returned by a Date Object improves presentation in Reports:
Altering the database table structure gives the Designer the flexibility to provide their own definition of periods: Calendar Year: Financial Year:
confidential
5/17/12
confidential
8585
A Custom Hierarchy combines elements from default (or pure) Default Hierarchy: in to a single path of Custom Hierarchy: hierarchies analysis:
5/17/12
confidential
8686
5/17/12
confidential
8787
5/17/12
confidential
8888
An Ongoing Process
The hierarchies made available in a Universe must change to meet user requirements: Ive But I need
If a Analysts persistently meet Dimensional Rifts it is a clear Link Hierarchy: indication that a Custom hierarchy is needed:
}
No linking meta data in Universe
5/17/12
Dimensional Rift
confidential
9090
5/17/12
confidential
9191
5/17/12
confidential
9292
Documenting a Universe
Documenting a Universe will save time in the future and make it easier to envisage it in its entirety:
5/17/12
confidential
9393
Printing Documentation
5/17/12
confidential
9494
5/17/12
confidential
9595
Phase 1-2
Phase 5
Phase 7 Phase 6
5/17/12
confidential
9696
Distributing Universes
5/17/12
confidential
9797
Workgroup Mode
5/17/12
confidential
9898
Enterprise Mode
The BusinessObjects Central Management Server (CMS) repository allows the Universe to be distributed and secured:
5/17/12
confidential
9999
Universe is made available to Web Intelligence users and other designers by exporting a universe to the CMS repository. When a universe is exported, the universe is:
Moved to the selected universe folder on the repository file system and
5/17/12
confidential
101101
The implications of modifying the underlying database for n Severe Impact: No Impact: BusinessObjects Universes varies in Renaming/Moving Database severity: Adding new Fields
Changing existing Field names Changing existing Table names Deleting Tables
5/17/12
confidential
102102
Certain Procedures must be followed when new Tables are added to an existing Universe structure:
Add new Tables Check if it is a Multi Domain Lookup (Aliases) Insert Joins and Cardinalities
confidential 103103
5/17/12
Changes to existing Objects in a Universe have two types of impact n Impact: No Impact: on existing Documents created from Deleting and existing Object the Universe: Redefining Object SQL
Renaming an Object Copying to different Class Moving in same Class or to a different Class Adding new Objects
Deleting and recreating the Object with exactly the same Definition
5/17/12
confidential
104104
There are three main ways to add 1. new Objects to an Copy from another Universe: Create from scratch: 2. existing Universe:
5/17/12
confidential
105105
Module Summary
Phase 1-2
Phase 4
Functions available
DESIGNER provides a number of functions for the SQL definition of objects. By using these functions, you make the definition of objects dynamic as well as database-independent. Referred to as @ functions, these functions are as follows:
Our promise
With utmost respect to Human Values, we promise to serve our customers with Integrity, through Innovative, Value for Money solutions, by Applying Thought, day after day
Information contained and transmitted by this presentation is proprietary to Limited and is intended for use only by the individual or entity to which it is addressed, and contains information that is privileged, confidential or exempt from disclosure under applicablelaw.
5/17/12
confidential
108108