You are on page 1of 107

Designing with Framework Manager

By
Rambabu K
Designing with Framework Manager
Objectives

• In this course, we will:


– Explore the Framework Manager environment
– Create and modify Framework Manager models to meet business requirements
– Publish models for use by ad hoc query and report authors
– Perform model management activities
– Secure metadata to allow appropriate access by users
– Identify advanced modeling techniques

2 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Table of Contents

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

3 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

4 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Objectives

• In this module, we will:


– Define Framework Manager and its purpose
– Describe the Framework Manager environment
– Examine the Framework Manager user interface

5 © Virtusa Corporation ● Confidential


Designing with Framework Manager

What is Framework Manager?

 Framework Manager provides the metadata model development


environment for Cognos.
 Use Framework Manager to model the business presentation of data
derived from one or more data sources.
 In Framework Manager, you work in a project, which contains:
 Model
 Namespaces
 Data sources
 Parameter maps
 Packages

6 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Describe the Framework Manager Environment

• In a Framework Manager project, you will interact with the following objects:
– Model
– Namespace
– Folder
– Query subject
– Query item
– Relationship diagram
– Parameter map
– Package

7 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine the model


• Examine the model from the perspective of the report or ad hoc query author.

Create Report based on selected Package


Go Sales
Publish Package

Select Package from


cognos connection

8 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Query Subject Types


• Following are the Query Subject Types:
• Data source query subject
• SQL query that acts as a view into the underlying query data source
• Default data source query subjects are created based on imported objects

• Model query subject


• Contains query items based on other existing objects in the model

• Stored procedure query subject


• Contains query items based on the return list of a stored procedure

9 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Design and Create a Project

• Design
– Know your data and the structure of your data sources.
– Work with report authors to understand business reporting requirements.
– Identify project structure.

• Create
– Create a project.
– Import the required metadata.

• Organize
– Organize objects to create a physical view of the metadata.

10 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Prepare Metadata

• Administer
– Specify query processing type.
– Define function sets.

• Clean Up
– Examine and modify object properties.
– Examine, modify, and create relationships.
– Edit SQL.

11 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Prepare the Business View

• To enhance the business view of the model, you can:


– Create one or more presentation views
– Add calculations
– Create and apply filters
– Add prompts
– Create dynamic queries
– Use star schema groupings
– Specify dimensional information

12 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Create and Manage Packages

• To create and manage packages, you can:


– Define the package contents
– Modify a package
– Specify languages
– Set governors
– View package inclusion
– Enable versioning

13 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Set Security

• To set security in Framework Manager, you can:


– Define access to packages
– Create security filters
– Define access to objects
– Define package administration access

14 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Manage the Project

• Perform project management activities such as:


– Implementing multiuser modeling
• Repository control
– Sharing and reusing information
• Segmenting and linking
– Section logging and synchronizing
– Checking a project

15 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Examine the Framework Manager UI

Project Info
Object Explorer
Object Diagram

16 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Summary

• In this module, we have:


– Defined Framework Manager and its purpose
– Described the Framework Manager environment
– Examined the Framework Manager user interface

17 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Question

Identify and describe the following objects as indicated by their icon.

18 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Answer

Query item with usage property set to Fact

Query subject that does not contain any query items set to Fact

Query subject containing at least one query item set to Fact

Query item with usage property set to Identifier

Query item with usage property set to Attribute


19 © Virtusa Corporation ● Confidential
Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

20 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Objectives

• In this module, we will:


– Identify and apply model structure best practices
– Create a project
– Import metadata
– Organize objects
– Publish the model

21 © Virtusa Corporation ● Confidential


Designing with Framework Manager

What Are the Best Practices?

 Follow some best practices for structuring Framework Manager


projects.
 Use a two-tier model that organizes:
 Foundation objects into a
physical layer
 Reporting objects into a
presentation layer
 Share and re-use information.
Presentation
layer
Physical
layer

22 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Define the Physical Layer

 The physical layer:


 Represents the metadata as it appears in the data source
 Provides a foundation for the presentation layer
 Is made up primarily of data source and stored procedure query
