Obiee 11G - Informatica - Dac - Odi - Obia - Bip - Main - Copy.24 PDF
Obiee 11G - Informatica - Dac - Odi - Obia - Bip - Main - Copy.24 PDF
Obiee 11G - Informatica - Dac - Odi - Obia - Bip - Main - Copy.24 PDF
By Ram Reddy
20/01/2014
Version 22
Confidential
Contents
1. Data Warehouse Concepts 7
1.1 Data 7
1.2 Transactional Data 7
1.3 Analytical Data 7
1.4 DW Architecture 8
1.5 DW Tools 8
1.6 OBIA 8
1.7 OBIEE 11G components 9
1.8 OLTP Vs OLAP 9
1.9 History of Data Ware Housing 10
1.10 Data Ware House Definition 13
1.11 Data Warehouse or Database Main Objects 14
1.12 Columns 14
1.13 Tables 15
1.14 Schemas 15
1.14.1 1. Star Schema 15
2. OBIEE Introduction 20
2.1 History of OBIEE 20
2.2 Obiee11g components 20
2.3 Types of components 20
3. Hands on 1: Physical Layer 22
4. Hands on 2 BMM layer 28
5. Hands on 3: Creating Presentation Layer 31
6. Hands on 4: Testing RPD 33
6.1.1 Checking repository for consistency: 33
Confidential
9. Hands on 7: Creating Dimensional Hierarchies 46
10. Hands on 8: Level Based Measures (LBM) 51
11. Hands on 9: Creating Web Catalog and Reports 53
12. Hands on 10: Working with Analysis 57
13. Hands on 11: Working with Filters 67
14. Hands on 12: Advanced Features of Analysis 76
15. Hands on 13: Building Views 80
16. Hands on 14: Dashboards 90
17. Hands on 15: Dashboard prompts 92
18. Hands on 16: Dashboard objects 96
19. Hands On 17: Oracle BI Delivers 99
20. Hands on 18: Aggregate Tables 104
21. Hands on 19: Partitions and Fragments 107
21.1 Value based partitioning 107
21.2 Modeling Fact Based Partition 110
21.3 Level Based Partition 115
22. Hands on 20: Variables 116
22.1 Repository variables 116
22.2 Session variables 124
22.3 Presentation Variable 131
22.4 Request Variable 133
23. Hands on 21: Modeling Time Series Data 136
24. Hands on 22: Configuring Many to Many Relationships 140
24.1 Modeling a Bridge Table 140
24.2 Modeling a Helper Table 146
25. Hands on 23: Setting Implicit Fact Column 155
26. Hands on 24: Security 157
26.1 Authentication 157
26.2 Authorization 159
27. Hands on 25: Cache Management 164
28. Hands on 26: Usage Tracking 175
29. Hands on 27: Multi User Development Environment 179
30. Hands on 28: Opaque View / Select Table 182
31. Hands on 29: Alias 183
32. Hands on 30: Parent Child Hierarchies 184
Confidential
33. Hands on 31: Unbalanced Hierarchies (Ragged and Skipped) 188
34. Hands on 32: Actions Links 190
34.1 Reusability Action Links 194
35. Hands on 33: Master Detail Report 196
35.1 Develop a Report Using Hierarchy Object 198
35.2 Condition 198
36. Hands on 34: Upgrade or Migration 199
37. Hands on 35: Deployment or Migration 203
38. Hands on 36: KPI (Key Performance Indicator) 206
38.1 KPI Watch List 206
38.2 Score Card 206
39. Hands on 37: ID Column 207
40. Hands on 38: ORACLE BI FOR MS OFFICE 208
41. INFORMATICA 9 211
41.1 INFORMATICA Introduction 211
41.2 INFORMATICA 9 Installation 211
41.2.1 Server Installation 211
Confidential
41.8.4 Exercise 4: Monitor the Workflow 255
Confidential
43.6.3 Creating Contexts 320
45.3.3 Create BI Publisher report based on Oracle BI Server Subject Area 351
Confidential
1. Data Warehouse Concepts
1.1 Data
Confidential
1.4 DW Architecture
1.5 DW Tools
1. DW tools are divided into two types. some of those tools are
ETL Reporting
Informatica OBIEE
Abintio Cognos
SSIS SAP-BO
ODI DOMO
BODI MSTR
1.6 OBIA
Confidential
4. OBAW(Oracle Business Analytic Warehouse) data model(set of tables around
950)
5. Pre build Semantic layer RPD
6. Pre build Reports & Pre build Dashboards Web Catalog
OLTP OLAP
1. Is useful to store Transactional data 1. Is useful to store Analyatical data
2. Is useful to run the business 2. Is useful to Analyze the business
3. The nature of data is current and 3. The nature of data is historical and
Detail summarized
4. OLTP Supports CRUD(Create , 4. OLAP supports only read
Partially read, update and delete)
5. It is a application oriented DB 5. It is subject oriented DB
6. It is volatile 6. It is nonvolatile
7. In OLTP data storage time is fixed 7. In OLAP data storage time is variant
8. OLTP DB are isolated as Applications 8. OLAP is integrated as per subject area
9. No of users are more(customers + emp 9. No of users are less (MM+HM)
)
10. In OLTP we will use normalizes 10. In OLAP we will use Denormalized
schema Schema
Confidential
Transactional Vs Analytical Systems (Continued)
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 11
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 12
Confidential
1.10 Data Ware House Definition
Confidential
1.11 Data Warehouse or Database Main Objects
1.12 Columns
Confidential
1.13 Tables
1.14 Schemas
1. Star
2. Snow Flake
3. Constellation or mixed
1.14.1 1. Star Schema
1. Organizes data into a central fact table with surrounding dimension tables
2. Each dimension row has many associated fact rows
3. Dimension tables do not directly relate to each other
4. All Dimension Tables are de normalized
5. Optimized to read data
6. User friendly ,easy to understand
7. In OBIEE BMM layer only Star schemas are used
Confidential
Star Schema diagram taken from OBIEE Tool
Confidential
2. Data is often descriptive (alphanumeric)
3. Qualifies the fact data
Confidential
1.14.2 Snow Flake Schema
Confidential
1.14.3 Mixed Schema
1. It contains more than one fact with some common dimensions (Conformed Dimensions)
2. It is combination of some stars or some snows or both
Conformed Dimensions
1. A dimension table is shared by two or more facts then it is called as conformed
dimension
2. OBIA data model created using conformed dimensions
Confidential
2. OBIEE Introduction
1. OBIEE 10.1.3.3.0
2. OBIEE 10.1.3.3.1
3. OBIEE 10.1.3.3.2
4. OBIEE 10.1.3.3.3
5. OBIEE 10.1.3.4.0
6. OBIEE 10.1.3.4.1
7. OBIEE 10.1.3.4.2
1. OBIEE 11.1.1.3
2. OBIEE 11.1.1.5
3. OBIEE 11.1.1.6
4. OBIEE 11.1.1.7
1. Administration tool
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 20
Confidential
2. Catalog manager
3. Job manager
4. Start bi services...etc
2. Web based or thin or browser based clients
1. Console
2. EM
3. Analytics
4. BI publisher
5. Real Time Decisions
1. Administration tool
1. Administration tool is useful to develop the semantic layer.
2. Semantic layer in OBIEE is called as repository file or RPD file.
3. The extension of repository file is .rpd
4. Semantic layer is also called as metadata layer.
Data about data is called meta data
Examples of Meta data: Table Names, View names, Stored Procedure names,
Column names, column data types, column size ...etc
5. In any data warehousing tool primarily we are going to work on meta data
6. Semantic layer in SAPBO is called as universe.
7. Semantic layer in cognos is called as .cpf (cognos project file) or model.
8. In creating RPD we have three steps.
1. Creating Physical layer.
2. Creating BMM layer.
3. Creating Presentation layer
Confidential
3. Hands on 1: Physical Layer
• select Connection type: OCI 10g/11g (native connection of oracle data base)
• Data source name: ORCL
• User name: supplier2
• Password: supplier2
• Click on next
Confidential
• Select tables, keys, foreign keys
• Click on next
• Expand supplier2 select
D1_CALENDER2,D1_CUSTOMER2,D1_ORDERS2,D1_PRODUCTS.
• Click on import selected (>).
• Name the connection pool as RRITEC_CP
• Click on ok
• Click On finish.
Confidential
Step2: Creating keys and joins
•Constraints: mainly we have 3 types of constraints.
I. Unique constraints eg: emp no.
II. Not null constraints eg: salary.
III. Check constraints eg: phone number.
• Keys: we have three types of keys
1. Primary key
2. Foreign key
3. Composite key
1. Primary key: unique + not null constraint is called as primary key.
Eg: Empno in emp table, deptno in dept table.
2. Foreign key: reference of primary key is called as foreign key.
3. Composite key: if we need two or more columns to uniquely identify record then it is
called as composite keys.
Eg: product no + product color.
Joins:
A relationship is called as join. In database we have mainly 5 joins.
Confidential
1. Equi join >>>>>>>Foreign Key
2. Non equi join>>>>>>Complex
3. Outer join(left, right, full) >>>>>> Logical join in BMM layer
4. Self join. >>>>>> Alias (in Physical Layer)
5. Cross join. >>>>> not supported by any BI tool
• Drag and drop from D1_orders table to calendar select yyyymmdd and period
key click on ok.
• Drag and drop from Orders table to customers. Select new key from customers
and select custkey from orders.
• Drag and drop orders table to products. Select product key from products and
select prod key from orders.
• Click on collapse all. Click on auto layout notice that we created star schema.
Close physical diagram window.
Confidential
Note1: Is OBIEE supports multiple databases?
Yes OBIEE has no limitation, to prove this import excel meta data into rpd
Product Price
Lux 10
Rin 20
3. Select all the cells name it as products. Similarly create one more table with the name of
Sales .
Year Sales
2001 100
2002 200
Confidential
• Click on ok. Again ok. Again ok.
Note2: Can we access all the tables of a database using one connection pool.
1. To access all the schemas of DB we should have all schemas permissions to connection
pool user.
2. In connection pool properties we need to enable required fully qualified names.
3. In connection pool select shared logon
2) While you are importing you should enable foreign key options.
Confidential
4. Hands on 2 BMM layer
Note: Wherever you drag and drop physical table then automatically logical column will be
created. More we will discuss in hands on 6 calculations
Confidential
3. Logical join is useful to define cardinality. more used cardinality is one to many and
never used cardinality is Many to Many and By default cardinality is 0,1 n
4. Logical join is useful to identify dimension tables and fact tables.
5. Logical join allows Oracle BI Server to make the best decision about the exact physical
SQL to generate based on the logical query path
Process:
1. Right click on Business model Sales business model diagram whole diagram.
2. Click on new join.
3. Drag and drop Fact Sales onto Dim1 periods
4. Click on ok.
5. Similarly create below joins
o Fact Sales to Dim2 customers
o Fact Sales to Dim3 products.
6. Close business model diagram.
10 101 1000
10 102 2000
20 103 500
20 104 1000
Confidential
If we are not mentioning the sal as measure column the output is like this.
Deptno Sal
10 1000
10 2000
20 500
20 1000
If we mention the Sal column as Measure (Sal is measure and is associated with aggregate
rule sum) then output is
Deptno Sal
10 3000
20 1500
Process:
1. In the BMM layer expand sales fact table double click on dollars column select
aggregation tab select aggregation rule as sum Click on ok.
2. Similarly provide aggregation rule for unit orders and units shipped columns .
Note3: One logical tables source may map to multiple physical tables
Note4: one logical column may map to ‘n’ number of physical columns.
Confidential
5. Hands on 3: Creating Presentation Layer
1. Presentation layer is the only layer visible to end users (Report Developer or clients).
2. In presentation layer we have 4 types of objects.
1. Subject area.
2. Presentation table.
3. Presentation columns.
4. Hierarchy object.
3. Subject area in 11g is called as presentation catalog in 10g.
4. Hierarchy object is newly introduced in 11g
5. Single Subject Area must be populated with content from a single business model;
cannot span business models.
6. Multiple Subject Area can reference the same business model.
Step 4 : Create Nested folders (or) nested tables(For version 11.1.1.6 or lower )
• Prefix the name of the presentation folder to be nested with a hyphen and a
space or type -> in description of table
Process:
Confidential
• Double click on supplier sales subject area.
• Click on presentation tables tab.
• Click on add (+).
• Name it as keys and in the description type -> stores key columns and click on ok.
• Again click on add (+).
• Name it as - measures (prefix the table name with hyphen and a space)
• Click on ok
• Make sure these two tables are available under sales fact tables .
Step 4: Create Nested folders (or) nested tables (IN OBIEE 11.1.1.7 )
Process:
4. Double click on Derived Table Click on Child Presentation Table Select Time
Series table Click on ok
Confidential
6. Hands on 4: Testing RPD
1. All logical columns are mapped directly or indirectly to one or more physical columns.
3. All logical tables have a logical join relationship to another logical table.
Confidential
Servers in OBIEE 11G:
1. Oracle BI server:
1. It is a main server.
2. It controls all data security rules.
3. RPD will be loaded in this server .
2. Oracle BI presentation server:
1. It is used to develop reports, dashboards, key performance indicator (KPI), score
cards etc…
2. If this server is down ,then we cannot open Analytics application
3. Oracle BI Java host:
1. It is used to display charts (graphs.)
4. Oracle BI scheduler:
1. It is used to schedule reports (Agents).
5. Oracle BI cluster controller:
1. It is useful to integrate ‘n’ number of servers.(OBIS,OBIPS,OBIJH)
2. Using cluster control we can achieve
1. Zero Down Time /High availability
2. Load balancing
6. Essbase Server
a. If back end data base is Essbase then we need this server
b. This server integration available in 11.1.1.7
7. Web logic:
1. It is web server useful to access reports and dashboards globally.
Above 1 to 6 servers are integrate in OPMNCTL (oracle process management network
control).
Confidential
6.1.2 Loading repository
1. Close RPD.
2. Start the web logic server alone or all OBI severs.
3. Configure RPD in EM (Enterprise manager).
4. Start or restart oracle BI server.
5. Confirm RPD loaded or not by checking log file.
6. Confirm RPD loaded or not by developing report.
2. In 10g RPD opened and if we load RPD in Oracle BI Server then we can not open RPD
in online mode with write permissions (it opens only read only mode)
Process:
Go to file menu of Administration tool click on close.
Step 2: Start the web logic server alone or All OBI severs
Go to path BI11g/user_projects/domains/bifoundation_domain/startweblogic.cmd
OR
Password:RRitec123.
Note: After installation first time if we start then only it will ask user name and password.
Second time onwards it will take username and password from Boot File
Confidential
Boot files location:
C:\OBIEE_HOME\user_projects\domains\bifoundation_domain\servers\AdminServer\security
5. Click on login.
1
4
Confidential
Note : Whenever we click on activate changes
1. Click on Availability
2. Select BI serversClick on restart selected yes after sometime close.
Confidential
Step 5: Confirm RPD loaded or not by checking log file
1. Go to below path
BI11g\instances\instance1\diagnostics\logs\OracleBIServerComponent\coreapplic
ation_obis1
2. Open Nqserver.log file observe our rpd name in the bottom of the notepad
Note1:
1. Whenever we click in activate changes in backend RPD Xerox copy will be created in
repository folder. this process is called as version control of RPD
2. In Nqsconfig.ini file RPD name will be modified.
3. we can find Nqsconfig.ini file in below path
E: /bi11g/instances/instance1/config/oracle BI server component/core application_obis1.
Requirement 1:
Develop a report with dept name wise salary expenditure.( I need 4 dept names and
corresponding salary expenditures).
Requirement 2:
Develop a report to employee grades.
1. Oracle BI Server provides a facility for logging query activity at the individual user level
2. By Default log level is 0
3. Log levels are available from 0 to 7.
4. In production we use ‘0’ i.e., No log level .This process is useful to improve the
performance of environment by reducing log creation work of oracle BI server.
5. In development and testing environments we use log level ‘2’.
6. The query log file is named Nq query.log and is located in the directory
Bi11g/instances/instance1/diagnostics/logs/oracle-bi server-component/coreapplication-
obis1.
7. Lower log level is subset of higher log level
Enable Log:
Confidential
Open RPD online mode go to manage menu Click on identity go to action
menu set online user filter type * click on ok double click on weblogic user
change log level from zero to 1
1. User name, session id & 1. All items for level 1,plus those
request id for each query. mentioned below.
Confidential
7. Hands on 5: Adding Multiple Sources
Process:
Confidential
Step 4: Moving into Presentation layer
1. Drag and drop newly added 5 columns onto products presentation table.
Step 5: Testing
1. Develop a report using item type and dollars columns and observe output.
Confidential
8. Hands on 6: Calculations
Confidential
8. Click on ok again ok.
Confidential
Testing :
Develop a report with year, month code, unitord, unitship, cuts, cutsp ,cutsw & observe the
output.
Notes:
1. In logical calculations pre aggregation will take place
2. In Physical calculations post aggregation will take place
3. As a best practice use logical columns in calculations ,because logical columns are
reusable
4. Calculation Wizard is useful to handle NULL values and DIVIDE WITH ZERO error
5. Calculation wizard is useful to calculate percentages easily.
6. Any Complex Calculation ,please ask ETL team to create in their ETL mappings
7. If Calculation is simple and reusable then create in RPD BMM layer
8. If Calculation is simple and not reusable then create in report
9. By Default number of rows from database 65000
Confidential
3. Create a business model with the name of date_diff
4. Drag and drop emp_date_diff table onto business model
5. Duplicate table emp_date_diff
6. Create logical join between emp_date_diff and emp_date_diff#1
7. Drag and drop date _diff business model into presentation layer
8. right click on logical table emp_date_diff new bject logical column name it
as No of working days click on column source tab develop below
expression
9. Drag and drop No of working days logical column onto presentation table
emp_date_diff check in reload server meta data
10. Develop below repot and observe output
Confidential
9. Hands on 7: Creating Dimensional Hierarchies
Eg:
1. Time hierarchies
Grand totalYear quarter month day.
2. Customer hierarchies
Grand total Region district sales rep customer
3. Product hierarchies
Grand total Type subtype generic specific.
Confidential
Step 2: Calculating quarter column
1. Right click on period dimension table new object logical column name it as
quarter.
2. Click on columns source tab select derived from existing column using an
expression.
CASE
WHEN "B191 sales"."01 dim time"."Month in year" < 4 THEN 'Q1'
WHEN "B191 sales"."01 dim time"."Month in year" <7 THEN 'Q2'
WHEN "B191 sales"."01 dim time"."Month in year" < 10 THEN 'Q3'
ELSE
'Q4'
END
5. Click on ok again ok.
1. Right click on year level year column new logical level key click on ok.
2. Right click on quarter column new logical level key click on ok.
3. Right click on month code new logical level key click on ok.
4. Click on save.
Confidential
Note: If content logical level mapped wrongly then we will see error “[nQSError: 14020] none
of the fact tables are compatible with the query request”
Step 6: Testing
1. Load RPD into oracle BI server.
2. Develop a report with year , dollars column.
3. Click on year column properties then interaction select primary interaction as
drill click on ok click on results click on 1998 Click On Quarter click on
month.
Note : Similarly create product & customer hierarchy with below levels as shown in screen
shot and test by developing reports .
Customer hierarchies
Region district sales rep customer
Product hierarchies
Type subtype generic specific.
Confidential
Hierarchies are useful to
1. Drill down.
2. Drill up.
3. Drill across (or) drill by.
4. Level based measures.
5. Aggregate navigation.
6. Time series measures.
1. Drill down
1. Navigating from high level to low level is called as drilldown.
2. Above testing process we can consider as drill down.(year quarter month
day)
2. Drill up
1. Navigating from low level to high level is called as drill up (Day Month Quarter
Year)
Process:
1. Open RPD in online mode double click on day level select preferred drill path
tab click on add select month level click on ok.
2. Check in changes & reload server metadata.
3. Develop a report with yymmdd , dollars.
4. Click on yymmdd column properties interaction under value primary
interaction as drill click on ok.
5. In results click on any one number. and observe month data.
3. Drill across:
1. Navigating from one hierarchy to another hierarchy is called as drill across.
Eg: Day Region (drill across)
Process:
1. Go to Rpd double click on day level remove month column click on add select
region click on select check in.
2. Reload server metadata.
3. Develop a report with yymmdd , dollars.
4. Click on yymmdd column properties interaction primary interaction as drill
click on ok click on results.
5. Click on any value & observe the output.
Confidential
5. Number of Elements at this Level
a. As per the documents this value equivalent distinct values of column mapped
with that level. But Maintaining this rule is difficult hence we will make sure from
top level to bottom level it is in increasing order
c. Default value is 1
e. IF same content logical level available then this property is useful To pick
proper aggregate table
Confidential
10. Hands on 8: Level Based Measures (LBM)
1. Nested aggregate functions are not supported by RPD. Hence we need learn LBM
Ex: SUM(SUM(ACTLEXTND))
2. If a measure column is calculated on one particular level then it is called as level
based measure.
3. Level based measures are useful to calculate share or percentages.
1. Open RPD in online mode Right click on sales fact tables new object logical
column total revenue column source select derived from existing column
using expression click on edit expression double click on dollars column
click on ok again ok drag and drop total revenue onto customer dimension
customer total level drag and drop total revenue into presentation table .
Step 2: Understanding or testing Level Based Measure
1. Go to reporting end and develop a report with region ,dollars , total revenue.
2. Click on results. Notice that total revenue and dollars column displaying same value
for all the rows that mean it is calculating at the level of total customers.
1. Right click on sales fact table New object logical column name it as share
click on column source tab select derived from existing column using an
expression Edit expression double click on dollars column double click on
(/) divided by double click on total revenue * 100 click on ok again ok.
2. Drag and drop share into sales presentation table check in changes.
Step 4: Testing
1. Reload server metadata. In above report (developed in step2 ) add one more column
share observe the result.
Step 5: some more exercises
1) Calculate district share within region
2) Calculate Itemsubtype share within item type
3) Calculate Itemtype share
4) Calculate year wise share
5) Calculate Quarter share with in year
6) Can we map a measure column with multiple levels of a hierarchy : NO
7) Develop a report with region, dollars(measure), grand total(LBM).if we click on central
region then dollars measure will split district wise where as grand total LBM wont split .
Confidential
02 OBIEE Learner Level
2. Analytics
1. Analytics is a web based component. It is useful to access.
a. Web catalog.
b. Analysis.
c. Dash boards.
d. KPI
e. KPI Watch List
f. Score Cards
g. Administration portal.
h. BI publisher….etc
2. To open analytics page we need to make sure below servers are running
b. OBIPS
c. OBIS
Confidential
11. Hands on 9: Creating Web Catalog and Reports
Web Catalog:
1. It is a container (or) pre defined folder structure.
2. It is useful to store reports, dash boards, KPIs, Score cards , user profiles etc…
3. Web catalog also called as BI presentation catalog
1. Configure EM.
2. Restart oracle BI presentation server
3. Confirm catalog in catalog folder.
Step 1: Configure EM
Confidential
Step 3 : Confirm catalog in catalog folder
Note:
Confidential
4. catalog contains three folders
Shared folder or Public folder
Users or My folders or personal folders
System
1. Shared Folder:
1. This folder is useful to share reports or dashboards or KPIs..etc to end users or business
users .
2. My Folder:
1. This folder is personal folder .it will be created for each and every user separately with
the name of user when ever first time he signed into analytics
2. If a user save a report in this folder that cannot be accessed by any other user .
3. These folders are useful to save partially developed reports
3. System: Hands on 12
1. It is useful to store system level properties.
2. This folder is not accessible from analytics page . DDR
Confidential
Analysis:
1. Open analytics click on new analysis select subject area sales click on any
column click on results save it.
Confidential
12. Hands on 10: Working with Analysis
1. Develop a report with columns year, region and dollars. Place cursor on any column &
observe below properties.
1. Column properties.
2. Edit formula.
3. Filters.
4. Sorting.
5. Delete.
1. Column properties:
column properties are useful to set below options.
1. Style
2. Column format.
3. Data format.
4. Conditional format.
5. Interaction.
6. Write back
1. Style:
2. Column Format
Headings
Confidential
Hide columns:
Scenario: Customer want to see month column as per calendar sorting (ex
jan>>Feb>>mar…..etc)
Click on monthcode column properties Click on column format Enable hide option
as per below click on OK
Step3: Testing
Click on results and observe output
Confidential
Case 2: If requirement is in all reports, then we can configure in RPD
Step1: Open RPD in online mode expand Periods logical table double click on
month columnIn General tabClick on Set Select Monthcode column
Confidential
Exercise : Develop a report with region ,month and Dollars .Notice that under each
region Jan ,feb,mar,apr appearing two times .please roolup and display only once
Confidential
3. Data Format:
NOTE: If this formatting is required for all existing reports and upcoming reports then in data
format tab click on save as system wide default
4. Conditional format:
Process:
Confidential
Step 2: Applying conditional format
Step 3: Testing
Confidential
Your result should be as per below
5. Interaction
Will discuss in Advanced OBI 11g
6. Write Back
Will discuss in Advanced OBI 11g
2. Edit formula:
Process:
1. In above report(conditional format practice ) click on criteria add one more dollars
column click on Edit formula develop below expression.
Confidential
END
3. Click on ok
4. Click on results
Bins:
Confidential
Process:
2) Click on first type column edit formula click on binsdevelop bins as per
belowClick on ok
3) Click on result
Filter Function:
Process:
Confidential
2) Select first dollar column edit formula and develop as shown below
Confidential
13. Hands on 11: Working with Filters
Filter:
1. Port or column
2. Operator
3. Value
Example Deptno = 10
1. Develop a report with 3 columns year, region, and dollars. Click on year filter type value
as 1998. Click on ok & click on Results.
Confidential
2. Click on filter button in filter pane click on more columns expand product
select Product type Column click on down arrow mark of value select beef,
bread, cheese. click on ok click on results.
1. If we need to use a filter in multiple reports then as a best practice save that filter and
use in all reports.
1. Click on new click on filter click on supplier sales from subject area pane click
on year type 1998 click on ok
2. From subject area pane click on region from drop down select central & east
click on ok
3. Click on saveselect any folder Name filter as 1998 central & east filters click
on ok.
1. Click on new analysis supplier sales double click on year, region, dollars
2. Navigate to our saved filter select it & click on (+) add click on ok click on results.
Confidential
4) Using one report output as filter in another report
3. Click on save Select any folder name it as current _month click on ok.
1. Develop another report with columns year, month code, region, dollars
2. Click on month code filter select operator as is based on result of another
analysis click on saved analysis browse select our current_month report
click on ok again ok click on results.
Confidential
Exercise: Develop a report with columns year, monthcode, region and dollars and show only
max month corresponding data from each year
5) Using variables
1. Develop a report with year, month code, region, dollars
2. Click on month filter click on add more options Select repository variables
type repository variables as current_month click on ok click on results.
Confidential
6) Using SQL expression:
3. It is equivalent to database sub query concept.
4. Develop a report year, month code, month, region, dollars click on region filter click
on add more options sql expression develop below expression
i) Select “supplier sales” “customers” “region” from “supplier sales” where “supplier
sales” “customers” “region” = “central”
5. Click on ok click on results.
Confidential
8) Add a column filter prompt to a request:
1. User friendly filter or run time filter or Dynamic filter is called as prompt.
Process:
1. Develop a report with region, sales district, dollars
2. Click on prompts click on new column prompt region click on ok
3. Again click on new column prompt sales district click on option and expand
select limited values by region click on ok click on preview select central
Select District click on ok.
Confidential
10) Presentation Variable Prompt
Procedure:
Confidential
In the criteria tab of the report click on region column filter select convert this filter to
sql click on OKdevelop expression click on ok
UPPER("Customers"."Region")=UPPER ('@{PV_USER_SELECTION}') OR
UPPER("Customers"."Sales District")=UPPER ('@{PV_USER_SELECTION}')
Step 4: Testing
Click on the prompts tab of the report click on preview type gulf observe
output
Note : None of the projects are using report level prompt these three prompts delivered as
part of syllabus .Report level prompts are just for testing purpose only . In project if you need
prompt then we will go for DASHBOARD PROMPTS
A filter which is applied on LTS of RPD is called as global filter. Normally used to filter
permanently unwanted data from BI application
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 75
Confidential
14. Hands on 12: Advanced Features of Analysis
Process:
Confidential
Direct database request:
Process:
Confidential
6) Click on OK
Step 2: Assigning to BIAuthor Group to get developer permissions
1) Click on users and groups tabClick on users tab
2) Click on user RRITECDDR
3) Click on groups tab
4) Select BIAuthors group
5) Click on >
6) Click on Save
2) Click on
3) Click on
4) Click on
5) Select List as usersClick on search Select RRITECDDRClick on Move
6) Click on OKAgain Click on OK
7) Similarly provide other privilege
Confidential
Step 5: Creating DDR report
1) Login to Analytics as a RRITECDDR user Click on new analysis click on create
direct database request provide connection pool name as connection pool (RPD
physical layer connection pool name) type sql statement as select * from scott.emp
2) Click on validate sql & retrieve columns click on results and observe the output.
Confidential
15. Hands on 13: Building Views
1. View is a template
2. View is useful to present data as per business requirement.
3. Title & table are called as by default views.
4. Views will be integrated in compound layout.
5. We have 22 types of views , some of those are
1) Title 10) Column selector.
9) Selection Steps(new in
11.1.1.6)
1. Title
1) It is useful to display
1. name of the report
2. logo of the client
3. Run date & time of report.
2) We must copy image of client in below location
BI116g\Oracle_BI1\bifoundation\web\appv2\res\s_blafp\images
3) syntax for logo Fmap:images/the name of image.jpg
where fmap =:\BI116g\Oracle_BI1\bifoundation\web\appv2\res\s_blafp\images
2. Table
Confidential
2) In OBI 11g Table prompts ,sections and excluded are newly introduced
3) Can create Subtotals, grand totals, alternate row colors and the maximum number
of rows per page.
Process:
1) Develop a report year, month code, region, type, and dollars. Click on results.
2) Click on table edit drag and drop region into table prompts, type into sections.
3) Click on year “sigma” symbol select after click on columns & measures “sigma”
symbol click after click done.
4) Click on table edit Click on Table View Properties beside row styling
enable alternate styling enable repeat cell valuesclick on done
5) Click on table edit Drag and drop type beside monthcode column click on
Table View Properties select content paging rows per page as 20 click on
done
Note:
1) In 11.1.1.7 Fixed headers with scrolling content option introduced
2) In 11.1.1.7 Include rows with only Null values option introduced
3. Pivot table
1) Provide the ability to rotate rows, columns and section headings to obtain different
perspectives of the same data
2) In Pivot Table 6 parts are available those are
1. Pivot Table Prompts
2. Sections
3. Excluded
4. Rows
5. Columns
6. Measures
Process
Confidential
1) Develop a report with columns year, month code, region, sales district, type, dollars click
on results
3) Click on pivot table edit drag and drop region into table promptsDistrict into
sections month code into excluded type into columns
Duplicate layer
Confidential
Table Vs Pivot Table
4. Graph
Process:
1) Develop a report with region, district, year, type, dollars. Click on results
2) Click on new view click on graph bar default vertical click on edit graph
drag and drop region into graph prompts
3) Drag & drop sales district into section & enable display as slider, drag & drop year
into legend click on done & observe output.
5.Gauge chart:
1) It is nothing but Speedo meter. It is designed to compare one dimension with one
measure.
Process:
1) Develop a report with region, dollars.
Confidential
2) Click on results click on new gauge default (dial) observe output.
6.Funnel chart:
1) It is useful to compare one dimension with two measures & those two measures must
be actual versus targets.
Process:
1) Develop a report with region, unit shipped, units ordered click on results
2) click on new view funnel (default (standards)) under settings click on high
values properties click on custom value 97.6 type click on low value properties
custom values type 97 click on doneobserve output
8.Filters:
1) It is useful to capture criteria filter conditions automatically.
Process:
1) Develop a report with year, region, and dollars.
2) Click on create filter more columns expand products select type click on ok
select beef, bread, cheese click on ok click on results
3) Click on new view click on filters drag and drop filter view between title & table
9.Selection Steps:
1) It is useful to do custom calculations /row wise calculations.
2) It is a new feature in OBIEE 11.1.1.6
3) Selection steps also useful to develop filter condition.
Process:
1) Develop a report.
2) Click on results
Confidential
5) Observe output
6) Click on new view add selection steps --> Click on non veg revenue of selection steps
and observe output
Confidential
1) Develop a report with year, region, dollars
2) click on results
3) click on new view other views column selector column selector edit
4) select column1 double click on month code select column2 double click on
sales district select column3 double click on unit ordered, unit shipped
5) click on done
6) Drag and drop column selector between title & table select sales district Observe
output.
11.View selector:
Process:
1) In the above report click on new view graph pie again click on new view
graph pie
2) Click on second graph edit. Drag and drop year into excluded drag drop region on to
SlicesClick on done
3) Click on new view view selector click on edit view selector Select graph1,
graph2Click on arrow mark
4) Click on Graph1 edit Click on rename name it as year versus dollars click on ok.
5) Similarly rename graph2 as region versus dollars click on done Observe output.
Confidential
12. Legend
1. It is useful to decode color coding or acronyms.
a. Example : OBIA=Oracle Business Intelligence Applications and Color
RED=Poor Business
Process:
1. Develop a report with year, region, type, and dollars.
7. Click on doneDrag and drop legend view between title & table.
13.Narrative:
Process:
1. Develop a report with year, unit ordered, unit shipped click on results click on
new view narrative click on edit narrative In the Narrative part type as per
below.
The year @1 orders @2 shipment is @3 [br/] line break click on done.
Confidential
Exercise : Develop a report to capture data refresh date
14.Ticker:
1. Ticker is useful to scroll information on a report.
Process:
1. In the above report click on new view ticker.
15.Static text:
1. It is useful to provide some comments in report. In the above report click on new view
static text click on edit static text type welcome to RRitec click on done.
16.Logical SQL:
1. It is only for developer purpose ,business user can not understand this logical SQL.
17.No Results :
1. It is useful to display some custom message when ever report has no result
Process:
1. Develop a report with year ,region and dollars
3. Click on results
Confidential
5. Select as per below and type below matter
Confidential
16. Hands on 14: Dashboards
1. Dash board is a template it is useful to integrate ‘n’ no. of reports, Dashboard prompts
dashboard objects,KPI,SCORECARDS ,…etc
2. End users (client (or) customers) will like to see only dash boards.
3. Dash boards are two types.
1) My dashboard.
2) Shared dashboard.
My dashboard:
i. It is a personalized view of the data.
ii. My dashboard will be created automatically whenever one user is created.
iii. We can access my dashboard by clicking dashboard my dashboard.
Shared dashboard:
i. Shared dashboard is a public or corporate dashboard.
ii. It can be accessed by any user in the world but they need to have valid
permissions.
Confidential
Step4: Create one more report
1. Develop a analysis with below columns region, type, dollars
2. click on region filters select operator as is prompted
3. click on save & name it as R3.
Confidential
17. Hands on 15: Dashboard prompts
1. Column prompt:
Note: Protected filter is useful to develop constant filters in report. These filters will not
be affected by dashboard prompt.
Protected Filter
Confidential
2. Image prompts:
1) It is a new in OBI 11G
3. Variable prompt:
Confidential
1) It is useful to store user response in one variable & we can call this variable in any
calculations, filters, views(Title,narrative,ticker..etc) etc.
2) This variable is called as presentation variable.
3) It is a new in OBI 11G
1) Click on new click on dashboard prompt Select supplier sales subject area
click on new select variable prompt give the name as v_region label as select
region user input as radio buttons radio button value as all column values
click on select column expand customers select region click on ok again ok
click on save select shared folder /RRITEC path and name it as region variable
prompt click on ok
Confidential
1) Click on dashboard Select RRITEC_DASHBOARD click edit dashboard
2) Create a new page and name it as PV_page drag and drop region variable prompt
into PV_page
2) Drag and drop above report Variable_source_report
3) Click on save Click on run select East click on apply observe result.
Confidential
18. Hands on 16: Dashboard objects
1) Dashboard object is useful to organize reports, KPI, Score Cards or dashboard prompts.
2) We have below dashboard objects.
1. Column.
2. Section.
3. Link or image.
4. Embedded Content.
5. Text.
6. Folder.
7. Alert section(New in 11G)
8. Action link(New in 11G)
9. Action link menu(New in 11G)
Note: GUDIDED NAVIGATON dashboard object removed .however same
functionality can be achievable using condition
1. Column:
1) Column is a biggest object in dashboard page
2) It is useful to organize reports vertically or horizontally with in dashboard page
3) With Column Object we will get Collapse or expand button
2. Section:
1) Section is a biggest object in column
2) It is useful to organize reports vertically or horizontally with in the column
3) We can provide permissions at section level
Confidential
Step 1: Develop a negative business report with columns customer
name,salesrep,region, district ,dollars put filter on dollars as lessthan zero
5. Text:
Confidential
1) It is useful to provide some comment lines in dashboard
2) It also accepts scripts(Java script) and Scripts are useful to get some extra functionalties
in dashboard
Process:
Drag and drop text object into dashboard type welcome to RR ITEC (Information
Technology Education Center) preview ok.
Create clear button in dashboard page
(IN 11G this functionality will come default ,IN 10g we can do using below process)
Drag and drop text dashboard object into dashboard page beside any dashboard prompt
Edit text dashboard object write below code
<div class=”XUIPromptEntry minibuttonOn”><a href=”#” onclick=”return
PersonalizationEditor.removeDefaultSelection(false)”>Clear</a></div>
6. Folder:
1) It is useful to present saved content in a dashboard.
2) It is useful to business users to access reports & dashboards easily.
Process:
Drag and drop folder object below text object click on folder properties browse
select shared folders RRITEC ok save run.
Note: Alert ,Action link and Action link menu will be discussed in rest of the chapters
Confidential
19. Hands On 17: Oracle BI Delivers
1) Oracle BI delivers are useful to create schedules (or) Agents (or) Job.
2) Automates Business Intelligence
3) Creates alerts based on Business Intelligence results
4) Detects specific results and immediately notifies the appropriate person or group through
Web, wireless, mobile, and voice communications channels.
5) Agent of 11G was called as IBOT(Intelligent Bursting and Output Tool) in 10G
1) In 11g configuring of Oracle BI Scheduler Server will be done with the installation
Of OBI 11g product [in 10g it was manual process]
2) Scheduler tables by default created in a schema DEV_BIPLATFORM with installation of
RCU(Repository Creation Utility )
3) Scheduler tables are
1. S_NQ_JOB
2. S_NQ_JOB_PARAM
3. S_NQ_INSTANCE
4. S_NQ_ERR_MSG
2. Scheduler tables schema configured in EM. To observe navigate
Deployment Scheduler
3. To send mails from analytics application ,we need a SMTP server .Go to the
Deployment Mail
Confidential
2. Creating delivery device
Process:
Confidential
3. Creating delivery Profile:
4. Agent:
1) In OBIEE 10G it was called as IBOT
2) It is useful to schedule a report or dashboard page
3) It is useful to generate alerts.
4) Agents can be created in three ways
a. By using Scheduled Time
b. By using Scheduled Time and Condition
c. Chain Of Agents
Process
Confidential
select agent report click on ok Save into Shared Folder/RRITEC folder with
the name of first agent
2) After 2 mins Click on home click on alerts observe our first agent click on it
observe output.
1. Go to New Click on agent Click on Condition tab select use a condition radio
button Click on Browse Select –ve business report (developed in STEP 1)
Select true if row count as is greater than value as 0 Click on ok
2. Click on Delivery Content tab Click on Content browse Select –ve business
report (developed in STEP 1)
Confidential
Method 3: Chain of Agents
Running one agent after another agent is called as chain of IBOTs or Agents
Process
6. Job manager:
Process:
Specialist level
Confidential
20. Hands on 18: Aggregate Tables
1. Aggregate tables are useful to improve the performance of queries.
2. Data in fact and dimension sources is stored at the lowest level of detail.
3. Data often needs to be rolled up or summarized during analysis.
4. Based on the amount of data, performing calculations at the time of the query can be
resource intensive and can delay results to the user.
5. Level of detail is called as granularity. It is equivalent to Content logical level in
OBIEE.
Confidential
Step3: Map Physical Columns to Logical Columns:
2. D1_SALESREPS.DISTRICT CUSTOMERS.DISTRICT.
3. D1_SALESREPS.REGION CUSTOMERS.REGION.
4. D1_SALESREPS.SALESREP CUSTOMERS.SALESREP.
5. MONTH.MONTHINYEAR PERIODS.MONTHINYEAR.
6. MONTH.MONTHCODE PERIODS.MONTHCODE.
7. MONTH.MONTHNAME PERIODS.NAME
8. MONTH.QUARTER PERIODS.QUARTER.
9. MONTH.YEAR PERIODS.YEAR.
2. Double click on D1_salesrep LTS Click on content tab Select logical level sales rep
ok.
Confidential
Similarly set below logical levels
3. D1_CALENDAR2 logical level as day
4. MONTH logical level as month
5. D1_PRODUCTS logical level as specific
6. TYPE logical level as type
7. D1_ORDERS2 logical level as customer detail, day, specific
8. D1_ORDER_AGG1 logical level as sales rep, month, type
Step6: Testing
Confidential
21. Hands on 19: Partitions and Fragments
1. Splitting one large table into ‘n’ no. of smaller tables is called as partitions.
2. We can do table partition logically or physically. If we do logically then there is no
change required either ETL or reporting end.
3. Partitions are 4 types
1. Fact based.
2. Value based.
3. Level based.
4. Complex.
4. Partitions are useful to improve the performance of environment.
Process:
Confidential
Step 2: Import Metadata
Confidential
Step 6: Defining Content Fragmentation
Step 7: Testing
1) Load RPD into OBIS develop a report with columns customer, dollars
2) Create a filter on customer column as customer <’C’ click on result observe
output & Physical SQL.
Conclusion:
1) Query is executed against RRITEC_CUST1 table.
1) In the above report change the filter condition as >X click on result observe output
& Physical SQL.
Conclusion:
Query is executed against RRITEC_CUST2.
Test Case 3: Execute SQL against RRITEC_CUST1 and RRITEC_CUST1 table
1) In the above report remove the filter & run it observe output & sql.
Conclusion:
Query is executed against the RRITEC_CUST1 and RRITEC_CUST2.
Confidential
21.2 Modeling Fact Based Partition
3. Because Excel has limited data types, check or change the data types to conform to existing
data types for the relevant fields. Expand the physical tables and double-click the physical
columns to open the properties dialog box.
ItemType: VARCHAR 20
Quarter: DOUBLE
YR: DOUBLE
Region CHAR 16
Dollars: DOUBLE
Confidential
4. Specify joins and keys.
a. For each table, double-click the table, click the Keys tab, and use the New button to
specify the table keys as follows:
b. Use the Physical Table Diagram to specify the following New join :
ItemTypes.ItemType = regiontypequota.ItemType
Regions.Region = regiontypequota.Region
Quarters.YR = regiontypequota.YR AND Quarters."Quarter" =
regiontypequota."Quarter"
Hint: Press and hold [Ctrl] and create the multicolumn join for the Quarters columns or
enter the join expression in the Expression edit field:
Confidential
c. Check your work:
Confidential
6. Create a new logical table source for SalesFacts by dragging the Targets physical column
from the regiontypequota physical table onto the Quota logical column that was just
created. This automatically creates a new regiontypequota logical table source.
7. Specify the content for the new regiontypequota logical table source on the Content tab of
the Logical Table Source properties dialog box:
Confidential
Quarters.Quarter into Periods.Quarter
Regions.Region into Customers.Region
ItemTypes.ItemType into Products.Type
This automatically creates a Regions logical table source for the Customers logical table
and an ItemTypes logical table source for the Products logical table.
9. Specify the content level for the Quarters, Regions, and ItemTypes logical table sources.
Use the screenshots as a guide.
It is best practice to set the aggregation level of these dimension sources. You specify the
content of a dimension table source in terms of the hierarchy of that dimension only. The
content of a fact table source is specified in terms of the content of all dimensions.
Confidential
10. Drag the Quota logical column into the SalesFacts presentation table.
12. Check consistency. If you get a warning that the features in database xls_quota do not
match the defaults, you can ignore the warning for the purposes of this practice. If you want
to prevent the warning message from appearing, click Options > Warnings > Database,
and disable Check Features Match Default. Fix any other errors or warnings before you
proceed.
14. Save the repository and leave it open for the next practice.
Confidential
22. Hands on 20: Variables
1) Variables are useful to handle dynamic scenarios we have 4 types of variables.
1. Repository variables.
2. Session variables.
3. Presentation variables.
4. Request variables.
2) Repository variables and session variables will be defined in RPD & can be used in
1. RPD Calculations
2. RPD Filters
3. Report Calculations
4. Report Filters
5. Dashboard prompts.
3) Presentation variables & request variables will be defined in dashboard prompt & can
be utilized only in
1. Report Calculations
2. Report Filters
1) If you want to use a constant value in ‘n’ no. of places then we will go for static variables.
Eg: Database name, username of connection pools
2) Static variable values are initialized in the Static Repository Variable dialog box
3) We have three static predefined syntax variables for date
Confidential
Scenario 1: If we have ‘N’ number of connection pools pointing to same database or
same schema then whenever we deploy dev to test we need to change all connection
pools database names and schema names .
Process:
1. Open RPD online mode Go to manage menu click on variables select static
in work area right click new repository variable name it as DSN Default
initialize as ‘ORCL’ click on ok.
2. Similarly create DBUSER variable & provide value as supplier2 close variable
manager
Confidential
1. Go to manage menu select variable select static right click in work area
select new repository variable name it as CURRENT_YEAR Default initialize :
1999 click on ok Click on check in Click on reload server metadata.
Confidential
Scenario: Handling partitions & fragmentation content condition dynamically.
Process:
Step3: Testing
Exercises:
1. Prove repository variables will not change until server restarted
2. Develop a report to get current year and current month data
Exercise 1: Prove repository variables will not change until server restarted
Confidential
Step 1: Create required data
Confidential
Step 3: Create IB to capture max sal emp
Confidential
Step 5: modify database data and observe output
1. Add one more record in database
4. Restart OBIS
5. Clear obips and obis cache
6. Run the above report and observe that Ram Reddy record is displaying
Exercise 2: Develop a report to get current year and current month data
Step1: Create a sql query to get Current year and current month code
Step2: Use Sql query in initialization block and assign values to variables
1. Go to Manage menu Click on Variables Select Repository initialization block
In work area right click and select initialization block Name it as
IB_Current_Year_monthcode Clcik on Edit Data Source Provide Step1 Sql
Confidential
Query Click on connection Pool browse select Supplier CP connection Pool
click on select click on ok
2. Click on Edit Data Target Click on New provide name as V_MAX_YEAR
provide default value as 1111 click on ok
3. Similarly create another variable with the name of v_monthcode and assign 13 as
default value
4. Click on test observe resultclick on ok ok
Confidential
22.2 Session variables
1. These are pre defined session variables used by oracle BI server for specific
purpose such as authenticating users
2. we have below system variables.[case-sensitive must be in CAPITAL]
1. USER.
2. PASSWORD
3. DISPLAYNAME.
4. GROUP.
5. WEBGROUP.
6. LOGLEVEL.
7. ROLES.
8. PERMISSIONS.
9. USERLOCALE.
10. TIMEZONE.
11. PORTALPATH
3. These variables are useful in special cases such as authenticating user. These
variables should not use for any other purpose. (as a static variable name or
dynamic variable etc)
Confidential
Non system session variables:
Develop data level security or Row Level Security using system & non system variables
1. With the installation of OBIEE 11G by default we will get web logic user .
It is an administrator user. The password for weblogic is whatever we defined at the
time of installation .In RRITEC we gave as RRitec123.
2. In OBIEE 11G LDAP is integrated.
3. LDAP stands for Light weight Directory Access Protocol.
4. LDAP is accessed and managed using console application
Process:
Confidential
Step 4: Creating a Role and assign group to role
Set of permissions/policies are called as Role.
Process:
1. Open EM click on business intelligence click on core applications click
on security click on single sign on click on configure & manage application
roles click on create provide name as customer click on add group
click on group name arrow mark select customers group click on arrow click
on ok.
Step 7: Crete initialization block and assign values to non system variables
Confidential
Step 8: Create a data filter on role
Step9: Testing
1. Login to analytics as a web logic user develop report with region, district, dollars
click on save with the name of data security. Reload server metadata. Logout
2. login with Zen user, navigate to above saved report & observe output.
3. Similarly login with Waffler user & navigate to above report & observe output.
Note:
1. Data security can be applied on presentation layer objects (or) BMM layer objects.
Confidential
Row Wise Initialization Blocks
1) Are used to retrieve and initialization a list of values to a non system session variables.
2) Returns list of values separated by colon ,
Ex: CA: TEXAS
3) Used for implementing data security when one user normally belongs to more than one
group.
Process:
COMMIT;
Confidential
2) Click on Security realm Click on my realm Click on users and group tab.
3) Click on users tab click on new name it as MARC password and conform
password as RRItec123 click on ok.
4) Similarly create another 2 users scott , john.
1) Open RPD in online mode Click on manage Click on identify Click on action
click on synchronize application roles.
Note: in case of 11.1.1.5 we need to restart OBI server to get new roles into RPD.
1) From 11g onwards for session variables initialization blocks we need dedicated
connection pool. This process introduced to improve the performance.
2) In above exercise we already created IB_SESSION connection pool .we can utilize
same
Confidential
1) Click on Manage Click on variables Click on action Click on new Click on
session Click on Intilization block
Login to analytics with the user web logic develop a report on row_wise_IB subject area
save this report in shared folders.
Logout & login as MARC user click on catalog go to your saved report click on open
as belongs to 2 cities manager is able to see CA & TEXAS.
These variables are same for all users Changes from user to user
These IB will run with OBIS start or restart or These IB run at the time of user logon
based on schedule
Confidential
Syntax : valueof (Variablename ) Syntax : valueof (NQ_SESSION.Variablename
)
These things useful to capture max year ,max Data Security or row level security
month …etc from database
Procedure:
Confidential
4. Click on SaveSelect shared folder/rritec folder Name it as PV_PROMPT
Confidential
4. Click on OK
Step 4: Testing
Exercise: Get three months of data (user selected month ,one previous month
,one forecast month )
Example of scenario: If user selects 199803 then report should display 199802 ,199803
,199804 data
Exercise: Show general information for all users by bypassing data security
Step1: Creating Dashboard Prompt and passing user input to request variable
Confidential
1. Go to new Click on Dashboard prompt select subject area as supplier sales
Step 3: Develop a dashboard and integrate as shown below and login as Zen user and observe
output
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 135
Confidential
23. Hands on 21: Modeling Time Series Data
4) ToDate function
i) Aggregates a measure attribute from the beginning of a specified time period to the
currently displayed time
ii) Example : YTD (Year Till Date) , QTD (Quarter Till Date) ……etc
iii) Syntax ToDate(<<Measure>>, <<Level>>)
iv) Todate function will use row_number ,min and Rank analytics function to achieve the
calculations
Process:
1) Open RPD in online mode double click on periods dimension enable time.
Confidential
2) Double click on year level enable chronological key.
3) Similarly enable chronological key for all the levels(Quarter , month and day )
4) Chronological key is a primary key; it is useful to identify time values uniquely.
5) Chronological Key always associated with time dimension
6) Only in Time dimension there is no possibility of Skipped and Ragged hierarchies
1) Right click on sales facts click on new object click on logical column name it
as month ago Click on column source tab Select derived from existing column
using expression click on edit develop the below expression
Confidential
2) Click ok again ok.
1) Right click on sales facts click on new object click on logical column name it
as Variance Click on column source tab Select derived from existing column
using expression click on edit develop the below expression
"SupplierSales"."SalesFacts"."Dollars" - "SupplierSales"."SalesFacts"."MonthAgo"
1) Right click on sales facts click on new object click on logical column name it
as Percentage change Click on column source tab Select derived from
existing column using expression click on edit develop the below expression
“Suppliersales”.”salesfacts”.”Variance”/”suppliersales”.”salesfacts”.”monthago”*100.
1) Right click on sales facts click on new object click on logical column name it
as YTD Click on column source tab Select derived from existing column using
expression click on edit develop the below expression
Todate(“suppliersales”.”salesfacts”.”dollars”.”suppliersales”.”periodsdim”.”year”)
Confidential
Step 6: Calculating 3 Month period rolling
1) Right click on sales facts click on new object click on logical column name it
as 3 Month Period Rolling Click on column source tab Select derived from
existing column using expression click on edit develop the below expression
Periodrolling (“suppliersales”,”salesfacts”.”dollars”, -2,0).
2) Drag and drop above 5 columns into presentation layer sales facts
3) Click on check in reload server metadata.
Step 7: Testing
1) Develop a report with year, monthcode, dollars, month ago, variance, percentage,
YTD and 3 months period rolling
2) Observe output
Confidential
24. Hands on 22: Configuring Many to Many Relationships
1) Bridge table & helper table are useful to resolve many to many relationships.
2) No BI tool supports many to many relationships.
Scenario An ABC sales representative may participate in many deals that pay
commission. Additionally, each deal may include many sales representatives
so that each sales representative receives a percentage of the commission.
You need to model this many-to-many relationship in the repository.
There is a D1_COMMISSION fact table with commissions paid per invoice.
D1_COMMISION_BRIDGE is the bridge table used to create a many-to-many
relationship between the D1_COMMISSION fact table and the D1_SALESREP
dimension table. D1_COMMISION_BRIDGE includes a weight factor to
calculate the weighted distribution of commissions among sales teams. You
import the tables and model them in the repository.
Instructions
Confidential
when the item is paid for. Note that CUST_KEY 1118 is associated with these two rows.
You use this information to check your work in Answers later in this practice.
l. View data for D1_COMMISSION_BRIDGE. Note that Alan Ziff shares commission with
Andrew Taylor for COMM_KEY 1111. Each earns 50% of the commission (0.5 weight
factor). Since the total commission for COMM_KEY 1111 is $44,000, each sales
representative earns $22,000 for this deal. You use this information to check your work
in Answers later in this practice.
2. Define the physical keys.
a. Double-click D1_COMMISSION.
b. Click the Keys tab.
c. Click New.
d. Enter D1_COMMISSION_Key as the key name.
e. Select COMM_KEY, CUST_KEY, and PERIOD_KEY.
f. Click OK.
g. Click OK to close the Physical Table dialog box.
h. Repeat the steps to create a key named D1_COMMISSION_BRIDGE_Key for the
D1_COMMISSION_BRIDGE table with the columns COMM_KEY and SALESREP.
i. Check in changes and save the repository.
3. Create the physical joins.
a. Select the D1_COMMISSION, D1_COMMISSION_BRIDGE, D1_CUSTOMER2,D1_C
ALENDAR2 and D1_SALESREP tables.
b. Right-click any one of the highlighted tables and select Physical Diagram > Selected
Object(s) Only.
c. Create the following foreign key joins. Click Yes when prompted to create a matching
table key:
D1_CUSTOMER2.NEWKEY = D1_COMMISSION.CUST_KEY
D1_SALESREPS.SALESREP = D1_COMMISSION_BRIDGE.SALESREP
D1_COMMISSION.COMM_KEY = D1_COMMISSION_BRIDGE.COMM_KEY
D1_CALENDER2.YYYYMMDD=D1_COMMISSION.PERIODKEY
Confidential
a. Right-click the SupplierSales business model and select New Object > Logical Table.
b. Name the logical table Commission Fact and click OK.
c. From the Physical layer, drag D1_COMMISSION.COMM_AMT to Commission Fact in
the BMM layer.
d. Drag D1_SALESREPS from the Physical layer onto the SupplierSales business model
in the Business Model and Mapping layer.
e. Rename the D1_SALESREPS logical table to SalesReps.
f. Select the Commission Fact, Customers, and SalesRep logical tables.
g. Right-click any of the highlighted tables and select Business Model Diagram >
Selected Tables Only.
h. Create logical joins from the Customers and SalesRep logical tables to Commission
Fact.
Confidential
b. Double-click the D1_COMMISSION logical table source.
c. Click the General tab.
d. Click Add and map to the D1_COMMISSION_BRIDGE table.
6. Create a calculation measure using commission and weight factor physical columns.
a. Rename the COMM_AMT logical column to Commission
b. .
c. Double-click the Commission logical column.
d. Click the Data Type tab.
e. Double-click the D1_COMMISION logical table source.
f. Click the Column Mapping tab.
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 143
Confidential
g. Click the ellipsis button for the Commission logical column to open Expression Builder.
i. Close Expression Builder and the Logical Table Source dialog box.
j. Click the Aggregation tab and set the aggregation rule to SUM.
k. Click OK to close the Logical Column dialog box.
l. Check in changes.
m. Check consistency.
n. Save the repository.
Confidential
e. Click Results. The results show total commissions by customer.
Confidential
i. Check the log file to ensure that the D1_COMMISSION fact table and
D1_COMMISSION_BRIDGE bridge table were both accessed.
Scenario Requirements have been gathered indicating that sales deals are executed
and owned at different levels within the organization. The management wants
to know which managers are responsible for what sales and product returns
per their sales representatives’ efforts. The data warehouse team has created
a helper table to support the requirement and you model this table in the
Oracle BI repository.
Instructions
Confidential
2. Check connectivity and view data.
a. To check connectivity, update row counts for the D1_RETURNS, W_POSITION_D, and
W_POSITION_H tables. D1_RETURNS should return 263 rows, W_POSITION_D
should return 7 rows, and W_POSITION_H should return 11 rows.
b. View data for the W_POSITION_D table. This table includes the position ID and position
name for seven employees.
c. View data for the W_POSITION_H table. This helper table includes the position ID,
subposition ID, and position gap for the same seven employees.
d. View data for the D1_RETURNS table. This fact table contains product return data. Note
that return data is associated only with position IDs 4, 5, 6, and 7. You use this
information to check your model when you run queries in Answers later in this practice.
e. Check in changes.
f. Save the repository.
Confidential
d. Close the Physical Diagram.
4. Create an alias of the Position dimension table to support the business requirements. The
Position table includes records for employees and managers. You need to create an alias of
the Position table to report on both at the same time. In this step, you create an alias for
W_POSITION_D named W_POSITION_D (Manager).
a. Right-click W_POSITION_D and select New Object > Alias.
b. Click the General tab, and name the table W_POSITION_D (Manager). Click OK.
c. Check in changes and save the repository.
5. Create a foreign key join from the W_POSITION_H helper table to the W_POSITION_D
dimension table. This joins the subordinate position ID in the helper table to the position ID
in the Position dimension table.
a. Select the W_POSITION_H and W_POSITION_D tables.
b. Right-click either of the highlighted tables and select Physical Diagram > Selected
Object(s) Only.
c. Create the following foreign key join:
W_POSITION_H.SUB_ID = W_POSITION_D.POSTN_ID
d. Click OK.
6. Create a foreign key join from the W_POSITION_D (Manager) alias to the W_POSITION_H
helper table. This joins the position ID of the manager in the manager alias table to the
position ID in the position dimension table.
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 148
Confidential
a. Resize the Physical Diagram window so that the Physical layer is visible.
b. Select the D1_RETURNS and W_POSITION_D (Manager) tables.
c. Right-click either of the highlighted tables and select Physical Diagram > Selected
Object(s) Only to add the tables to the physical diagram.
d. Create the following foreign key join:
"W_POSITION_D (Manager)".POSTN_ID = W_POSITION_H.POSTN_ID
e. Click OK.
f. Click Yes when asked to create a matching table key.
g. Check in changes. Your diagram should resemble the screenshot:
7. Add objects to the Business Model and Mapping layer and create logical joins.
a. Drag D1_RETURNS to the SupplierSales business model in the Business Model and
Mapping layer.
b. Rename D1_RETURNS to Returns.
c. Drag W_POSITION_D to the SupplierSales business model in the Business Model and
Mapping layer.
d. Rename the W_POSITION_D table Position.
e. Create logical joins from Customers, Position, and Products,Periods to Returns.
Confidential
f. Close Logical Diagram
g. Expand the Position logical table.
h. Rename the SALESREP column Employee Name.
i. Rename the POSITION column Employee Position.
j. Rename the POSTN_ID column Employee ID.
k. Drag W_POSITION_D (Manager) to the Position logical table to add a new logical table
source and columns.
l. Rename the SALESREP column Manager Name.
m. Rename the POSITION column Manager Position.
Confidential
n. Rename the POSTN_ID column Manager ID.
8. Map the W_POSITION_D (Manager) logical table source to the W_POSITION_H table.
a. Expand Position > Sources and open the W_POSITION_D (Manager) logical table
source.
b. If necessary, click the General tab.
c. Click Add.
d. In the Browse window, in the right pane, double-click the W_POSITION_H physical table
to add it to the W_POSITION_D (Manager) logical table source.
e. Leave the Logical Table Source dialog box open for the next step.
e. Click the Column Source then click ok ,in the expression click then select Gap like
"ORCL".""."SUPPLIER2"."W_POSITION_H"."GAP"
f. Click ok.
g. Map the Manager Name logical column to
"ORCL".."SUPPLIER2"."W_POSITION_H"."SALESREP".
Hint: Delete the existing formula in Expression Builder.
h. Map the Manager Position logical column to
"ORCL".."SUPPLIER2"."W_POSITION_H"."POSITION".
i. Leave the Manager ID logical column as-is, mapped to
"ORCL".""."SUPPLIER2"."W_POSITION_D (Manager)"."POSTN_ID".
j. Click OK to close the Logical Table Source dialog box.
k. Check in changes.
l. Check consistency.
m. Save the repository.
Confidential
g. Click OK.
f. Click the button next to the # of Returns logical column to open Expression
Builder.
g. Select Physical Tables > D1_RETURNS and then double-click the RETURNS physical
column to add it to the expression.
h. Click OK to close Expression Builder.
i. Click OK to close the Logical Table Source dialog box.
j. Click the Aggregation tab.
k. Change the default aggregation rule to Count.
l. Click OK.
12. Assign the detail level of the dimension hierarchies to the fact logical table source.
a. Expand Returns > Sources.
b. Double-click the D1_RETURNS logical table source.
c. In the Logical Source dialog box, click the Content tab.
d. Set the following logical levels:
CustomersDim: Customers Detail
PositionDim: Position Detail
ProductsDim: Specific
PeriodsDim:Day.
e. Click OK to close the Logical Table Source dialog box.
f. Expand Position > Sources.
g. Set the PositionDim logical level to Position Detail for both logical table sources.
h. Check in changes.
i. Check consistency.
j. If the repository is consistent, save the repository.
Confidential
a. Log in to Oracle BI Presentation Services as weblogic with RRitec123 as the password.
b. Click NEWAnalysis.
c. Select the SupplierSales subject area.
d. Reload server metadata.
e. Create and execute the following request:
Position.Employee Name, Position.Employee ID, Returns.# of Returns.
f. Note that # of Returns data is associated only with employee position IDs 4, 5, 6, and 7.
As you saw earlier when you examined the source data, only these four employees are
directly associated with returns.
g. Check the query log. Note that the W_POSITION_H helper table is not accessed.
Confidential
j. Click Results.
Note: The # of Returns data for all four employees roll up to Alan Ziff, VP of Sales. The
# of Returns data for direct reports roll up to their respective sales managers. Also, data
for Anne Williams appears in two positions, as both a sales manager and an employee.
k. Check the query log. Note that the W_POSITION_H helper table is accessed.
l. Click Customers.Customer to add the column to the results and see returns by sales
representative by customer.
m. Log out of Answers.
n. Leave the Administration Tool open for the next practice.
Confidential
25. Hands on 23: Setting Implicit Fact Column
1. If we develop a report using only dimension tables then it is called as dimension only
query
2. Oracle BI server decides economical source based on no. of joins and level of joins
of a fact table.
3. Implicit fact column is useful to forcibly execute a dimension only query from non
economical fact table.
Example
Dimension-only query
Process:
Confidential
3. Click on Result
4. Notice that we got huge amt of data(139 Records)
5. From log file, Notice that it is executed from salesfacts(D1_ORDERS2) fact table
1. My client is more interested to analyze returns, so he asked for all dimension only
queries, data needs to fetch from returns table.
Step 3: Configuring to execute dimension only queries using returns fact table
1. Open RPD in online mode double click on supplier sales subject area In General
tab click on set expand returns Presentation table select returns column
click on ok again ok.
2. Check in & reload server metadata
3. Clean Oracle BI Presentation server and Oracle BI server caches
4. Run above report.
5. Notice that we got less no. of records
6. From log file notice that it is executed from returns table.
Confidential
26. Hands on 24: Security
1. Authentication.
2. Authorization.
26.1 Authentication
1) Validating the username and password against External Table is called as External table
Authentication.
2) In any project first priority goes to LDAP authentication. If customer rejects LDAP then
we will go for External tables.
Process:
1. Open RPD in online mode In physical layer right click on ORCL database Click
on new object Click on connection Pool Name it as IB_Authentication
Data Source name : ORCL username and passwords as supplier2 Click on
ok check in changes
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 157
Confidential
Step 3: Create Session Initialization Block
Step 4: Testing
Confidential
26.2 Authorization
1. Subject area.
2. Presentation table.
3. Presentation column.
4. Hierarchy object.
Process:
1. Open RPD in online mode double click on subject area (or) presentation table
(or) presentation column (or) hierarchy object In general tab click on
permissions click on set online user filter type * Click on ok
Confidential
2. Select RRDM Enable radio button no access click on ok again ok
check in changes save.
3. Open analytics login as web logic reload server metadata logout
4. Login as RRDM click on new click on analysis observe that objects are
hided
Note: Subject area object level permission can also provide by using below navigation
Administration Manage PrivilegesOpposite to subject area click on it. Select users and
provide permissions.
1. No access.
2. Open [read + Traverse]
Confidential
3. Modify [read + delete + write + rename+ traverse]
4. Traverse.
5. Full control [modify + permission]
6. Custom (new in OBIEE 11G)
Providing permissions at the level of folder (or) dashboard (or) dashboard page (or)
report (or) saved filter…etc
Exercise : Develop a dashboard with two sections and configure section level
permissions ,in such a way each user will able to see his own section.
Privileges:
Confidential
Providing Permissions to External DB groups
OR
Mapping External Table groups with Application Roles
Process :
Step 3: Testing
1. Start the Oracle BI Server service and open the ABC repository in online mode. Log in as
Weblogic with password RRitec123.
2. Disallow queries that may consume too many system resources by setting query limits for
the user or group
a. Open the RPD in online mode
b. Go to manage Identity Manager.
c. Double-click on RRREP user
d. Click the Permissions button.
e. Click the Query Limits tab.
f. Locate the ORCL database and change its Max Rows value to 5. This specifies the
maximum number of rows each query can retrieve from the ORCL database for user
RRREP
g. In the Status Max Rows column, select Enable from the drop-down list.
h. In the Max Time (Minutes) column, change the value to 1. This specifies the maximum
time a query can run on the ORCL database.
i. In the Status Max Time column, select Enable from the drop-down list.
Confidential
3. Restrict the time period for which users can access specified repository resources from
midnight Sunday to 7:00 AM Sunday:
a. Click the button in the Restrict column of the ORCL database.
b. Highlight the blocks from Sunday at midnight to 7 AM Sunday. Hint: With the first block
selected, press [Shift] and select the 7 AM block, or click the first box and drag to the 7
AM block.
c. Click the Disallow button.
If a time period is not highlighted, the access rights remain unchanged. If access is
allowed or disallowed explicitly to one or more groups, the user is granted the least
restrictive access for the time periods that are defined.
d. Click OK to close the Restrictions dialog box.
e. Click OK to close the User/Group Permissions dialog box.
f. Click OK to close the Group dialog box.
g. Close Identity Manager.
h. Check in changes.
i. Save the repository.
4. Log in to Oracle BI as Weblogic and register your changes on the server by reloading the
server metadata.
5. Ensure that the changes you made to the maximum number of rows allowed per query work
correctly.
a. Log in to Oracle BI as RRREP .
b. Click the Analysis link.
c. Click the SupplierSales subject area.
d. Select Customers.Customer, SalesFacts.Dollars, and click Results.
e. Click the Dollars filter select operator as is in top value as 5 click Results.
Confidential
27. Hands on 25: Cache Management
<Cursors>
<ForceRefresh>True</ForceRefresh>
</Cursors>
Confidential
——–
</ServerInstance>
Advantage of cache:
Disadvantage of cache:
Cache architecture:
Confidential
Report logical SQL will be compared with cache database logical SQLs, if anything is matching
then corresponding cache output will be shown to the user else it will execute from the db.
Enabling cache:
Confidential
6) Sign in with any other user (RRREP) password : RRitec123 run a report with
columns customer and dollars Go to RPD Go to manage go to cache notice
that usecount is updated to ‘1’.
Stale data:
Purging:
1. Manual.
2. Persistency time.
3. Event pooling table(EPT).
4. ODBC functions.
1. Manual:
1) After enabling cache run any one report and make sure cache is created
2) Open RPD in online mode go to manage menu Click on cache right click on the
Cache entry click on purge Click on ok Click on close.
3) We can purge cache of specific user or we can purge specific physical table
4) We can use this method in development and testing environment
Note: As human interaction is required ,hence we will not use this method in production
2. Persistency:
It is useful to purge cache based on fixed time. To provide this setting we need to know
accurately the tables refresh frequency.
Process:
Confidential
4) Develop a report with specific columns & notice that cache is created
5) After 2 mins automatically cache will be purged.
6) Once we observe result revert your work by selecting D1_PRODUCTS table as
cacheable
Yes. In physical layer double click on any table general tab enable/disable cache.
Note 2: If we develop a report with two tables and out of these two tables one is cacheable
another is not cacheable then the resultant report cache will not be created.
Note : Once we observe result revert your work by selecting D1_PRODUCTS table as
cacheable
Confidential
3. Event Pooling Table (EPT)
1. Create below trigger to monitor D1_PRODUCTS and insert records into S_NQ_EPT
table when ever some change (insert,update,delete) occurred in D1_PRODUCTS table
data
2. Open SQLPLUSlogin as supplier2 user copy and paste below code and make sure
trigger is created
AFTER
BEGIN
END ;
Confidential
3. Confirm trigger is working or not by executing below statement.
In physical layer right click on supplier2 connection pool import metadata import
s_nq_ept table finish.
Step 4: Testing
3. Develop a report with specific description column & make sure cache is created.
Note : If database administrator not happy to create triggers then we can incorporate insert
statement in target table post sql of ETL tools (for example see informatica screenshot)
Confidential
4. ODBC functions (programmatically purging)
1. The Oracle BI Server provides ODBC-extension functions for the Oracle BI Administrator
to use for purging cache entries.
2. Some of these functions are particularly useful for embedding in an Extract, Transform,
and Load (ETL) task.
3. For example,
1. After a nightly ETL is performed, all Oracle BI Server cache can be purged.
2. If only the fact table was modified, only cache related to that table can be purged.
3. In some cases, you might need to purge the cache entries associated with a
specific database.
4. We have four types of ODBC functions, those are useful to purge cache
programmatically & those functions can use in ETL tool Post load sql or in DAC as a
sql script .
Confidential
5. It is accurate method to purge the cache. Normally these functions will be executed by
ETL team using their post load option.
Call SAPurgeAllCache();
3. SAPurgeCacheByTable. Purges all cache entries associated with a specified physical table
name (fully qualified) for the repository to which the client has connected. This function takes up
to four parameters representing the four components (database, catalog, schema and table
name proper) of a fully qualified physical table name. For example, you might have a table with
the fully qualified name of DBName.CatName.SchName.TabName. To purge the cache entries
associated with this table in the physical layer of the Oracle BI repository, execute the following
call in a script
4. SAPurgeCacheByQuery. Purges a cache entry that exactly matches a specified query. For
example, using the following query, you would have a query cache entry that retrieves the
names of all employees earning more than $100,000: select last name, first name from
employee where salary > 100000;
The following call purges the cache entry associated with this query:
Confidential
Type call SAPURGEALLCACHE() Click on issue sql go & see in cache folder. Cache is
removed.
9) Even We can create informatica command task and we can call these
functions
Seeding:
Confidential
3. Helps improve query performance
• Use queries that heavily consume database processing and are likely to be
reused.
4. Is performed by running prebuilt queries during off hours of business or immediately
after purging.
5. These are two types
• Manually in Answers
• Automatically using Oracle BI Delivers to schedule queries to run at a
specified time
1. Manual seeding
Navigate to the report in the catalog click on open report then automatically cache
will be created.
1. Log in to analytics develop a report with region , dollars save name: seeding
report
2. Go to new Click on agent Click on schedule tab frequency : once date &
time set 3 min. forward from current time.
3. Click on delivery content tab select content as analysis Click on browse
select seeding report (saved in first step)
4. Click on destinations tab select oracle BI server cache save name: seed
agent
5. After 3 mins go to cache folder & notice that a cache file is available.
Confidential
28. Hands on 26: Usage Tracking
3. Admin or development team want to know the top n reports taking longer time ..etc
Process:
Confidential
Step 3: Creating business model
1. Drag and drop UT business model into presentation layer in presentation layer delete
duplicate table and keep only original table
2. Save RPD
Step5: Set Usage tracking parameters
Confidential
6. Expand Application Defined Mbeans Expand Oracle.biee.admin Expand
Domain:bifoundation_domain Expand BIDomain.BIinstance.serverconfiguration
Click on BIDomain.BIinstance.serverconfiguration Right side observe usage
tracking parameters
Confidential
1. Configuring ENABLE parameter
Click on 20 Usage TrackingEnabled Select value as true Click on apply Click
on return
2. Configuring DIRECTINSERT parameter
Click on 19 Usage TrackingDirectInsert Select value as true Click on apply
Click on return
3. Configuring Connectionpool parameter
Click on 18 Usage TrackingConnectionpool Provide “UT_DB”.”UT_CP” Click on
apply Click on return
4. Configuring PhysicalTableName parameter
Click on 21 Usage TrackingPhysicalTableName Provide “UT_DB”.”
supplier2”.”S_NQ_ACCT” Click on apply Click on return
7. Click on Business Intelligence Coreapplication Click on Activate Changes
Step 7: Testing:
Confidential
29. Hands on 27: Multi User Development Environment (MUDE)
1. By default only one user can work on RPD file in offline mode.
2. If multi users need to work on same RPD file in offline mode then we needs to
implement MUDE.
Setup of MUDE
We have 3 steps
1. Creating projects.
2. Copy RPD into shared path & rename RPD.
3. Define multi user Directory .
Process:
Step 2: Creating a shared folder and moving RPD into shared folder
Confidential
2. Click on browse and point it to C:\Documents and Settings\All Users\Documents\
SHARED_RPD provide some name as RRITEC(we can provide any name ) Click
on ok
1) Check out.
2) Change metadata.
3) Publish.
4) Move RPD from shared folder to repository folder.
5) Test.
1. Open administration tool go to file menu go to multi user Click on check out
repository password:RRitec123 Click on ok name it as USER1RPD save
2. open another instance of administration tool go to multi user Click on check
out password: RRitec123 name it as USER2RPD save.
1. In USER1RPD Right click on sales facts fact table click on new object Click on
logical column name it as user1_column click on column source select
Derived from existing columns using an expression type 1 Click on ok
2. Drag and drop into presentation layer sales facts save.
3. In USER2RPD Right click on sales facts fact table click on new object Click on
logical column name it as user2_column click on column source select
Derived from existing columns using an expression type 2 Click on ok
4. Drag and drop into presentation layer sales facts save.
Step 3: Publish
1. In USER1RPD Go to file menu Click on multi user Click on publish to network
2. In USER2RPD Go to file menu Click on multi user Click on publish to network
Confidential
Step 5: Testing
Note : If two users created same column in same logical table with same formula then
what will happens in merging process
Ans : It will create duplicate columns example dummy and dummy#1
Yes (FileCompare)
Confidential
30. Hands on 28: Opaque View / Select Table
Open any RPD in offline mode Right click on supplier2 schema new physical table
name: RRITEC_OPAQUE_VIEW select table type as select type sql
go to columns tab Click on add name it as year(exactly same name of sql query output)
data type: integer Click on ok again ok Right click on RRITEC_OPAQUE_VIEW
click on view data observe output.
1. Without deploying view into database , if we use opaque view in reports then oracle BI
server needs to create complex queries.To avoid complex queries oracle
recommended to deploy each and every opaque view into database.
Process:
1. Go to database login as supplier2 SELECT * FROM TAB WHERE
TABTYPE='VIEW' execute (F9) observe that our opaque view is not available
2. Go to RPD save Right click on RRITEC_OPAQUE_VIEW Click on deploy view
Click on ok Click on close
3. Go to database login as supplier2 SELECT * FROM TAB WHERE
TABTYPE='VIEW' execute (F9) observe that our opaque view is available
Confidential
31. Hands on 29: Alias
Create alias
Advantages
Some set of tables are joined based on some column in forming a closed path then we can
eliminate using alias.
Confidential
32. Hands on 30: Parent Child Hierarchies
Process:
1. From RRITEC lab copy folder (LAB COPY\13 Lab Data\RPDS) copy
NF_ABC_After08_Level Based . rpd into OBI 11g repository folder.
2. Open the rpd in offline mode.
SAMP_EMPL_D_VH
SAMP_EMPL_PARENT_CHILD_MAP
SAMP_EMPL_POSTN_D
Table Alias
SAMP_EMPL_D_VH D50 Sales Rep
D51 Sales Rep
SAMP_EMPL_PARENT_CHILD_MAP
Parent Child
D52 Sales Rep
SAMP_EMPL_POSTN_D
Position
3. Use the Physical Diagram to create the following physical joins for the alias tables:
Confidential
"orcl".""."BISAMPLE"."D50 Sales Rep"."POSTN_KEY"="orcl".""."BISAMPLE"."D52 Sales Rep
Position"."POSTN_KEY"
1. Drag and drop D50 Sales Rep on to business model sample sales
2. From physical layer drag & drop distance,Is_Leaf, position desc, posin lvl onto D50
Sales Rep LTS
3. create logical join between F1 REVENUE & D50 Sales Rep
1. Right click on D50 Sales Rep create logical dimension click on parent child
hierarchy
2. Select member key as emp key (already selected) select parent column (browse)
disable show qualified names select MGR-ID ok
3. Click on parent child settings click on select parent child relationship table & select
columns as per below.
Confidential
Parent key: ANCESTOR-KEY
4. Click on ok again ok
5. Expand the hierarchy delete all the columns except employee name and employee
key
6. Double click on detail level disable use for display for EMPL_KEY
7. Create one more key with the name of the emp name select column as employee
name enable use for display click ok.
Confidential
8. Drag and drop D50 Sales Rep into presentation layer
9. Expand Revenue fact table in BMM layer double click on LTS REVENUE Go to
content tabselect D50 Sales Rep logical level as detailok.
Step 5: load RPD into oracle BI server and test the parent child hierarchy
2. Develop a report using hierarchy object D50 Sales Rep Dim, POSIN DESC,
REVENUE observe output.
Note: In OBI 10G we used to manage this concept by de normalizing the position
table .In our above example we can de normalize as per below and we can create
Level Based hierarchy .
Confidential
33. Hands on 31: Unbalanced Hierarchies (Ragged and Skipped)
B D
Skipped
E F
Not having
immediate parent
G
Ragged H
Process:
Confidential
9. Expand revenue fact table go to revenue fact table LTS confirm content logical
level of products_DR as prod detail.
10. Check in
11. develop a report with product-DR hierarchy object and revenue Click on results
12. Expand A-Band 2 & observe output
Note:
1. In 10G all missing levels values will be populated with parent values
2. We will educate customer by saying when ever parent and child values are
same, that means there is no child.
Confidential
34. Hands on 32: Actions Links
Process:
1. Sampleapplite RPD and sampleapplite catalog will be installed with the installation of
OBIEE 11G
2. Load sampleapplite RPD and sample applite catalog into OBIS and OBIPS respectively
3. Sample applite RPD by default password is Admin123
Exercise1:
5. Click on add action link type link text as Live Stock Price Click on create
Confidential
6. Click on ok Click on results click on any product Click on Live Stock Price
type ORCL Click on execute
Exercise2:
Confidential
Step 3 : create Business model
Confidential
4. Okokok
Confidential
2. Click on Revemue column properties
3. Click on interaction tab
4. Under value select Primary intraction as action link
5. Click on add action link type link text as Child Report Click on create new
If we want to use one action link in many reports then we can develop reusable action link
Process:
Confidential
3. Click on add action link type link text as Child Report Click on Select
existing action
4. select previously saved action link ok ok ok.
Note : Action link and action link menu are dashboard objects ,which are useful to create
action links with in dashboard
Confidential
35. Hands on 33: Master Detail Report
Solution: Create an Analyses report with pivot table, bar graph. Format and
Modify the compound layout components for master detail linking and add
Selection steps for grouping data.
Process:
1. Select the following columns from the Sample Sales Lite Subject area.
2. Click on the Results tab visible on top left corner. Remove the Table view
7. Click Done
8. Click on Criteria tab , select the Per Name Year properties and choose
column properties
Confidential
9. Select the Interaction tab, For Value choose Send Master Detail , Enter
RRITEC for channel Click on OK
10. Click on the Results tab, Add a Bar (graph) view to the compound layout
11. Click on Edit icon (pencil) to modify the graph view
12. Under layout section, Drag Per Name Year to Sections area and select Display as
slider. Drag the LOB on top of Vary Colors By (Horizontal axis). Your Layout should be
similar to the below image.
Confidential
15. Click OK and click done.
16. Click on the preview icon, to confirm the master-detail events. Click on the
year column values from the pivot table and below graph should display the
corresponding year and their results.
STEP 1: Develop a report using time hierarchy, product hierarchy, office hierarchy, revenue
results expand it & observe output.
35.2 Condition
If we want t use a condition in many places then we can create condition object , save into
catalog and use in Agents.
Process:
New condition select analysis browse select any one report select is greater than
20 save give some name ok.
We can call this condition in agents new agent condition browse select saved
condition.
Confidential
36. Hands on 34: Upgrade or Migration
Process:
Step 1:
1) Take back up of OBI 10G & 11G RPDS & web catalogs.
2) In E drive create a folder with the name of Migration
3) Go to RR ITEC labcopy labdata folder copy reports_dashboards.rpd and RD web
catalog and paste in migration folder
4) Go to OBIEE 11G installed drive BI 11g oracle B11 bin double click on
‘UA.bat’ (before clicking make sure all the OBI servers must be in running position)
Confidential
5) Click on next
Confidential
6) select upgrade oracle BI RPD and presentation catalog Click on next
Confidential
8) Type port no as 7001 username: weblogic password as RRitec123 next
Testing:
10) open administration tool go to file menu open online password: RRitec123
observe that reports_dashboard RPD is opened.
11) Open analytics log in as web logic new analysis(observe) catalog & notice
that our reports & dashboards came into picture.
Confidential
37. Hands on 35: Deployment or Migration
1) Copying RPD or web catalog from one environment to another environment is called as
deployment
2) In Any project we will maintain three types of environments
a. Development
b. SIT(system Integration and Testing) or testing (ST,SIT,UAT)
c. Production
3) Deployment examples
a. copying components (rpd and catalog) from dev to test
b. copying components (rpd and catalog) from test to prod.
Deployment Components
1) RPD
2) Web Catalog
1. RPD Deployment
Confidential
2. Second time Web Catalog deployment
Catalog Manager
1) It is a window based client using catalog manager we can deploy web catalog in two
ways.
1. Offline.
2. Online.
Offline catalog deployment:
i. type: online.
ii. URL: http://localhost:7001/analysis/saw.dll?
iii. UN: web logic
iv. Password: RRitec123
v. Similarly open another instance of catalog manager in online mode.
vi. Copy & paste.
Confidential
Some advantages of catalog manager
Method 1:
Open catalog in catalog manager either in offline or online mode select whatever reports we
want file menu archive point to desktop & give name as B147 ok.
Some reason by mistake if we delete any of the reports. We can restore from our archive file.
Method 2:
Open analytics portal Click on catalog select required folder Select archive
Permissions:
Right click on any object in the catalog manager click on permissions change whatever
way we want ok.
Select catalog Root/main folder tools menu create report select all the columns by
pressing shift (>) ok select excel format ok ok.
RPD documentation:
Confidential
38. Hands on 36: KPI (Key Performance Indicator)
Load sample applite RPD & sample applite web catalog into servers start the services.
Process:
New KPI sample sales lite general properties actual value: revenue target value:
target revenue dimensionality add select time hierarchy objects ok click on finish
select any folder name: revenue KPI ok similarly create quantity KPI catalog
navigate to saved KPI’s open observe output.
Process:
New KPI watch list drag and drop saved revenue KPI into KPI watch list click on ok
similarly drag and drop quality KPI save name: revenue & quantity watch go to catalog
& observe output of watch list change some values & observe KPI’s values.
Process:
Go to new score card name: REV quantity score card new objective name: revenue
& quantity save from catalog drag and drop revenue KPI & quantity KPI into objectives &
KPI’s select revenue & quantity objective click on strategy tree observe output.
Confidential
39. Hands on 37: ID Column
Step2: develop a report with columns products,revenue and click on products filterselect
‘isprompted’save
Confidential
40. Hands on 38: ORACLE BI FOR MS OFFICE
1. View live, refreshable data from the Oracle Business Intelligence Server.
a. Insert BI tables, pivot tables and graphs into PowerPoint or Excel as refreshable,
editable objects.
b. Apply PowerPoint or excel formatting to BI data; formats are retained when you
refresh.
2. Copy and paste BI analyses from Oracle BI Answers or Oracle BI Interactive
Dashboards to PowerPoint or excel . The data, metadata, and view layout are copied.
3. Secure BI Data from Oracle BI objects in PowerPoint or excel so that users must log in
to view the data. Secured objects can be refreshed.
Installation
1. login to Analytics
2. Under Get Started Click on Download BI Desktop Tools Click on Oracle BI for
MS Office
3. Click on Run the executable that you have downloaded and follow the wizard to
complete the installation
Configuration
1. Open Microsoft Power point or Microsoft Excel
2. In the Menu bar click on OracleBIPreference
3. In Preferences window select Connections tabselect New
4. In the New Connection window, fill the following fields
Server Name: Give any name (e.g. RRITEC)
BI Office Server: Enter the URL for the BI Office Server (e.g. RRITEC). You can enter
“localhost” if the BI Office Server is installed on your local machine.
Application Name: bioffice (deault)
Port: 7001
Confidential
5. Click on Test connection. It should show the following screen, if not check the
connection details and correct them.
Note: This does not test the connection between the BI Office Server and Presentation
Services.
6. Click on Oracle BI MenuClick Login to login to Presentation Services using the
appropriate username(weblogic) and password(RRitec123)
Confidential
7. You will get the error “Login failed. Please check the username, password and
Oracle BI Office server availability” It is because in the bioffice.xml
(C:\OBI11g\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL
_user\bioffice_11.1.1\hsq62b\war\WEB-INF\) SawBaseURL is pointing to 9704 port.
Change it to 7001 and then save the file. Restart the all services from EM
(http://rritec:7001/em) and try login again, it should work.
8. Once you are logged in, you will see the BI Catalog on the right pane of Microsoft Power
point.
9. Double click on any report table/oivot table/graph
Confidential
41. INFORMATICA 9
2. It is useful to Extract different Heterogeneous Sources (like Sibel, Sales force, Oracle
Apps, PeopleSoft, Mainframe ….) Transform as Analytical data (Aggregating data,
cleaning data…) and Load into DW.
1.
Step 2 : Installation wizard Starts. Choose the installation type Click Next.
Step : 3 Installation Pre-requisites will be shown before the installation starts as below.
Click Next.
Confidential
Step 4 : Enter the license key Click Next
Step 5 : Pre-installation summery will give the items installed during the installation
process based on the license key Click Next
Confidential
Step 6 : Installation Begins. It takes couple of minutes to finish. Soon after completion of this
step, Configuring Domain window opens. Continue the steps from Domain Configuration.
Step 6:
Click Next.
Confidential
o User Password : Password.
o Schema Name : If Schema name is not provided default schema will be used.
o Database Address and Port : Machine on which database in installed and default
port number.
o Database Service Name : Database Name.
Step 8:
You can give the Domain details, Admin user details now.
Note : Remember your Admin User ID, Password to log on to Admin Console later in the
installation.
Confidential
Step 9
Step : 5
Installation is complete and you get the post-installation summery. You get a link to the
installation log file and a link to Admin console Click Done.
Confidential
41.2.2 Client Installation
Step 1 : Click on the install.bat On Installation wizard Starts Click Start.
Confidential
Step 3: On Installation Pre-requisites window Click Next.
Step 5: Choose the client tools you need. Only PowerCenter Client is mandatory.
Click Next.
Confidential
Step 6 : Choose the client installation directory Click Next.
Step 7: You can choose the type of Eclipse installation in this step. This window will be
available if you choose to install “Informatica Developer” or “Data Transformation Studio”
Click Next.
Confidential
Step 8:Pre-installation summery will give the items installed during the installation process
Click Next.
Step 9: Installation Begins. It takes one or two minutes to complete this step.
Confidential
Step 10: Installation is complete and you get the post-installation summery.
Admin Activities:
Confidential
Creating Repository Services:
2. This information all together will store in database schema with the help of 511 tables
OR
2. Start Run services.msc select Informatica 9.0.1 Right Click click on start
c. Conn ITECINFA@ORCL
d. Password RRitec123
Confidential
3. Please Note that no tables are available in this schema.
a. Name : RRITEC_RS
b. Username: ITECINFA
c. Password: RRitec123
Confidential
7. Once Process is completed SQL PLUS execute “Select Count (*) form tab” and notice
that 511 tables are created.
1. Integration services are useful to Read Metadata from Repository Services & Execute
corresponding Workflows.
Process:
a. Name : RRITEC_INT
Confidential
2. Provide repository information as for below
b. Username : Administrator
c. Password : Administrator
3. Click on Finish
Confidential
41.4 Repository Manager
b. Create folders
Adding Repository
1. Start all programs Informatica Client Power Center Client Power Center
Repository Manager click on ok
a. Username: Administrator
b. Domain: Domain_rritec
Confidential
Create folder
Step 1: Creating user SDBU and load tables into SDBU schema
c. Conn SDBU@ORCL
d. Password RRitec123
3. Go to RRITEC labcopy labdata folder and take full path of driver and execute as for
below
Step 1: Creating user TDBU and load tables into TDBU schema
c. Conn TDBU@ORCL
d. Password RRitec123
Confidential
e. Select count (*) from tab;
6. Go to RRITEC labcopy labdata folder and take full path of driver and execute as for
below
The exercises in this lab are designed to walk the student through the process of
creating source & target definitions by importing metadata from a relational database
table.
This exercise walks the student through the process of creating a source definition
from the EMPLOYEE table.
2. Click on OK
Confidential
Step 2. Connect to the repository.
1. Select the RRITEC_REP repository.
2. Right Click on Repository RRITEC_REP | Connect.
3. The Connect to Repository dialog box appears:
Note that there is a difference between an “expanded” folder and an “open” folder – even
though they both appear the same in the Navigator window.
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 228
Confidential
Before PowerCenter objects can be added, deleted or modified, a folder must be explicitly
opened.
1. The Workbook View allows easy navigation among open folders. If the Source
Analyzer is not already open, select Tools | Source Analyzer, or click the Source
Analyzer button in the toolbar.
2. The Source Analyzer window opens by default maximized and with workbook tabs. If
your setting are different then do manual or ignore below two steps
a. Maximize the Source Analyzer window by clicking on the maximize window
button.
b. Create workbook tabs at the bottom of the workspace by selecting View
Workbook.
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 230
Confidential
3. Click on ODBC Data Source Click on System DSN tab Add Oracle in
oraDB11g_home1
The database user and password are NOT the same as the PowerCenter repository user
and password.
Confidential
7. Note that the Owner name field defaults to the username that was entered. Enter
the database username and password
username: sdbu
owner: SDBU
password: Rritec123
8. Click the Connect button.
9. Once the Connect button changes to read Re-connect, a direct connection to the
source database has been established.
10. In the Select Tables window, expand the database owner name (SDBU).
11. Expand the TABLES node.
12. Select the EMPLOYEE table:
15. Note that the EMPLOYEE source definition is also added to the Sources node in the
Navigator window:
Confidential
Step 6. Edit the source definition.
1. In the Source Analyzer workspace, double-click on the header of the EMPLOYEE
source definition.
2. The Edit Tables dialog box appears.
3. In the Table tab, Description field, enter the following text:
This source comes from the CRM system and includes all Sales Representatives from
the Sales Department.
Confidential
Note that the Description field can be used to add a description for each column. To
associate a description with a particular column, highlight the column and enter a
description in the Description field.
4. Select the Columns tab.
5. Select TYPE_CODE.
6. In the Description field (at the bottom of the dialog box), enter the following text:
Human Resource Job Code Click Apply.
Confidential
3. Check the Repository checkbox on the Toolbars tab:
4. Click OK.
5. The new toolbar appears at the top right of the Designer window:
Note that all work must be manually saved in the PowerCenter Designer. Additionally, work
can only be saved in one folder at a time. The Save command will save the contents of the
folder that is currently active in the workspace.
While working in the PowerCenter Designer, save often to avoid losing any changes!
Save all work by selecting Repository | Save or by typing Ctrl-S.
6. In the output window’s Save tab, scroll up for a message confirming your work is
saved.
Confidential
41.6.2 Exercise 2: Import a Target Schema
In this exercise, the student will import a target definition for the relational database
table, ODS_EMPLOYEE.
3. Click on ODBC Data Source Click on System DSN tab Add Oracle
in
Confidential
oraDB11g_home1
Confidential
8. Click on Connect.
9. Expand the database owner name.
10. Expand the TABLES node.
11. Select the ODS_EMPLOYEE table:
14. Note that the EMPLOYEE target definition is also added to the Targets folder in
the Navigator window:
Confidential
Step 3. Save the target definition.
1. Save all work by selecting Repository | Save or by typing Ctrl-S.
Lab at a Glance
The exercises in this lab are designed to familiarize the student with the process of creating a
mapping. The student will also learn to navigate within the Mapping Designer tool.
Objectives
Confidential
Exercises
In this exercise, the student will create a mapping that represents the data flow between the
EMPLOYEE source and the ODS_EMPLOYEE target.
A mapping represents the dataflow between sources and targets. The instructions defined in
the mapping tell the Informatica Server how to read, transform and write the data.
Confidential
2. Drag-and-drop the EMPLOYEE source definition to the far left side of the workspace.
3. In the Navigator window, expand the Targets node and locate the ODS_EMPLOYEE
target definition:
4. Drag-and-drop the ODS_EMPLOYEE target definition to the far right side of the
workspace.
5. The workspace should look as follows:
Confidential
Note that an object called SQ_EMPLOYEE is automatically added to the mapping above. This
transformation object is called the Source Qualifier and is required with all relational and flat file
sources. It was created automatically when an instance of the EMPLOYEE source definition
was added to the mapping.
Confidential
Step 5. Create an expression transformation.
1. If the toolbar is not visible, activate it by selecting Tools | Customize, then select the
Transformations checkbox
2. Before the target is loaded, the FIRST_NAME and LAST_NAME ports for each row must
be concatenated. This concatenation can be done in an Expression transformation.
3. Locate the Transformation toolbar.
6. In order to give yourself more room to work, you may wish to toggle off the navigator
window. You can do this by selecting View – Navigator from the menu or by clicking
the “x” in the upper-right corner of the navigator.
the workspace, the cursor appears as crosshairs Left-click the mouse.An Expression
transformation is created.
An alternative method is : select Transformations – Create from the menu and then
choose Expression as the transformation type. In this method, you name the
transformation at the time you create it.
Confidential
2. Click the Rename button.
3. Rename the transformation to exp_ODS_EMPLOYEE.
Confidential
Step 9. Create an expression formula.
1) Note that a formula can also be typed in manually, if the names of the functions and ports
are known.Click in the Expression column of the NAME_out port and notice the arrow that
appears at the far right:
6) Double-click on the port FIRST_NAME. Note that it is added to the Formula field.
7) Click on the double-pipe button in the Operator keypad. The concatenation operator
is added to the formula.
Confidential
13) Upon successful parsing of the formula, the Expression parsed successfully message will
appear.
14) Click OK.
Using the || string operator instead of CONCAT improves Informatica Server performance
in processing the formula.
2. The mapping is now complete. Right-click in the workspace and select Arrange All –
the mapping should look like the following:
Confidential
Step 11. Validate the mapping.
1. Save (CTRL+ S) the repository.
2. Every time a repository is saved, mapping validation checks are performed.
3. Click on the Save tab in the Output window.
4. Expand the Output window and scroll up until the validation test details are visible:
The exercises in this lab familiarize the student with the process of creating a simple workflow
with a start task and session task. This workflow will essentially define a run-time version of
the mapping created in the previous lab. The exercises will also familiarize the student with
the process of starting and monitoring a workflow.
Objectives
Confidential
Exercises
Confidential
9. Enter the username and password--
username: Administrator
password: Administrator
10. Click the Connect button.
11. Right-click on the RRITEC folder and select Open.
12. Open the Workflow Designer by selecting Tools | Workflow Designer or click the
Confidential
6. Click OK.
A workflow is a set of instructions that tells the Informatica Server how to execute tasks.
Every workflow contains a start task, which represents the beginning of the workflow.
Confidential
3. On the General tab, enter wf_ODS_EMPLOYEE in the Name field.
4. Click OK.
5. The Start task appears in the Workflow Designer workspace:
Confidential
2. Cleck on ok click on close
Creating Target connection :
Confidential
Session tasks represent mappings for the Informatica Server to run. The Informatica Server
uses the instructions configured in the session to move data from a source to a target.
1. Note that each session task is associated with a single mapping. Click on the Session
button on the Task toolbar.
This appears by default at the top right of the Designer window and may be part
hidden. Click on the vertical bar at the left of the toolbar to drag it to another position.
2. Move the pointer into the workspace and click The Mappings dialog box appears
Select the mapping m_ODS_EMPLOYEE Click OK.
3. The session task s_m_ODS_EMPLOYEE appears in the workspace.
4. Save the repository.
Note : We also can create using navigation Tasks Create provide name
m_ODS_ EMPLOYEE Create Select the mapping m_ODS_EMPLOYEE Click
OK
2. Note that the default Session Log File Name, s_m_ODS_EMPLOYEE.log, and the
default Session Log File directory, $PMSessionLogDir, may be overridden, but we
will use the defaults for this lab.
Confidential
3. Select the Mapping tab.
4. In the Navigator window, select the source sq_EMPLOYEE.
In the Connections section, click on the down arrow , select native_source and click
OK.
Confidential
3. Toggle off the ‘link mode’ by clicking again on the Link button, or single click on one of
the objects.
Confidential
fail but the workflow itself will can complete successfully. One of the only reasons a
workflow will fail is when the Server cannot write the workflow log. The Workflow
Monitor window opens automatically when a workflow is started and automatically logs
into the repository, displaying the workflow status.
2. The Workflow Monitor has two tabs – Gant Chart and Task View. Look at the Task
View.
Confidential
Step 4. View the session log.
The session log is copied (via ftp) from the Informatica Server machine, and displayed on the
client machine as TmpSessionLog_x.
If errors have occurred, review the session log to determine what the problem is. Test and
rerun as necessary.
1. Right-click on the session in the Task Name column (Time window) and select Get
Confidential
41.9 Hands on 04: Flat file Filter
Lab at a Glance
The exercises in this lab are designed to walk the student through the process of importing and
analyzing a flat file source using the Flat File Wizard. The student will also learn how to use the
Filter transformation.
Objectives
In this lab, the student will create a mapping (and associated workflow) to extract data from a
flat file that contains date records.
Confidential
The mapping must transform the data and load it into a target table as follows:
In addition, the mapping must filter the data for only those dates after 12/04/1999.
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 260
Confidential
41.9.1 Exercise 1: Import Source and Target
6. In the Designer, open the Source Analyzer by clicking the Source Analyzer button
or by selecting Tools | Source Analyzer
7. Select Sources | Import From File.
8. The Open Flat File dialog box appears Change the Files of type: to All Files(*.*)
Locate the directory where the flat file resides – typically
Informatica\9.0.1\server\infa_shared\SrcFiles
9. Select the flat tile TIME.txt Click OK.
Confidential
13. Click Next.
14. Make sure the Comma checkbox is selected under Delimiters.
15. Make sure the Double Quotes radio button is selected under Text Qualifier.
Confidential
18. Click Finish.
19. The source definition should look as follows:
The first row in the TIME.txt file contains the column names. When this option is checked, the
import automatically starts at row 2 and assumes that future extracts will start at row 2.
The wizard makes a best guess at the data type, length and width of the columns based on the
data read from the first 500 rows.
1. Open the Target Designer by clicking the Target Designer button on the toolbar.
2. Select Targets | Import From Database.
a. ODBC Data Source : RRITEC_TARGET
b. Username : TDBU
Confidential
c. Owner :TDBU
d. Password :RRitec123
3. Click on Connect
4. Expand the TDBU schema and TABLES node.
5. Select ODS_TIME Click OK The ODS_TIME target table should look as follows:
Confidential
DATE_ID, Datatype=date/time, Prec=29(default), Port Type=Output Only
MONTH_out, Datatype=string, Prec=3, Port Type=Output Only
QUARTER_out, Datatype=string, Prec=2, Port Type=Output Only
YEAR_out, Datatype=string, Prec=4, Port Type=Output Only
An expression will be needed for each of the above ports to derive the values. Open the
Expression Editor and add expressions for each port as follows:
DATE_ID TO_DATE(DATE,’DD-MON-YYYY’)
MONTH_out
QUARTER_out SUBSTR(QUARTER,6,1)
YEAR_out SUBSTR(QUARTER,1,4)
9. Change the ports, DATE and QUARTER, to input only ports.
10. The Ports tab of the exp_ODS_TIME expression should look as follows:
Confidential
QUARTER_out
YEAR_out
4. Double-click on the Filter transformation.
5. The Edit Transformations dialog box appears.
6. Click the Rename button and enter fil_ODS_TIME.
7. Click on the Ports tab and rename the following ports:
MONTH_out = MONTH
QUARTER_out = QUARTER
YEAR_out = YEAR
8. Click on the Properties tab.
9. Click on the down arrow to edit the Filter Condition:
10. To define a new filter condition, remove the default text, TRUE.
11. Open the Expression Editor and click on the Ports tab to the right of the Functions
tab.
13. Click the greater than or equals button on the operator keypad.
14. Click the Functions tab, expand the Conversion folder and double-click on
To_Date.
15. To complete the expression, type '12/04/1999', 'MM/DD/YYYY' between the
parentheses. The final expression should look as follows:
Confidential
17. Click OK twice to save changes.
18. The Filter transformation should look as follows:
4. Click OK.
5. All ports should be linked between these two transformations:
Confidential
41.9.3 Exercise 3: Create and Run the Workflow
In this exercise, the student will create a workflow to run and test the new mapping.
Confidential
Save, validate and start the workflow.
Monitor and review the results for s_m_ODS_TIME in the Workflow Monitor.
Confidential
42. DAC 11G
1. Is a centralized console to design, configure and execute ETL for loading the Oracle
Business Analytics Warehouse(OBAW)
2. Single command and control point for the OBAW
3. Provides a framework for managing the entire life cycle of OBAW implementations
4. Provides an ‘easy-to-use’ interface for deploying, defining, administering and monitoring
of Data warehouse processes
5. Simplifies ETL customization and execution
1. Define ETL subject areas and execution plans
2. Automate configuration of ETL for full and incremental load of subject areas
3. Automatic index management
4. Prioritize and load balance ETL workflow execution
5. Compile historical tracking of diagnostic ETL logs
6. Provide restart of ETL execution from point of failure
7. Update database statistics on OBAW tables and indexes
6. DAC present version is 11G
7. DAC 11g Supports ODI objects executions
42.2 DAC Installation
http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-
downloads-1525270.html
Confidential
3. In Welcome screen click on NEXT
Confidential
5. Select Informatica 8.x Click on Next
Confidential
8. In Installation Summary Window Click on Next
Confidential
10. In Installation Completed Window Click on Finish
Confidential
Creating DAC Connection
Confidential
14. Creating user DAC
c. Conn DAC@ORCL
d. Password dac
Confidential
16. Click on Authentication File From drop down select Create authentication file
Click on OK
Confidential
17. Again click on OK Name it as DAC.con
18. Click on OK Provide Table Owner Name : dac and password : dac Click on OK
Confidential
20. Click on Login do not provide anything in table space Click on Yes
Confidential
22. Go to Tools menu Click on DAC Server Management Click on DAC Server
Setup
Confidential
25. Click on Test Connection Click on Save
Note: DAC repository is going to store in database with the help of 145 tables
26. Copy below paths Right click on my computer Click on Advanced tab Click on
Environment Variables
D:\Informatica\9.0.1\server\bin;C:\orahome\10gR3_1\bifoundation\dac\lib;C:\orahome\10
gR3_1\bifoundation\dac\bin
Confidential
27. Double click on Path variable End of the path type ; provide entire above path
Click on OK Again OK
Confidential
42.3 DAC Configuration
1. Connection : dac
3. Password : dac
1. In DAC repository we may create n number of containers but always best practice is
create only one container.
2. Container is useful to store DAC metadata (Task Names, Task Groups , subject area,
execution plans etc…)
Process:
1. Go to file menu Click on new Source system container provide id as rritec123 and
name as rritec select create empty new container Click on ok
1. Click on Setup tab double click on Physical data sources click on New
provide below information
1. Name : ORCL_SDBU
2. Type : Source
7. Dependency priority : 1
2. Click on save ok
Confidential
3. Similarly another connection with name ORCL_TDBU
a. Name : ORCL_TDBU
b. Type : Warehouse
g. Dependency priority : 1
Confidential
h. Data source number : 1521
1. Name : INFORMATICA_REP_SERVER
2. Type : Repository
5. Domain : Domain_rritec
6. Login : Administrator
7. Password : Administrator
Confidential
8. Repository name : RRITEC_REP (open Informatica Admin console and name as
per the console repository name )
1. Name : INFORMATICA_INT_SERVER
2. Type : Informatica
3. Services : RRITEC_INT
4. Domain : Domain_rritec
5. Login : Administrator
6. Password : Administrator
Confidential
Step6: Configuring Informatica physical folder.
Confidential
Step8: Mapping Logical folder And Physical folder.
1. Go to Design tab double click on Source System Folders select New Select
Logical folder as RRITEC Select Physical folder as RRITEC
2. Click on Save.
Confidential
42.4 Development Activities
1. Creating Tasks
2. Creating Task Group
3. Creating Subject Area
4. Creating Execution Plans
5. Creating Schedules
6. Exporting & Importing(Deployment)
3. In one task we can map minimum one work flow and max is 2.
Process:
1. Open DAC client and provide user name and password as dac.
2. Click on Design tab double click on Task Click on New provide below
information
1. Name : wf_ODS_EMPLOYEE
Confidential
3. Click on Save.
4. Right click on Task wf_ODS_EMPLOYEE Click on Synchronize Task Click on ok
Click on ok.
5. Similarly create one more task with name of wf_ODS_TIME and use workflow as
wf_ODS_TIME
Confidential
42.4.2 Creating Task Groups
2. In Task group we will configure dependency order of the task. This dependency order
will be shown as Depth in Execution plan.
3. Dependency order smallest to highest will be running , If dependency order is same for
2 Tasks then both will run parallel.
Process:
Confidential
Ex: Loyalty, Marketing, Sales, Finance….
Process:
1. Click on Design tab Double click on Subject area Click on new Name:
RRITEC_SA Click on Save.
2. Click on Child task click Add/Remove select wf_ODS_EMPLOYE ,
wf_ODS_TIME and RRITEC_TASKGROUP
3. Click on Add Click on ok Click on Save.
4. Right click on Subject area click on Assemble Click on ok Click on Accept
Click on ok Click on Save.
Process:
1. Start the DAC server (start all programs DAC Start Server).
Confidential
2. Select RRITEC_EP execution plan click on Run now click on Yes Click on ok
3. Go to Informatica Workflow monitor connect to our Repository RRITEC_REP
Open Folder RRITEC observe that workflows are running.
Note: At a time only one Execution plan can run in DAC 10g however this limitation lifted in 11g
.
42.4.5 Scheduling
Process:
b. E-mail : rritec@gmail.com
2. Click on Save.
Confidential
Configuring SMTP Server:
Confidential
42.4.7 Deployment
1. DAC total work will be saved in backend schema what we configured (in RRITEC it is
DAC USER).
Step2: Importing
1. Once we exported in Development environment that we can import into testing server
Confidential
2. Go to Tools menu DAC Repository Management Import Select
DAC_BACKUP folder ok.
Confidential
43. Oracle Data Integrator (ODI 12 C)
1. A widely used data integration software product, Oracle Data Integrator provides a new
declarative design approach to defining data transformation and integration processes,
resulting in faster and simpler development and maintenance.
2. Based on a unique E-LT architecture (Extract - Load Transform), Oracle Data Integrator
not only guarantees the highest level of performance possible for the execution of data
transformation and validation processes but is also the most cost-effective solution
available today.
A Unique Solution
1. Faster and simpler development and maintenance: The declarative rules driven
approach to data integration greatly reduces the learning curve of the product and
increases developer productivity while facilitating ongoing maintenance. This
approach separates the definition of the processes from their actual implementation,
and separates the declarative rules (the "what") from the data flows (the "how").
Confidential
2. Data quality firewall: Oracle Data Integrator ensures that faulty data is
automatically detected and recycled before insertion in the target application. This is
performed without the need for programming, following the data integrity rules and
constraints defined both on the target application and in Oracle Data Integrator.
4. Simpler and more efficient architecture: The E-LT architecture removes the need
for an ETL Server sitting between the sources and the target server. It utilizes the
source and target servers to perform complex transformations, most of when happen
in batch mode when the server is not busy processing end-user queries
7. Cost-savings: The elimination of the ETL Server and ETL engine reduces both the
initial hardware and software acquisition and maintenance costs. The reduced
learning curve and increased developer productivity significantly reduce the overall
labor costs of the project, as well as the cost of ongoing enhancements.
Confidential
43.2 ODI Installation
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 300
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 301
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 302
Confidential
43.3 ODI Component
Architecture
Repositories:
1. Oracle Data Integrator Repository is composed of one Master Repository and several
Work Repositories.
2. ODI objects developed or configured through the user interfaces (ODI Studio) are stored
in one of these repository types.
3. Master repository stores the following information
Confidential
1. Security information including users, profiles and rights for the ODI platform
2. Topology information including technologies, server definitions, schemas,
contexts,languages and so forth.
3. Versioned and archived objects.
4. Work repository stores the following information
1. The work repository is the one that contains actual developed objects. Several
work repositories may coexist in the same ODI installation (example Dev work
repository ,prod work repository …etc )
2. Models, including schema definition, datastores structures and metadata, fields
and columns definitions, data quality constraints, cross references, data lineage
and so forth.
3. Projects, including business rules, packages, procedures, folders, Knowledge
Modules,variables and so forth.
4. Scenario execution, including scenarios, scheduling information and logs.
5. When the Work Repository contains only the execution information (typically for
production purposes), it is then called an Execution Repository.
Confidential
manage your mapping executions in the sessions, as well as the scenarios in
production.
4. Security Navigator: is the tool for managing the security information in Oracle
Data Integrator. Through Security Navigator you can create users and profiles
and assign user rights for methods (edit, delete, etc) on generic objects (data
server, datatypes, etc), and fine tune these rights on the object instances (Server
1, Server 2, etc).
Confidential
43.4 Creating Master and Work
Repository
d. Password RRitec123
Confidential
3. Please Note that no tables are available in this schema.
Confidential
4. Provide below information
Confidential
8. Select internal password Storage ->Click on Finish
Confidential
9. Once Process completed
10. Go back to sql plus and execute select count(*) from tab and notice that 67
tables are created
d. Password RRitec123
Confidential
3. Please Note that no tables are available in this schema.
Confidential
4. Click on test click on ok click on ok
5. Click on Topology expand repositories section
6. Right click on work repositories click on new work repository
Confidential
8. In conformation window click on yes
Confidential
11. In ODIWR schema observe that 153 tables created
Exercise: please complete \02 ODI\04 ORACLE REFERENCE\ Creating Master and
Work Repository by RCU.docx (Please do not run drop RCU Section)
a. Conn scott@ORCL
b. Password tiger
10. Go to RRITEC labcopy labdata folder and take full path of driver and execute as for
below
11. Commit;
Confidential
43.5.2 Configuring Target database
Step 1: Creating user TDBU and load tables into TDBU schema
c. Conn TDBU@ORCL
d. Password RRitec123
14. Go to RRITEC labcopy labdata folder and take full path of driver and execute as for
below
The Oracle Data Integrator Topology is the physical and logical representation of
the Oracle Data Integrator architecture and components.
1. The physical architecture defines the different elements of the information system, as
well as their characteristics taken into account by Oracle Data Integrator.
2. Each type of database (Oracle, DB2, etc.) or file format (XML, Flat File), or
application software is represented in Oracle Data Integrator by a technology.
Confidential
3. The physical components that store and expose structured data are defined as
dataservers.
Process:
Confidential
3. Go to Right click on oracle Click on New Data Server
Confidential
6. Click on test connection Click on test click on ok
7. Close
Confidential
3. Click on Save click on ok close the window
1. The logical architecture allows a user to identify as a single Logical Schema a group
of similar physical schemas - that is containing data stores that are structurally
identical - but located in different physical locations.
3. All the components developed in Oracle Data Integrator are designed on top of
the logical architecture. For example, a data model is always attached to logical
Schema
Process:
Confidential
4. Similarly create one more new logical schema with the name of TARGET_TDBU
With
Confidential
Process (optional):
1. By default one context created with installation of ODI with the name of Global
2. We already mapped logical and physical schemas while we were creating logical
schemas For just conformation right click on global context open observe mapping
Confidential
Agents:
1. Oracle Data Integrator run-time Agents orchestrate the execution of jobs. The agent
executes jobs on demand and to start the execution of scenarios according to a
schedule defined in Oracle Data Integrator.
Languages:
1. Languages defines the languages and language elements available when editing
expressions at design-time.
1. Models are the objects that will store the metadata in ODI.
3. A model typically contains metadata reverse-engineered from the “real” data model
(Database, flat file, XML file, Cobol Copybook, LDAP structure ...etc)
4. Database models can be designed in ODI. The appropriate DDLs can then be generated
by ODI for all necessary environments (development, QA, production)
1. Standard reverse-engineering
2. Customized reverse-engineering
Confidential
8. Some other methods of reverse engineering are
Process:
Confidential
2. Right click on RRITEC_MODEL_FOLDER Click on New Model Name it as
RRITEC_MODEL
Confidential
4. Observe all tables
Confidential
43.8 Creating Project
2. A folder is a hierarchical grouping beneath a project and can contain other folders and
objects.
3. Every package, Mapping, Reusable Mapping and procedures must belong to a folder.
4. Objects cannot be shared between projects. except (Global variables, sequences, and
user functions)
7. There are different knowledge modules for loading, integration, checking, reverse
engineering, and journalizing.
Confidential
MAPPINGS
Confidential
2. LKM Oracle to Oracle (DBLINK)
3. CKM Oracle
Markers
1. A marker is a tag that you can attach to any ODI object, to help organize your project.
2. Markers can be used to indicate progress, review status, or the life cycle of an object.
3. Graphical markers attach an icon to the object, whereas non graphical markers attach
numbers, strings, or dates.
4. Markers can be crucial for large teams, allowing communication among developers from
within the tool.
1. Review priorities.
3. Add memos to provide details on what has been done or has to be done.
5. Project markers:
6. Global markers:
Process:
Confidential
2. Click on save Right click on First Folder open rename as RRITEC save
43.9 Components
1. In the logical view of the mapping editor, you design a mapping by combining datastores
with other components. You can use the mapping diagram to arrange and connect
components such as datasets, filters, sorts, and so on. You can form connections
between data stores and components by dragging lines between the connector ports
displayed on these objects.
2. Mapping components can be divided into two categories which describe how they are
used in a mapping: projector components and selector components.
i. Projector Components
1. Projectors are components that influence the attributes present in the data that flows
through a mapping. Projector components define their own attributes: attributes from
preceding components are mapped through expressions to the projector's attributes. A
Confidential
projector hides attributes originating from preceding components; all succeeding
components can only use the attributes from the projector.
1. Dataset Component
2. Datastore Component
3. Set Component
5. Aggregate Component
6. Distinct Component
1. Selector components reuse attributes from preceding components. Join and Lookup
selectors combine attributes from the preceding components. For example, a Filter
component following a datastore component reuses all attributes from the datastore
component. As a consequence, selector components don't display their own attributes in the
diagram and as part of the properties; they are displayed as a round shape. (The
Expression component is an exception to this rule.)
2. When mapping attributes from a selector component to another component in the mapping,
you can select and then drag an attribute from the source, across a chain of connected
selector components, to a target datastore or next projector component. ODI will
automatically create the necessary queries to bring that attribute across the intermediary
selector components.
3. Built-in selector components:
1. Expression Component
2. Filter Component
3. Join Component
4. Lookup Component
5. Sort Component
6. Split Component
Confidential
43.10 Create a Mapping using
expression
In this exercise, the student will create a mapping that represents the data flow between the
EMPLOYEE source and the ODS_EMPLOYEE target.
A mapping represents the dataflow between sources and targets. The instructions defined in
the mapping tell the ODI Server how to read, Load and transform the data
2. In Logical tab of the mapping drag and drop employee table from
RRITEC_SOURCE_MODEL
2. Drag and drop all columns from employee source to expression Transformation
4. Select last attribute click on new attribute name it as FULL_NAME data type as
varchar
5. Click on expression …
Confidential
7. Click on ok connect all columns from expression to target ods_employee
Confidential
2. Go to operator navigator observe the session status
Confidential
44. OBIA
6. OBIA 7.9.6.4/3 are compatible with informatica 9th version, DAC 11g/10G and
OBIEE 11G.
7. Previous to this we have 7.9.6.2 it is compatible with informatica 8th /7th versions,
DAC 10G or DAC 7th version and OBIEE 10G.
1. CRM Analytics
Marketing Analytics
Sales Analytics
Service Analytics
..etc
2. ERP Analytics
HR analytics
Finance
SCOM
..etc
3. Industry analytics
Telecom
Confidential
Pharma
..etc
4. RPD
5. Web Catalog
44.3 CONFIGURATION
Creating a user:
Confidential
4. Connect to BIA_RS
Step1
3. Password: administrator
4. Select Domain_RRitec -> click on Action -> New -> power center repository service
5. Name it as BIA_RS. Select license and node from dropdown -> click on next
Select DB type as oracle -> give Username & password as BIA_RS & RRitec123 -> Connection
string as ORCL -> Select First radio button (content exists under..) -> Click on finish.
Confidential
Select BIA_RS go to actions enable service.
c:\bi116g\oracle_bi111\biapps\dwrep\informatica\repository to
c:\informatica\9.0.1\server\infa_shared\backup
Confidential
Select
BIA_RS Repository go to Action -> Repository content-> Restore
Go to sql developer -> connect to BIA_RS and observe that 511 tables are created.
Select domain_RRitec -> go to action -> new -> power center integration service.
Provide name as BIA_RS -> Select license and node from dropdown -> click on next
Select repository service as BIA_RS -> username & password as administrator -> Click on
finish.
Confidential
Adding BIA_RS repository to Informatica clients
1. All programs -> Informatica -> Client -> power center client -> power center designer.
2. Go to repository menu -> click on Add -> name it as BIA_RS -> user name as
administrator click on ok.
3. Right click on BIA_RS -> click on Connect -> Select domain from dropdown -> provide
user name& password as a administrator -> Click on connect
c:\bi116g\oracle_bi1\biapps\dwrep\informatica\srcfiles
to
c:\informatica\9.0.1\server\infa_shared\srcfiles
Similarly copy all files from Sample universal source files to srcfiles
Open work flow manager -> right click on SDE_UNIVERSAL_ADAPTOR -> click on Open
Open DAC ->go to Tools menu->DAC repository management -> Click on Import
c:\bi116g\oracle_bi111\biapps\dwrep\dac_metadata\dac_client\export
Confidential
DAC configuration after import
Click on Setup tab -> DAC system properties -> select DAC server host as local host ->
Name: DWH
Type: warehouse
Datasourcename: 1521
Dependency priority: 10
Confidential
Click on Test connection -> click on ok.
Domain: domain_RRitec
Login: administrator
Password: administrator
Select informatica_dw_server
Domain: domain_rritec
Login: administrator
Password: administrator
Go to file menu -> new source system container -> give id as RRitec123 -> Name as RRitec.
Select 2nd radio button (select existing container…) -> select universal -> click on ok
Confidential
STEP3: Configuring OBAW (or) Creating OBAW
Creating user:
Username: superdw1
Password: RRitec123
Note: If we get any errors regarding to SSE_ROLE (we can find it in log
C:\orahome\logr3_1\bifoundation\dac\10g\config)
Connection: dac
Name: dac
Password: dac
Confidential
Post Check
Connect to DB using superdw1 user and type select count (*) from tab and observe 1099 tables
created.
Types of Tables
Out of these 1099 tables half of the tables are staging tables remaining half are DW tables
which we are going to use input for RPD.
Main tables
Running HR Analytics
Select RRitec container from start -> all programs ->start DAC server -> select execution plans
tab. click on run. Click on ok. Click on current run .click on tasks.
Confidential
STEP4: Configuring RPD & Catalog
c:\bi116g\oracle_bi111\biapps\repository ->to
D:\OBI\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obi
s1\repository.
Open administrator tool -> open Enterprise Business Analytics.rpd in offline mode ->
Password as Admin123.
Double click on OLAP_DSN->. Change default initialize as ORCL -> click on ok.
Double click on OLAP_USER -> Change username as superdw1-> click ok -> close Manager.
Expand oracle DWH in physical layer -> double click on oracle DWH connection pool type
password as RRitec123 -> Click on ok -> again Password as RRitec123->click ok.
Similarly change all DWH connection pool password save it & close.
Catalog copying
D:\OBI\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\catal
ogs
Open Enterprise Manager -> login as web logic as user -> Go to Deployment tab -> click on
Lock & edit configuration -> click on Browse -> select Enterprise Business Analytics.rpd
Provide password as Admin123 -> conform password as Admin123 -> Under BI presentation
catalog->
at the end of catalog type EBA -> click on Apply ->click on Activate changes ->
Confidential
RR ITEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 345
Confidential
45. BI PUBLISHER
45.1 Introduction
Confidential
2. Click on Administration under Data source Click on JDBC Connection Click on
Add DataSource
Confidential
45.3 Development
1. Go to new Click on Data Model under data model select data sets click on
new data set click on sql Query name it as HR DATA MODEL data source as
RRITEC_ORCL
2. Click on Query Bulider select HR schema Clcik on Employees and departments
table select first_name ,last_name ,Salary ,Hiredate ,Job_id ,Department name
click on department_id column third cell in both the tables and make sure join is created
.
3. Click on conditions tab under condition of department_name column type IN
(:pDname) Click on Results type Sales click on ok click on save
5. Select List of values Click on new provide name as DnameLOVs select data
source as RRITEC_ORCL click on Query Builder Select HR Schema click on
Departments table select department_name Click on save
6. Select parameter pDname under parameter type select menu option Enable
Multiple selections select all values passed radio button
Confidential
7. Click on save provide name as HR data Model
8. Click on View data From prompt select all option select number of rows as
10click on view click on save as sample data click on ok
9. Click on save
1. Go to new click on report select use data model click on data model choose
select HR data model Clcik on open
2. Click on next select two charts and table Clcik on next drag department
_name on to x-axis salary on to Y-axis click on next
3. Drag and drop department _name on to series salary onto y-axis select pie chart
4. Click on next Click on next Click on finish
5. Click on save name it as from any database click on save from prompt select
all option and observe output
Confidential
45.3.2 Create BI Publisher report based on Oracle BI Answers report.
1. In BIP go to new select data model under data model select data sets
click on new data set select oracle BI analysis Click on ok
Confidential
2. Click on save name it as OBI analysis data model click on ok Click on view
data Click on view Clcik on save
1. Go to new Click on report select use existing data model click on data model
choose select above data model of step2 click on open –Click on next From
here follow the wizard
2. From subject Areas drop down select supplier sales subject area Click on next
Confidential
3. From here follow the wizard
45.4 Scheduling
Same as obiee
45.5 Deployment
Same as obiee
Confidential