4.1.4 Reporting Objects: Data Source
4.1.4 Reporting Objects: Data Source
4 Reporting objects
In IBM Cognos Framework Manager, there are several objects with which you
interact in either the Project Viewer or the Project Info panes. For simplicity, we
examine the objects in the Properties pane, shown in Figure 4-3, with the
exception of relationships.
Figure 4-3 Model objects in the Project Viewer pane
40 IBM Cognos Business Intelligence V10.1 Handbook
The Project Viewer pane includes the following reporting objects:
_ The following types of query subjects:
– A Data Source object, shown in Figure 4-4, maps to a corresponding
object in the data source and uses a modifiable SQL statement to retrieve
the data. This object is identifiable by the small database icon in the
top-right corner.
Figure 4-4 Data Source query subjects
– A Model object, shown in Figure 4-5, maps to existing metadata in the
model.
Figure 4-5 Model query subjects
– A Stored Procedure executes a database stored procedure to retrieve or
update the data. Its icon appears the same as a Data Source query
subject. These types of query subjects will be beyond the scope of this
book.
_ A Query item, shown in Figure 4-6, is contained within a query subject and
maps to a corresponding object in the data source.
Figure 4-6 Query items
Chapter 4. Create reporting packages with IBM Cognos Framework Manager 41
_ A Regular Dimension object, shown in Figure 4-7, contains descriptive and
business key information and organizes the information in a hierarchy, from
the highest level of granularity to the lowest, allowing for OLAP-style queries.
Figure 4-7 Regular Dimension
_ A Measure Dimension object, shown in Figure 4-8, is a collection of facts for
OLAP-style queries.
Figure 4-8 Measure Dimension
_ A Shortcut object, shown in Figure 4-9, is a pointer to an underlying object
that can act as an alias or reference.
Figure 4-9 Shortcuts
42 IBM Cognos Business Intelligence V10.1 Handbook
_ A Namespace object, shown in Figure 4-10, is an organizational container that
also uniquely identifies the objects that it contains. For example, two different
namespaces can both contain a shortcut called Products without causing a
naming conflict in the model, which is useful for star schema groupings.
Figure 4-10 Namespaces
_ A Folder object, shown in Figure 4-11, is an organizational container for
various model objects. Query item folders are also available to organize items
within a query subject.
Figure 4-11 Folder
Other objects are available, such as model filters and calculations, but we
discuss those later.
Chapter 4. Create reporting packages with IBM Cognos Framework Manager 43
The Project Info pane on the Diagram tab includes the following relationships:
_ A relationship, shown in Figure 4-12, explains how the data in one query
subject relates to the data in another.
Figure 4-12 Relationship
_ A scope relationship, shown in Figure 4-13, exists between Measure
Dimensions and Regular Dimensions to define the level at which the
measures are available for reporting.
Figure 4-13 Scope relationship
44 IBM Cognos Business Intelligence V10.1 Handbook
You might also work with the following types of objects:
_ The Data Sources folder, shown in Figure 4-14, contains the data sources that
we used in the project. The data sources are defined in IBM Cognos
Connection. The data sources are definitions containing the pertinent
information the IBM Cognos BI requires to connect to the underlying data
sources.
Figure 4-14 The Data Source folder
_ The Parameter Maps folder, shown in Figure 4-15, contains parameter maps
that allow for data or some other model value substitution at run time. These
parameter maps are useful when trying to dynamically affect the way that the
model behaves when reports are run.
Figure 4-15 The Parameter Maps folder
_ The Packages folder, shown in Figure 4-16, contains packages that are
published to IBM Cognos BI to make model metadata available to authors