subjects
 When creating the physical layer:
 Import only the smallest number of objects required
 Create calculations and filters that meet a wide range of
business requirements

23 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Define the Presentation Layer

 The presentation layer:


 Is a modeled business view of the metadata from the data
source
 Facilitates report authoring
 Is primarily made up of model query subjects and shortcuts
 When creating the presentation layer:
 Consider using shortcuts instead of copies of query subjects
 Create calculations and filters only if they meet a specific
business requirement

24 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Create a Project

 Specify a name and file location for your project.

25 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Define Languages

 Specify a design language for the project when you first create it.
 Add languages any time after the project is created.

26 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Data Sources

 Import metadata into the model from the following sources:


 Relational databases
 Existing Cognos ReportNet models
 Architect models
 Impromptu catalogs
 Third-party metadata sources
 XML data file

27 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Import From Multiple Data Sources

 Import metadata from one or more of the supported data sources.


 Consider the following:
 Create a separate namespace for each import.
 Define relationships between query subjects.
 Create model query subjects that contain query items from two or
more data source (or model) query subjects.

28 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Specify Relationship Criteria

29 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Define Function Sets

• You can restrict the function sets available in the expression editor so that it
lists only the vendors that you want.

30 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine and Organize Objects

• After importing metadata:


– Examine objects to validate the metadata
– Organize objects to create a structure

Set properties
Verify and test
query subjects
Create folders &
rename objects

31 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Summary

• In this module, we have:


– Identified and applied model structure best practices
– Created a project
– Imported metadata
– Organized objects
– Published the model

32 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

Best practices for modeling a physical layer include which of


the following:

 Import only the smallest number of objects required


 Create calculations and filters only if they meet a specific
business requirement
 Create calculations and filters that meet a wide range of
business requirements
 Create calculations and filters inside packages so that they can
be readily published for use by ad hoc query and report
authors

33 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

Best practices for modeling a physical layer include:

a) Import only the smallest number of objects required


c) Create calculations and filters that meet a wide range of
business requirements

34 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

35 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Objectives

• In this module, we will:


– Verify, modify, and create relationships between query subjects
– Verify and modify query item properties
– Create and test new query subjects
– Create calculations
– Create macros using parameter maps and session parameters

36 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Relationships in Framework Manager

• Relationships are maintained in the object diagram.


• They define the cardinality between query subjects.
– Cardinality defines the numeric relationships between occurrences of the query
subjects on either end of a relationship

37 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Modify and Create Relationships

• Framework Manager creates relationships for your metadata during import.


• You can modify the existing relationships or create new ones if they are
required and do not exist.

• Relationships can be created between any two query subjects.


• Presentation layer relationships can override physical layer relationships.

Presentation Layer Physical Layer

1..1 1..1
Product Product_Forecast Product Product_Forecast
0..n 1..n

Overrides
38 © Virtusa Corporation ● Confidential
Designing with Framework Manager

Examine Ambiguous Relationships

• Relationship

Ambiguous or Redundant Relationships

A 1..1
1..n B
1..1 1..1
1..n

1..n
C

39 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Resolve Ambiguous Relationships

• Use shortcuts and folders to isolate relationships in order to resolve ambiguity.

Sales Branch Sales Branch


1..1 1..1 1..1 1..1

1..n 1..n
Orders Orders
1..n 1..n

Relationship 1..1 0..n 1..1 0..n

in Sales Staff Shortcut to Sales Staff Sales Staff


Question

40 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Query Subjects

• Query subjects are the building blocks in Framework Manager.


• A query subject contains query items which represent a projection list from the
underlying data source.

• There are three types of query subjects:


– Data source query subjects
– Model query subjects
– Stored procedure query subjects

Query Subjects
Query Items
41 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Modify and Test Query Subjects

• After you import or create a data source subject, or create a model query
subject, you can:
– Edit the SQL (data source query subjects only)
– Change the query items referenced
– Create calculations
– Add filters
– Insert a macro

• After you import a stored procedure query subject, you can edit the name,
data source, and arguments.

