Professional Documents
Culture Documents
Table of contents Process for bringing data into OBIEE.............................................................................2 Dimensions............................................................................................................2 Physical Layer......................................................................................................2 Connection Pool....................................................................................................3 Create Primary Keys..............................................................................................3 Create the Physical Diagram...................................................................................3 Business Layer ....................................................................................................4 Presentation Layer................................................................................................4 Denormalized tables..............................................................................................4 Repository Documentation Utilities...............................................................................5 Rename Wizard.......................................................................................................5 Generating and Deploying a Metadata Dictionary........................................................5 Generating Documentation of Repository Mappings.....................................................5 Verify Data Type.....................................................................................................5 Change the Date Data Type...................................................................................5 Where are system-wide changes stored?.................................................................6 Create Hierarchies...................................................................................................6 Hierarchy Aggregation...........................................................................................6 Hierarchy Errors...................................................................................................6 Building Hierarchies With Columns In Different Tables.....................................................7 Changes Applied Through Answers...............................................................................8 Formatting Data Values...........................................................................................8 Request Filters......................................................................................................10 Protect Filters Passed through Dashboard...............................................................10
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 1
Dimensions
Physical Layer
Use File.> Import from Server with OCI 10g/11g selected (avoids need to change the Connection Pool later) TNS Name = Data source name on Connection Pool dialog o TNS Name = polydata.world
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 2
Connection Pool
Require fully qualified table names on connection pool (needed for proxy account since it has only read access to tables)
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 3
Business Layer
Use Complex Joins to join new items created in the Business Layer, if any Aggregate items that can be summed Use Rename Wizard to rename fields and tables o o One table at a time (in on-line mode) Rules must be ordered, or perform one rule at a time
Group columns with dummy columns, e.g. --- Program Plan Begin ----- Program Plan End --o o Check "Use existing logical column as the source" Enter the number 1 in the formula box
Presentation Layer
Group columns with subfolders o o Create new Presentation Table as " [Name]" (that's hyphen space name) Creates a subfolder under the parent folder It is also possible to do this with "->" in the Description, but this is less desirable because it is not visible in Administrator unless you are looking at the column's Properties
For Administrator convenience, use icons to relate items in Presentation and Business Model layers
Denormalized tables
Physical layer o o o o Several subject-related denormalized tables may be pulled in together Create an alias of each denormalized table In the Physical Diagram, use a simple join from the original table to the alias The alias becomes the "fact" table
Business Layer o Delete columns from the "fact" table that are not used for measures (all but the join column in most cases)
Presentation Layer o o Delete alias table (assuming it does not contain measures) Create different folders (subject areas) for different denormalized tables so that people don't try using them together. (While this would not be allowed in Answers, trying to do so returns an error message that is confusing for the user.)
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 4
Rename Wizard
Rename columns Remove underscore character Change all column names so that first letter of each word is uppercase and rest is lowercase.
Columns defined as Number will come into OBIEE as DOUBLE which includes two decimal places. If this is incorrect for the column select INTEGER. DOUBLE = 19000225.00 INTEGER = 19000225
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 5
Note: Column Properties which include Style, Column Format, Data Format and Conditional Format are applied in Answers.
Create Hierarchies
1. Right-click dimension table and select Create Dimension at the bottom of the shortcut menu. 2. A Hierarchy is created using the name of the dimension table followed by the word Dim. 3. A Grand Total level and Detail level will be created. The Detail level will contain all of the columns of the dimension. 4. Create child levels using names that match your hierarchy. Right-click the Detail level, select New Object, Child level. 5. Create a child level below the lowest child level (this will contain the dimension key.) Move the dimension key to this level. Right-click this key column and remove the checkmark next to Use for drilldown. 6. Move other columns to their respective levels. 7. Delete any unneeded columns from any level. 8. Select columns within each level, right-click and select New Logical Level Key. Select all columns as keys if you want to see them in drilldown. 9. For any levels that should be skipped in the drill-down, select all columns in the level, right-click and remove the checkmark next to Use for drilldown. 10. At level two check for a Detail key that was automatically created. (Right-click level two, Properties, click the Keys tab). Highlight and delete Detail Key.
Hierarchy Aggregation
In the hierarchy, starting from the top and moving down. At each level below the Grand Total level, double-click the level. In the field Number of elements at this level: enter 10 and increase in increments of 10 through all levels in the hierarchy.
Hierarchy Errors
OBI Tool Metadata Errors and Solutions [nQSError: 15001] Could not load navigation space for subject area Student Enrollment. [nQSError: 15019] Table Student Class Section is functionally dependent upon level Institution Code, but a more detailed child level has associated columns from that same table or a more detailed table. This message occurs when either a key is in the Total level or when the first child level below the Total level contains two keys. Right-click on the Total level and select Properties. The Keys tab should be grayed out. If it is selectable, check to see what is there and delete it. Go to the next level down, right-click, select the Keys tab. Only one Key should appear. Delete the key that does not belong.
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 6
http://www.oracle.com/technology/products/bi/index.html
Assuming an item in the newly created dimension A that needs to be used for a hierarchy in a different dimension B: Select items from physical layer table corresponding to A and drag to the B dimension in the Business Model. Expand Sources for B table (click + ) then double-click on the B table source.
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 7
Click the Add button on the General tab. In the box below name click the B table then click the Select button. This creates a join between those two dimensions.
Then move Items that you want in the B dimension from the Physical layer to the A dimension Source name. This forces a logical join from the physical join between the dimension table and Fact table.
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 8
A perfect example for a system-wide change is the GPA (Grade Point Average). The field is defined with a Data Type of DOUBLE which gives you two decimal places but you need three decimal places in Answers and Dashboards. 1. Select the GPA column in Answers. 2. Select the Column Properties button. 3. Select the Data Format tab. 4. Click the Override Default Data Format checkbox 5. Change the number of Decimal Places. 6. Click the Save button and choose "as the system-wide default for "Student.GPA"
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 9
Request Filters
Protect Filters Passed through Dashboard
On the filter in the Answers Request, select Filter Options button > Protect Filter. This ensures that the filter used in the request is not lost or overwritten by another filter or dashboard prompt that may supersede the request. This option is only available if a value has been specified in the filter. If the filter item is set to "is prompted" then the Protect Filter option if not available.
/var/www/apps/conversion/tmp/scratch_2/177529883.doc Page 10