Upload
ramesh-pagidala
View
225
Download
0
Embed Size (px)
Citation preview
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 1/25
Learn Business Objects
A step by step tutorial on Creating a Universe using Business Objects
Business Objects products are Number One in Reporting, Data Warehousing, and ETL
Categories. BusinessObjects 6.0 is used as an OLAP tool and a reporting tool. Here we will
learn how to use this product for creating a universe.
Universe
Universes present the information stored in your company’s databases in a very organized
manner. They allow access to this information,without the user having to be an expert in
relational database structure. Universes are the most popular and versatile methods of
retrieving data for a document. The use of universes is what makes Business Objects t ruly
powerful and easy to use.
A universe contains no data itself. However, it stores the instructions on how to retrieve datafrom some data source, such as a database.Universes are simply computer files that are
stored in a repository. A repository is a database that stores, among other things, the
universe definitions. When you select a universe from the lis t, Business Objects will copy the
universe file from the repository to your local hard drive. Once the universe file is copied onto
the hard drive, Business Objects will use this file to create the SQL instructions to retrieve the
information for your reports. The next time the same universe is used to create a report,
Business Objects will check the repository to see if the latest version of the universe is on
your computer. If the latest version is not on your computer Business Objects will copy the
latest version from the repository.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 2/25
We will now see how to create a universe from the SQL server database - Northwind.
Create universe using Business Objects:
Choose ODBC Drivers from below.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 3/25
If you don’t have a DSN you will need to create one.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 4/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 5/25
You can leave them as it is below.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 6/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 7/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 8/25
OK Now you have made the definitions. Lets go to the main screen Now.
Right mouse click for the context menu and select tables
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 9/25
Select your tables and create relation ships between them. This is something similar to MS
Acess relationships. Map Primary keys and foreign keys.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 10/25
Now GO to insert c lass in Editing Toolbar.
Dimensions:
Dimensions usually represent the nouns in our database. For example, dimensions can
represent employee ID’s, car models, company stocks, dates, etc. We usually total on
dimensions. For example, we may want to know the sales volume for a certain date, the
number of new employees in a given month, or the total value of the stocks in a
portfolio.
We are going to make a class for products now. This dimension will take the product name
from products table field productName.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 11/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 12/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 13/25
This is where you have to select the field from table or view.
Make sure you parse the statement.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 14/25
Select Dimension.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 15/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 16/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 17/25
Similarly category also could be created.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 18/25
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 19/25
You can create more dimensions as required in the same way.
Measures
Details or measures are objects that represent attributes of dimension data. Typically,
we will not subtotal or organize data around a detail object. For example, a detail could be the
weight of a product or a person’s first name.
Measure objects generally represent aggregated data. Typical measure objects may sum,
count, max, min or average. For example, a measure object may sum the daily earnings in a
given time period or count the number of employees in a department.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 20/25
Add another class as Measure
After this just like we had followed for dimensions create an object from
dbo.Order Details".Quantity AS Quantity. Make s ure you select ‘Measure’ as shown in below
screen and Aggregate as SUM.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 21/25
Now your main panel looks like this.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 22/25
Similarly create another measure for unit price from dbo.Order Details".UnitPrice.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 23/25
Calculated Measure:
Now we will do a calculated measure,
Finding the total value of the order.
We are going to create Total value as a calculated measure.
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 24/25
The formula is:
"dbo.Order Details".UnitPrice*"dbo.Order Details".Quantity
8/4/2019 Learn Business Objects
http://slidepdf.com/reader/full/learn-business-objects 25/25
Now save the universe as NWIND.UNV
You have created a universe now.
Sign in Recent Site Activity Terms Report Abuse Print page Powered by Google Sites