• You can test query subjects as you create or modify them to see the data they
retrieve.

42 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Edit the SQL of a Data Source Query Subject

• You can quickly and easily alter the SQL of a data source query subject to meet
your needs.

43 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Examine Query Items

• Query items represent data columns in a data source, or are calculations based
on data columns in a data source.

• A query item may be:


– A reference to a data source column
– A reference to another query item
– A calculation

Sales Territory Table

Query Subjects Query Item


44 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Modify Query Item Properties

• Each query item has properties that can be modified to suite your reporting
needs.

45 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Set Usage Property

• The Usage property


– Identifies the intended use for the data represented by each query item
– Determines the aggregation rules of query items and calculations

• The different Usage property settings are:


– Identifier
– Fact
– Attribute
– Unkown

46 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Merge Metadata to Create a New Query Subject

• You can reuse existing model metadata to quickly create new query subjects.
• You can merge the following objects:
– Model and data source query subjects
– Query items, filters, and calculations
– Relationships
– Shortcuts

Query Subject Query Subject


A B

Query Subject
A_B
47 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Create a Stored Procedure Query Subject

• Stored procedures return result sets based on simple to complex queries.


• Framework Manager can leverage the stored procedure by generating a query
subject that reflects the returned result set.

• Stored procedure query subjects must:


– Return a single uniform result set
– Not have an overloaded signature

• You must test the stored procedure query subject after you create it in order to
generate the projected query items.

48 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Create Calculations

• Create calculations to provide report authors values that they regularly use.
• Calculations can use:
Planned Revenue Calculation
– Query items
– Parameters [gosales].[ORDER_DETAILS].[QUANTITY]

– Functions
*

• There are two types of calculations:


Operator
[gosales].[ORDER_DETAILS].[UNIT_SALE_PRICE]
– Embedded
– Stand–alone Query Items

49 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Parameter Maps

• Parameter maps are similar to data source look–up tables.


• They substitute a passed parameter with a value understood by your
application.

• Each parameter map consists of two columns:


– Key (must be unique)
– Value (used for substitution) Key Column Value Column

cs CS
cs–cz CS
da DA
da–dk DA
de DE
de–at DE
de–ch DE

Tab–Delimited Parameter Map File


50 © Virtusa Corporation ● Confidential
Designing with Framework Manager

Create a Macro

• Macros are fragments of code that you can insert within definitions and
properties of model objects.

• A macro can contain references to:


– Parameter maps and parameter map entries
– Session parameters

• Parameter values in a macro are populated when a query is executed.

Macro

Select
PRODUCT_LINE.PRODUCT_LINE_CODE,
PRODUCT_LINE.PRODUCT_LINE_#$[Locale Map]{$runLocale}# as Product_Line
from
[GO Sales.GO Sales.dbo].PRODUCT_LINE

Reference to Parameter Map Reference to Session Parameter


51 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Summary

• In this module, we have:


– Verified, modified, and created relationships between query subjects
– Verified and modified query item properties
– Created and tested new query subjects
– Created calculations
– Created macros using parameter maps and session parameters

52 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

Fill in the blanks.

Use _______ and _______ to isolate relationships in


order to resolve ambiguity.

53 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Answer

Fill in the blanks.

Use shortcuts and folders to isolate relationships in


order to resolve ambiguity.

54 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Question

What references can a macro contain?

55 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

A macro can contain references to:


 parameter maps and parameter map entries
 session parameters

56 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

57 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Objectives

• In this module, we will:


– Add a presentation layer to our model
– Create stand–alone and embedded filters

58 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Create a Presentation Layer

• The recommended model structure involves a physical layer and a presentation


layer.

• The presentation layer provides report authors with a meaningful view of the
metadata.

Presentation Layer

Physical Layer

59 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Create Model Query Subjects

• Model query subjects reuse query items from data source query subjects and
other model query subjects.

• They are useful in creating meaningful views of the metadata to the report
author.

• Model query subjects allow for further customization of the metadata to meet
specific requirements without affecting the underlying query subject.

Data Source Query Subjects Used to Model Query Subject


60 Create Model Query Subject
© Virtusa Corporation ● Confidential
Designing with Framework Manager

Examine Filters

• Filters are used to limit the rows retrieved by a query subject.


• There are two types of UI filters in Framework Manager:
– Stand–alone (reusable)
– Embedded (for a single query subject)

Stand–Alone Filters
61 © Virtusa Corporation ● Confidential
Embedded Filter
Designing with Framework Manager

Summary

• In this module, we have:


– Added a presentation layer to our model
– Created stand–alone and embedded filters

62 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

When would you choose to create a stand–alone filter


over an embedded filter?

63 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

Create stand–alone filters when you want to reuse the


expression in query subjects or packages.

64 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

65 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Objectives

• In this module, we will:


– Edit governors for our model and packages
– Create and modify packages
– Specify package languages and function lists
– Analyze the impact of publishing a package
– Publish packages and set their model version control

66 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Packages

• Packages contain a subset of your model to meet your presentation needs.


• You can create several packages, each used to suit different report authors'
requirements.

• You can apply security to packages to restrict access.


• You can nest packages to save development and maintenance time.

67 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Edit Governors

• You can set limits to the data retrieved in a query subject test or the report
design mode by setting governors.

• When you set governors, all packages subsequently published will reflect the
new settings.

68 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Create and Modify Packages

• Include the model objects you want to publish in your package.

Package

Model

69 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Specify Package Languages

• In the instance of multilingual data you must specify the languages to be


published with a package.

• You must add languages to the project before you can add them to a package.

70 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Specify Package Function List

• The package function list is used to specify which data source functions you
would like to make available to report authors.

71 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Analyze the Impact of Publishing a Package

• If you have updated a package, you can analyze the effects of the changes you
made before deploying the new package to report authors.

View affected reports

View changed items

View changes made

72 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Publish Packages

• When you publish a package, you can choose to save either to the ReportNet
server or to a network location.

• Before publishing, you should verify the package.

Cognos Connection

File System

73 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Set Model Version Control

• When you publish a package, you can select how many versions of the model
you want to retain on the Cognos ReportNet server.

Specify How Many Versions to


Maintain

74 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Summary

• In this module, we have:


– Edited governors for our model and packages
– Created and modified packages
– Specified package languages and function lists
– Analyzed the impact of publishing a package
– Published packages and set their model version control

75 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

Fill in the blank.


Packages contain a ________ of your model.

76 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

Fill in the blank.


Packages contain a subset of your model.

A package could could contain the entire model, but


generally you would only publish portions of the
presentation layer, not the physical layer, for end–
users.

77 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Question

True or false?
Governors validate SQL syntax for query subjects.

78 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

False.
Governors control SQL generation and thereby can control data
retrieval limits.

79 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

80 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Objectives

• In this module, we will:


– Examine the ReportNet security environment
– Create and apply security filters
– Restrict access to query subjects and query items
– Restrict access to packages

81 © Virtusa Corporation ● Confidential


Designing with Framework Manager

ReportNet Security

• The ReportNet security model is based on:


– Third-party authentication providers
– Authorization (security object + permission + entry)
– Cognos namespace
– Administration

• Security in Cognos 8 is optional, whereby anonymous access is allowed.

82 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Configure Authentication Providers


• Cognos 8 uses third-party authentication providers to leverage existing user and
group repositories.

• Providers store authentication information such as user names, IDs, passwords,


regional settings, and personal preferences.

83 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Use the Cognos Namespace


• Use the groups and roles defined in the Cognos namespace to control access to
the metadata in the model.

• The Cognos namespace contains security objects, which are:


– pre-defined groups or roles
– user-defined groups or roles

• You can:
– create groups and roles specific to a Cognos application
– repackage users, groups, and roles from the authentication providers
– avoid having to set up application specific authentication information in the
authentication providers

• Use is optional.

84 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Set Security in Framework Manager

• When you apply security in Framework Manager, you control access for selected
users, groups, and roles. To do this, you can:
– specify package access (metadata security)
– give visibility rights to objects (object-based security)
– define security filters (data security)

85 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Specify Package Access

• Specify which users, groups, and roles have access to the package and deny
access for all other users, groups, and roles.

Create a new group or role


& add users

86 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Set Object Visibility

• Specify which users, groups, and roles have visibility rights to the object and
deny access for all other users, groups, and roles.

87 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Define Security Filters

• Create a security filter to restrict the data returned by a query subject.

Major Market Small Market

88 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Manage Package Administrative Access

• Give administrative access to packages for users who are required to:
– Republish packages
– Perform impact analysis

89 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

Using which ReportNet tools do you implement repository


control for Framework Manager projects?

a) Report Studio
b) Cognos Configuration
c) Directory tool in Cognos Connection
d) Framework Manager
e) Configuration Manager

90 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

You implement repository control for Framework Manager


projects using the following ReportNet tools:

b) Cognos Configuration
d) Framework Manager

91 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

You create a segment so that you can create a backup of your project.
True or False?

92 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

False.
You create a segment so that you can:
 organize a project according to business rules or
organizational requirements
 distribute the responsibility for modeling
 share and reuse project information

93 © Virtusa Corporation ● Confidential


Designing with Framework Manager

1. Introduction to Framework Manager


2. Design and Create a Project
3. Prepare the Metadata
4. Prepare the Business View
5. Manage Packages
6. Set Security in Framework Manager
7. Manage Projects
8. Use Advanced Modeling Techniques

94 © Virtusa Corporation ● Confidential


Designing with Framework Manager
Objectives

• In this module, we will:


– Resolve a recursive relationship
– Specify Determinants

95 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Recursive Relationships in Framework Manager

• When you import metadata, Framework Manager displays self–joins in the


diagram, but does not execute them as queries.

Employee Query Subject


Recursive Relationship Employee ID
Between Employee ID Manager ID
and
Manager ID Phone Number
Ext.

96 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Resolve Recursive Relationships

• Use shortcuts to create and modify recursive relationships.

Employee Query Subject


Shortcut to Employee Query
Employee ID
Subject
Manager ID 1..1
Employee ID
Phone Number
1..n
Manager ID
Ext.
Phone Number

Ext.

Recursive Relationship
Can now be edited

97 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Specify Determinants

• Determinants is used to associate attributes with levels to ensure proper


aggregation and avoid double counting or repeating values.

• Framework Manager lets


you specify levels, keys,
attributes and hierarchies
for a query subject.

98 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Star Schemas

Dimension Dimension
1 2
1..1 1..1

1..n 1..n

Fact Table
1..n 1..n

1..1 1..1

Dimension Dimension
4 3

99 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Examine Conformed Dimensions

• A conformed dimension has relationships to more than one fact table.

Product
Dimension
1..1 1..1
1..n 1..n

Sales Inventory
Fact Levels Fact
1..n 1..n
1..1 1..1

Time
Dimension

100 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Manage Star Schemas in Framework Manager

Sales Fact Namespace Inventory Levels Fact Namespace

Product Product
Dimension Dimension
1..1 1..1

Sales 1..n 1..n


Inventory
Fact 1..n
1..n Levels Fact
1..1 1..1

Time Time
Dimension Dimension

101 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Summary

• In this module, we have:


– Resolved a recursive relationship
– Specified Determinants

102 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

Fill in the blank.

Specifying Determinants ensures proper ________.

103 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

Specifying dimension information ensures proper


aggregation.

104 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Question

True or false?

A conformed dimension has relationships with at least 4


fact tables.

105 © Virtusa Corporation ● Confidential


Designing with Framework Manager

Answer

False.
A conformed dimension has relationships with more
than one fact table.

106 © Virtusa Corporation ● Confidential


USA UK INDIA SRI LANKA

www.virtusa.com
For more information, please contact: SalesInquiries@virtusa.com

"Virtusa" is a trademark of the company and a registered trademark in the EU and In India.
"Productization" is a service mark of the company and a registered service mark in the United States.
107
© 2007©Virtusa
Virtusa Corporation
Corporation ● Confidential
● Confidential All Rights Reserved
"vRule" is a service mark of the company.

You might also like