+ All Categories
Home > Documents > Creating a Repository Using the Oracle BI Administration Tool

Creating a Repository Using the Oracle BI Administration Tool

Date post: 11-Nov-2015
Category:
Upload: asad-hussain
View: 20 times
Download: 0 times
Share this document with a friend
Description:
OBIA doc
250
3/6/2015 Creating a Repository Using the Oracle BI Administration Tool http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 1/250 Purpose This tutorial covers using the Oracle Business Intelligence (BI) Administration Tool (11.1.1.7) to build, modify, enhance, and manage an Oracle BI repository. You learned how to import metadata from a data source, simplify and reorganize the imported metadata into a business model, and then structure the business model for presentation to users who request business intelligence information via Oracle BI user interfaces. You learn to create calculated measures, hierarchies, aggregates, and time series measures. Time to Complete Approximately 4 hours. Introduction This tutorial shows you how to build an Oracle BI metadata repository using the Oracle BI Administration Tool. You learn how to import metadata from data sources, simplify and reorganize the imported metadata into a business model, and then structure the business model for presentation to users who request business intelligence information via Oracle BI user interfaces. Hardware and Software Requirements The following is a list of hardware and software requirements: 1. Have access to or have Installed Oracle Business Intelligence Enterprise Edition 11g. Please note: This tutorial is built using Oracle Business Intelligence Enterprise Edition 11.1.1.7.0. When setting up query logging, you must select Action > Set Online User Filter in Identity Manager to view users in the repository. 2. To complete this tutorial you must have access to the BISAMPLE schema that is included with the Sample Application for Oracle Business Intelligence Suite Enterprise Edition Plus. There are two options for accessing the BISAMPLE schema: 1. You can download the Sample Application virtual box image from here. 2. Click here to access the ForOBE.7z file, which has the BISAMPLE schema. Save ForOBE.7z, unzip, and begin with README.txt. Prerequisites Before starting this tutorial, you should: Have some familiarity with the Oracle BI 11g Administration Tool Have the proper permissions to upload a repository In this topic you use the Oracle BI Administration Tool to build the Physical layer of a repository. The Physical layer defines the data sources to which Oracle BI Server submits queries and the relationships between physical databases and other data sources that are used to process multiple data source queries. The recommended way to populate the Physical layer is by importing metadata from databases and other data sources. The data sources can be of the same or different varieties. You can import schemas or portions of schemas from existing data sources. Additionally, you can create objects in the Physical layer manually. When you import metadata, many of the properties of the data sources are configured automatically based on the information gathered during the import process. After import, you can also define other attributes of the physical data sources, such as join relationships, that might not exist in the data source metadata. There can be one or more data sources in the Physical layer, including databases, flat files, XML documents, and so forth. In this example, you import and configure tables from the BISAMPLE schema. To build the Physical layer of a repository, you perform the following steps: 1. Creating a New Repository 2. Importing Metadata 3. Verifying Connection 4. Creating Aliases Overview Building the Physical Layer of a Repository Creating a Repository Using the Oracle BI Administration Tool (11.1.1.7)
Transcript
  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 1/250

    Purpose

    ThistutorialcoversusingtheOracleBusinessIntelligence(BI)AdministrationTool(11.1.1.7)tobuild,modify,enhance,andmanageanOracleBIrepository.Youlearnedhowtoimportmetadatafromadatasource,simplifyandreorganizetheimportedmetadataintoabusinessmodel,andthenstructurethebusinessmodelforpresentationtouserswhorequestbusinessintelligenceinformationviaOracleBIuserinterfaces.Youlearntocreatecalculatedmeasures,hierarchies,aggregates,andtimeseriesmeasures.

    TimetoComplete

    Approximately4hours.

    Introduction

    ThistutorialshowsyouhowtobuildanOracleBImetadatarepositoryusingtheOracleBIAdministrationTool.Youlearnhowtoimportmetadatafromdatasources,simplifyandreorganizetheimportedmetadataintoabusinessmodel,andthenstructurethebusinessmodelforpresentationtouserswhorequestbusinessintelligenceinformationviaOracleBIuserinterfaces.

    HardwareandSoftwareRequirements

    Thefollowingisalistofhardwareandsoftwarerequirements:

    1. HaveaccesstoorhaveInstalledOracleBusinessIntelligenceEnterpriseEdition11g.

    Pleasenote:ThistutorialisbuiltusingOracleBusinessIntelligenceEnterpriseEdition11.1.1.7.0.

    Whensettingupquerylogging,youmustselectAction>SetOnlineUserFilterinIdentityManagertoviewusersintherepository.

    2. TocompletethistutorialyoumusthaveaccesstotheBISAMPLEschemathatisincludedwiththeSampleApplicationforOracleBusinessIntelligenceSuiteEnterpriseEditionPlus.TherearetwooptionsforaccessingtheBISAMPLEschema:

    1. YoucandownloadtheSampleApplicationvirtualboximagefromhere.2. ClickheretoaccesstheForOBE.7zfile,whichhastheBISAMPLEschema.SaveForOBE.7z,unzip,andbeginwith

    README.txt.

    Prerequisites

    Beforestartingthistutorial,youshould:

    HavesomefamiliaritywiththeOracleBI11gAdministrationToolHavetheproperpermissionstouploadarepository

    InthistopicyouusetheOracleBIAdministrationTooltobuildthePhysicallayerofarepository.

    ThePhysicallayerdefinesthedatasourcestowhichOracleBIServersubmitsqueriesandtherelationshipsbetweenphysicaldatabasesandotherdatasourcesthatareusedtoprocessmultipledatasourcequeries.TherecommendedwaytopopulatethePhysicallayerisbyimportingmetadatafromdatabasesandotherdatasources.Thedatasourcescanbeofthesameordifferentvarieties.Youcanimportschemasorportionsofschemasfromexistingdatasources.Additionally,youcancreateobjectsinthePhysicallayermanually.

    Whenyouimportmetadata,manyofthepropertiesofthedatasourcesareconfiguredautomaticallybasedontheinformationgatheredduringtheimportprocess.Afterimport,youcanalsodefineotherattributesofthephysicaldatasources,suchasjoinrelationships,thatmightnotexistinthedatasourcemetadata.TherecanbeoneormoredatasourcesinthePhysicallayer,includingdatabases,flatfiles,XMLdocuments,andsoforth.Inthisexample,youimportandconfiguretablesfromtheBISAMPLEschema.

    TobuildthePhysicallayerofarepository,youperformthefollowingsteps:

    1. CreatingaNewRepository2. ImportingMetadata3. VerifyingConnection4. CreatingAliases

    Overview

    BuildingthePhysicalLayerofaRepository

    CreatingaRepositoryUsingtheOracleBIAdministrationTool(11.1.1.7)

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 2/250

    4. CreatingAliases5. CreatingPhysicalKeysandJoins

    CreatingaNewRepository

    1. SelectStart>Programs>OracleBusinessIntelligence>BIAdministrationtoopentheAdministrationTool.

    2. SelectFile>NewRepository.

    3. SelecttheBinarymethod.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 3/250

    4. Enteranamefortherepository.InthistutorialtherepositorynameisBISAMPLE.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 4/250

    5. Leavethedefaultlocationasis.Itpointstothedefaultrepositorydirectory.

    6. LeaveImportMetadatasettoYes.

    7. Enterandretypeapasswordfortherepository.InthistutorialBISAMPLE1istherepositorypassword.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 5/250

    8. ClickNext.

    ImportingMetadata

    1. ChangetheConnectionTypetoOCI10g/11g.Thescreendisplaysconnectionfieldsbasedontheconnectiontypeyouselected.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 6/250

    2. Enteradatasourcename.Inthisexamplethedatasourcenameisorcl.Thisnameisthesameasthetnsnames.oraentryforthisOracledatabaseinstance.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 7/250

    3. Enterusernameandpasswordforthedatasource.InthisexampletheusernameandpasswordarebothBISAMPLE.RecallthatBISAMPLEisthenameoftheuser/schemayoucreatedintheprerequisitesection.

    4. ClickNext.

    5. AcceptthedefaultmetadatatypesandclickNext.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 8/250

    6. IntheDatasourceview,expandtheBISAMPLEschema.

    7. UseCtrl+ClicktoselectthefollowingtablesfromBISAMPLEschema:

    SAMP_ADDRESSES_DSAMP_CUSTOMERS_DSAMP_PRODUCTS_DSAMP_REVENUE_FSAMP_TIME_DAY_D

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 9/250

    8. ClicktheImportSelectedbuttontoaddthetablestotheRepositoryView.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 10/250

    9. TheConnectionPooldialogboxappears.AcceptthedefaultsandclickOK.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 11/250

    10. TheImportingmessageappears.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 12/250

    11. Whenimportiscomplete,expandBISAMPLEintheRepositoryViewandverifythatthefivetablesarevisible.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 13/250

    12. ClickFinishtoopentherepository.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 14/250

    13. Expandorcl>BISAMPLEandconfirmthatthefivetablesareimportedintothePhysicallayeroftherepository.

    VerifyingConnection

    1. SelectTools>UpdateAllRowCounts.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 15/250

    2. Whenupdaterowcountscompletes,movethecursoroverthetablesandobservethatrowcountinformationisnowvisible,includingwhentherowcountwaslastupdated.

    3. Expandtablesandobservethatrowcountinformationisalsovisibleforindividualcolumns.

    4. RightclickatableandselectViewDatatoviewthedataforthetable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 16/250

    5. ClosetheViewDatadialogboxwhenyouaredone.Itisagoodideatoupdaterowcountsorviewdataafteranimporttoverifyconnectivity.Viewingdataorupdatingrowcount,ifsuccessful,tellsyouthatyourconnectionisconfiguredcorrectly.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 17/250

    CreatingAliases

    1. ItisrecommendedthatyouusetablealiasesfrequentlyinthePhysicallayertoeliminateextraneousjoinsandtoincludebestpracticenamingconventionsforphysicaltablenames.RightclickSAMP_TIME_DAY_DandselectNewObject>AliastoopenthePhysicalTabledialogbox.

    2. EnterD1TimeintheNamefield.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 18/250

    3. IntheDescriptionfield,enterTimeDimensionAliasatdaygrain.Storesonerecordforeachday.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 19/250

    4. ClicktheColumnstab.Notethataliastablesinheritallcolumndefinitionsfromthesourcetable.

    5. ClickOKtoclosethePhysicalTabledialogbox.

    6. Repeatthestepsandcreatethefollowingaliasesfortheremainingphysicaltables.

    SAMP_ADDRESSES_D=D4AddressSAMP_CUSTOMERS_D=D3CustomerSAMP_PRODUCTS_D=D2ProductSAMP_REVENUE_F=F1Revenue

    CreatingKeysandJoins

    1. SelectthefivealiastablesinthePhysicallayer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 20/250

    2. RightclickoneofthehighlightedaliastablesandselectPhysicalDiagram>SelectedObject(s)OnlytoopenthePhysicalDiagram.Alternatively,youcanclickthePhysicalDiagrambuttononthetoolbar.

    3. Rearrangethealiastableobjectssotheyareallvisible.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 21/250

    4. YoumaywanttoadjusttheobjectsinthePhysicalDiagram.Ifso,usethetoolbarbuttonstozoomin,zoomout,fitthediagram,collapseorexpandobjects,selectobjects,andsoforth:

    5. ClicktheNewJoinbuttononthetoolbar.

    6. ClicktheF1RevenuetableandthentheD1Timetable.ThePhysicalForeignKeydialogboxopens.Itmatterswhichtableyouclickfirst.Thejoincreatesaonetomany(1:N)relationshipthatjoinsthekeycolumninthefirsttabletoaforeignkeycolumninthesecondtable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 22/250

    7. SelecttheD1Time.CALENDAR_DATEcolumn,andthenselectF1Revenue.BILL_DAY_DTtojointhetables.EnsurethattheExpressioneditbox(atthebottom)containsthefollowingexpression:

    "orcl".""."BISAMPLE"."D1Time"."CALENDAR_DATE"="orcl".""."BISAMPLE"."F1Revenue"."BILL_DAY_DT"

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 23/250

    8. ClickOKtoclosethePhysicalForeignKeydialogbox.ThejoinisvisibleinthePhysicalDiagram.

    PleasebeawareofthefollowingupgradeconsiderationsforOracleBIEE11gRelease1(11.1.1.5):JoinsinthePhysicalandBusinessModeldiagramsarenowrepresentedbyalinewithanarrowatthe"one"endofthejoin,ratherthanthelinewithcrowsfeetatthe"many"endofthejointhatwasusedinpreviousreleases.WhencreatingjoinsinthePhysicalandBusinessModelDiagrams,younowselectthe"many"endofthejoinfirst,andthenselectthe"one"endofthejoin.Inpreviousreleases,joinsinthediagramswerecreatedbyselectingthe"one"endofthejoinfirst.

    9. Repeatthestepstocreatejoinsfortheremainingtables.Usethefollowingexpressionsasaguide.PleasenoticethatD4AddressjoinstoD3Customer.

    "orcl".""."BISAMPLE"."D2Product"."PROD_KEY"="orcl".""."BISAMPLE"."F1Revenue"."PROD_KEY"

    "orcl".""."BISAMPLE"."D3Customer"."CUST_KEY"="orcl".""."BISAMPLE"."F1Revenue"."CUST_KEY"

    "orcl".""."BISAMPLE"."D4Address"."ADDRESS_KEY"="orcl".""."BISAMPLE"."D3Customer"."ADDRESS_KEY"

    10. ClicktheAutoLayoutbuttononthetoolbar.

    11. Yourdiagramshouldlooksimilartothescreenshot:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 24/250

    12. ClicktheXintheupperrightcornertoclosethePhysicalDiagram.

    13. SelectFile>SaveorclicktheSavebuttononthetoolbartosavetherepository.

    14. ClickNowhenpromptedtocheckglobalconsistency.SomeofthemorecommonchecksaredoneintheBusinessModelandMappinglayerandPresentationlayer.Sincetheselayersarenotdefinedyet,bypassthischeckuntiltheotherlayersintherepositoryarebuilt.Youlearnmoreaboutconsistencychecklaterinthistutorial.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 25/250

    15. LeavetheAdministrationToolandtherepositoryopenforthenexttopic.

    Congratulations!Youhavesuccessfullycreatedanewrepository,importedatableschemafromanexternaldatasourceintothePhysicallayer,createdaliases,anddefinedkeysandjoins.

    InthenexttopicyoulearnhowtobuildtheBusinessModelandMappinglayerofarepository.

    InthistopicyouusetheOracleBIAdministrationTooltobuildtheBusinessModelandMappinglayerofarepository.

    TheBusinessModelandMappinglayeroftheAdministrationTooldefinesthebusiness,orlogicalmodelofthedataandspecifiesthemappingsbetweenthebusinessmodelandthePhysicallayerschemas.Thislayeriswherethephysicalschemasaresimplifiedtoformthebasisfortheusersviewofthedata.TheBusinessModelandMappinglayeroftheAdministrationToolcancontainoneormorebusinessmodelobjects.Abusinessmodelobjectcontainsthebusinessmodeldefinitionsandthemappingsfromlogicaltophysicaltablesforthebusinessmodel.

    Themainpurposeofthebusinessmodelistocapturehowusersthinkabouttheirbusinessusingtheirownvocabulary.Thebusinessmodelsimplifiesthephysicalschemaandmapstheusersbusinessvocabularytophysicalsources.Mostofthevocabularytranslatesintologicalcolumnsinthebusinessmodel.Collectionsoflogicalcolumnsformlogicaltables.Eachlogicalcolumn(andhenceeachlogicaltable)canhaveoneormorephysicalobjectsassources.

    Therearetwomaincategoriesoflogicaltables:factanddimension.Logicalfacttablescontainthemeasuresbywhichanorganizationgaugesitsbusinessoperationsandperformance.Logicaldimensiontablescontainthedatausedtoqualifythefacts.

    TobuildtheBusinessModelandMappinglayerofarepository,youperformthefollowingsteps:

    CreatingaBusinessModel

    ExaminingLogicalJoins

    ExaminingLogicalColumns

    ExaminingLogicalTableSources

    RenamingLogicalObjectsManually

    RenamingLogicalObjectsUsingtheRenameWizard

    DeletingUnnecessaryLogicalObjects

    CreatingSimpleMeasures

    CreatingaBusinessModel

    1. RightclickthewhitespaceintheBusinessModelandMappinglayerandselectNewBusinessModeltoopentheBusinessModeldialogbox.

    2. EnterSampleSalesintheNamefield.LeaveDisabledchecked.

    BuildingtheBusinessModelandMappingLayerofaRepository

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 26/250

    2. EnterSampleSalesintheNamefield.LeaveDisabledchecked.

    3. ClickOK.TheSampleSalesbusinessmodelisaddedtotheBusinessModelandMappinglayer.

    4. InthePhysicallayer,selectthefollowingfouraliastables:

    D1TimeD2ProductD3CustomerF1Revenue

    DonotselectD4Addressatthistime.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 27/250

    5. DragthefouraliastablefromthePhysicallayertotheSampleSalesbusinessmodelintheBusinessModelandMappinglayer.ThetablesareaddedtotheSampleSalesbusinessmodel.Noticethatthethreedimensiontableshavethesameicon,whereastheF1Revenuetablehasaniconwitha#sign,indicatingitisafacttable.

    ExaminingLogicalJoins

    1. RightclicktheSampleSalesbusinessmodelandselectBusinessModelDiagram>WholeDiagramtoopentheBusinessModelDiagram.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 28/250

    2. Ifnecessary,rearrangetheobjectssothatthejoinrelationshipsarevisible.

    BecauseyoudraggedalltablessimultaneouslyfromthePhysicallayerontothebusinessmodel,thelogicalkeysandjoinsarecreatedautomaticallyinthebusinessmodel.ThisisbecausethekeysandjoinrelationshipswerealreadycreatedinthePhysicallayer.However,youtypicallydonotdragallphysicaltablessimultaneously,exceptinverysimplemodels.Laterinthistutorial,youlearnhowtomanuallybuildlogicalkeysandjoinsintheBusinessModelandMappinglayer.TheprocessisverysimilartobuildingjoinsinthePhysicallayer.

    3. DoubleclickanyoneofthejoinsinthediagramtoopentheLogicalJoindialogbox.InthisexamplethejoinbetweenD1TimeandF1Revenueisselected.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 29/250

    Noticethatthereisnojoinexpression.JoinsintheBMMlayerarelogicaljoins.Logicaljoinsexpressthecardinalityrelationshipsbetweenlogicaltablesandarearequirementforavalidbusinessmodel.SpecifyingthelogicaltablejoinsisrequiredsothatOracleBIServerhasnecessarymetadatatotranslatelogicalrequestsagainstthebusinessmodelintoSQLqueriesagainstthephysicaldatasources.LogicaljoinshelpOracleBIServerunderstandtherelationshipsbetweenthevariouspiecesofthebusinessmodel.WhenaqueryissenttoOracleBIServer,theserverdetermineshowtoconstructphysicalqueriesbyexamininghowthelogicalmodelisstructured.Examininglogicaljoinsisanintegralpartofthisprocess.TheAdministrationToolconsidersatabletobealogicalfacttableifitisatthemanyendofalllogicaljoinsthatconnectittootherlogicaltables.

    4. ClickOKtoclosetheLogicalJoindialogbox.

    5. ClicktheXtoclosetheBusinessModelDiagram.

    ExaminingLogicalColumns

    1. ExpandtheD1Timelogicaltable.NoticethatlogicalcolumnswerecreatedautomaticallyforeachtablewhenyoudraggedthealiastablesfromthePhysicallayertotheBMMlayer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 30/250

    ExaminingLogicalTableSources

    1. ExpandtheSourcesfolderfortheD1Timelogicaltable.Noticethereisalogicaltablesource,D1Time.ThislogicaltablesourcemapstotheD1TimealiastableinthePhysicallayer.

    2. DoubleclicktheD1Timelogicaltablesource(notthelogicaltable)toopentheLogicalTableSourcedialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 31/250

    3. OntheGeneraltab,renametheD1TimelogicaltablesourcetoLTS1Time.Noticethatthelogicaltabletophysicaltablemappingisdefinedinthe"Maptothesetables"section.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 32/250

    4. OntheColumnMappingtab,noticethatlogicalcolumntophysicalcolumnmappingsaredefined.Ifmappingsarenotvisible,selectShowmappedcolumns.

    5. YoulearnmoreabouttheContentandParentChildSettingstabslaterinthistutorialwhenyoubuildlogicaldimensionhierarchies.ClickOKtoclosetheLogicalTableSourcedialogbox.Ifdesired,explorelogicaltablesourcesfortheremaininglogicaltables.

    RenamingLogicalObjectsManually

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 33/250

    1. ExpandtheD1Timelogicaltable.

    2. Clickonthefirstlogicalcolumn,BEG_OF_MONTH_WID,tohighlightit.

    3. ClickonBEG_OF_MONTH_WIDagaintomakeiteditable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 34/250

    4. RenameBEG_OF_MONTH_WIDtoBegofMthWid.Thisisthemanualmethodforrenamingobjects.YoucanalsorenameanobjectandselectRenametomanuallyrenameanobject.

    RenamingObjectsUsingtheRenameWizard

    1. SelectTools>Utilities>RenameWizard>ExecutetoopentheRenameWizard.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 35/250

    2. IntheSelectObjectsscreen,clickBusinessModelandMappinginthemiddlepane.

    3. ExpandtheSampleSalesbusinessmodel.

    4. ExpandtheD1Timelogicaltable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 36/250

    5. UseShift+Clicktoselectallofthelogicalcolumnsexceptforthecolumnyoualreadyrenamed,BegofMthWid.

    6. ClickAddtoaddthecolumnstotherightpane.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 37/250

    7. RepeatthestepsforthethreeremaininglogicaltablessothatalllogicalcolumnsfromtheSampleSalesbusinessmodelareaddedtotherightpane.OnlythecolumnsfromF1Revenueareshowninthescreenshot.

    8. ClickNexttomovetotheSelectTypesscreen.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 38/250

    NoticethatLogicalColumnisselected.Ifyouhadselectedotherobjecttypes,suchaslogicaltables,thetypewouldhaveappearedhere.

    9. ClickNexttoopentheSelectRulesscreen.

    10. IntheSelectRulesscreen,selectAlltextlowercaseandclickAddtoaddtheruletothelowerpane.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 39/250

    11. AddtheruleChangeeachoccurrenceof'_'intoaspace.

    12. AddtheruleFirstletterofeachwordcapital.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 40/250

    13. ClickNexttoopentheFinishscreen.Verifythatalllogicalcolumnswillbenamedaccordingtotherenamerulesyouselected.

    14. ClickFinish.

    15. IntheBusinessModelandMappinglayer,expandthelogicaltablesandconfirmthatalllogicalcolumnshavebeenrenamedasexpected.ThescreenshotshowsonlythecolumnsinD1Time.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 41/250

    16. InthePhysicallayer,expandthealiastablesandconfirmthatallphysicalcolumnshavenotbeenrenamed.ThepointhereisyoucanchangeobjectnamesintheBMMlayerwithoutimpactingobjectnamesinthePhysicallayer.Whenlogicalobjectsarerenamed,therelationshipsbetweenlogicalobjectsandphysicalobjectsaremaintainedbythelogicalcolumntophysicalcolumnmappings.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 42/250

    DeletingUnnecessaryLogicalObjects

    1. IntheBMMlayer,expandSampleSales>F1Revenue.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 43/250

    2. UseCtrl+ClicktoselectallF1RevenuelogicalcolumnsexceptforRevenueandUnits.

    3. RightclickanyoneofthehighlightedlogicalcolumnsandselectDelete.AlternativelyyoucanselectEdit>DeleteorpresstheDeletekeyonyourkeyboard.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 44/250

    keyonyourkeyboard.

    4. ClickYestoconfirmthedelete.

    5. ConfirmthatF1RevenuecontainsonlytheRevenueandUnitscolumns.

    CreatingSimpleMeasures

    1. DoubleclicktheRevenuelogicalcolumntoopentheLogicalColumndialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 45/250

    2. ClicktheAggregationtab.

    3. ChangethedefaultaggregationruletoSum.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 46/250

    4. ClickOKtoclosetheLogicalColumndialogbox.NoticethattheiconhaschangedfortheRevenuelogicalcolumnindicatingthatanaggregationrulehasbeenapplied.

    5. RepeatthestepstodefinetheSUMaggregationrulefortheUnitslogicalcolumn.

    Measuresaretypicallydatathatisadditive,suchastotaldollarsortotalquantities.TheF1Revenuelogicalfacttablecontainsthemeasuresinyourbusinessmodel.Youaggregatedtwologicalcolumnsbysummingthecolumndata.

    6. Savetherepositorywithoutcheckingglobalconsistency.

    Congratulations!YouhavesuccessfullybuiltabusinessmodelintheBusinessModelandMappinglayerofarepositoryandcreatedbusinessmeasures.

    BuildingthePresentationLayerofaRepository

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 47/250

    YouhavecreatedtheinitialSampleSalesbusinessmodelintherepository.YounowcreatethePresentationlayeroftherepository.ThePresentationlayerexposesthebusinessmodelobjectsinOracleBIuserinterfacessothatuserscanbuildanalysesanddashboardstoanalyzetheirdata.

    TobuildthePresentationlayeryouperformthefollowingsteps:

    CreatingaSubjectAreaCreatingPresentationTablesCreatingPresentationColumnsRenamingPresentationColumnsReorderingPresentationColumns

    CreatingaSubjectArea

    1. RightclickthewhitespaceinthePresentationlayerandselectNewSubjectAreatoopentheSubjectAreadialogbox.

    2. OntheGeneraltab,enterSampleSalesasthenameofthesubjectarea.

    BuildingthePresentationLayerofaRepository

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 48/250

    3. ClickOKtoclosetheSubjectAreadialogbox.TheSampleSalessubjectareaisaddedtothePresentationlayer.

    CreatingPresentationTables

    1. RightclicktheSampleSalessubjectareaandselectNewPresentationTabletoopenthePresentationTabledialogbox.

    2. OntheGeneraltab,enterTimeasthenameofthepresentationtable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 49/250

    3. ClickOKtoclosethePresentationTabledialogbox.TheTimepresentationtableisaddedtotheSampleSalessubjectarea.

    4. Repeattheprocessandaddthreemorepresentationtables:Products,Customers,andBaseFacts.

    PleasenotethatyouareusingthemanualmethodforcreatingPresentationlayerobjects.ForsimplemodelsitisalsopossibletodragobjectsfromtheBMMlayertothePresentationlayertocreatethePresentationlayerobjects.WhenyoucreatepresentationobjectsbydraggingfromtheBMMlayer,thebusinessmodelbecomesasubjectarea,thelogicaltablesbecomepresentationtables,andthelogicalcolumnsbecomepresentationcolumns.Notethatallobjectswithinasubjectareamustderivefromasinglebusinessmodel.

    CreatingPresentationColumns

    1. IntheBMMlayer,expandtheD1Timelogicaltable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 50/250

    2. UseCtrl+Clicktoselectthefollowinglogicalcolumns:

    CalendarDatePerNameHalfPerNameMonthPerNameQtrPerNameWeekPerNameYear.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 51/250

    3. DragtheselectedlogicalcolumnstotheTimepresentationtableinthePresentationlayer.

    4. Repeattheprocessandaddthefollowinglogicalcolumnstotheremainingpresentationtables:

    Products:DragBrand,Lob,ProdDsc,TypefromD2Product.Customers:DragCustKey,NamefromD3Customer.BaseFacts:DragRevenue,UnitsfromF1Revenue.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 52/250

    RenamingPresentationColumns

    1. InthePresentationlayer,expandtheProductspresentationtable.

    2. DoubleclicktheLobpresentationcolumntoopenthePresentationColumndialogbox.OntheGeneraltabnoticethat"UseLogicalColumnName"isselected.Whenyoudragalogicalcolumntoapresentationtable,theresultingpresentationcolumninheritsthelogicalcolumnnamebydefault.InthisexampletheLobpresentationcolumninheritsthenameofthelogicalcolumn"SampleSales"."D2Product"."Lob".

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 53/250

    3. DeselectUseLogicalColumnName.TheNamefieldisnoweditable.

    4. EnterLineofBusinessintheNamefield.

    5. ClickOKtoclosethePresentationColumndialogbox.NoticethatthepresentationcolumnnameisnowchangedtoLineofBusinessinthePresentationlayer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 54/250

    6. IntheBMMlayer,expandD2Product.NoticethattheLoblogicalcolumnnameisnotchanged.ThepointhereisyoucanchangeobjectnamesinthePresentationlayerwithoutimpactingobjectnamesintheBMMorPhysicallayers.

    7. IntheBMMlayer,renametheProdDsclogicalcolumntoProduct.Noticethatthenamechangeisinheritedbythecorrespondingpresentationcolumn.

    8. MakethefollowingnamechangestologicalobjectsintheBMMlayersothatthenamesofthecorrespondingpresentationcolumnsarealsochanged:

    FortheD3Customerlogicaltable:

    ChangeCustKeytoCustomerNumber.ChangeNametoCustomerName.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 55/250

    9. Confirmthatthecorrespondingpresentationcolumnnamesarechanged.

    ReorderingPresentationColumns

    1. InthePresentationlayer,doubleclicktheTimepresentationtabletoopenthePresentationTabledialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 56/250

    2. ClicktheColumnstab.

    3. Selectcolumnsandusetheupanddownarrows,ordragthecolumns.torearrangethepresentationcolumnsintothefollowingorderfromtoptobottom:

    PerNameYearPerNameHalfPerNameQtrPerNameMonthPerNameWeekCalendarDate

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 57/250

    4. ClickOKtoclosethePresentationTabledialogboxandconfirmthatthepresentationcolumnorderischangedinthePresentationlayer.

    5. RepeatthestepstoreorderthecolumnsintheProductspresentationtable:

    BrandLineofBusinessTypeProduct

    6. Savetherepositorywithoutcheckingglobalconsistency.

    Congratulations!YouhavesuccessfullybuiltthePresentationlayerofarepository.

    TestingandValidatingaRepository

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 58/250

    Youhavefinishedbuildinganinitialbusinessmodelandnowneedtotestandvalidatetherepositorybeforecontinuing.Youbeginbycheckingtherepositoryforerrorsusingtheconsistencycheckingoption.NextyouloadtherepositoryintoOracleBIServermemory.YouthentesttherepositorybyrunninganOracleBIanalysisandverifyingtheresults.Finally,youexaminethequerylogfiletoobservetheSQLgeneratedbyOracleBIServer.

    Totestandvalidatearepositoryyouperformthefollowingsteps:

    CheckingConsistency

    DisablingCache

    LoadingtheRepository

    SettingUpQueryLog

    CreatingandRunningAnalysis

    CheckingtheQueryLog

    CheckingConsistency

    1. SelectFile>CheckGlobalConsistency.

    2. YoushouldreceivethemessageBusinessmodel"SampleSales"isconsistent.Doyouwanttomarkitasavailableforqueries?

    3. ClickYes.Youshouldreceivethemessage:Consistencycheckfixedcertainobject(s)therearenoerrors,warningsorbestpracticeviolationslefttoreport.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 59/250

    Ifyoudonotreceivethismessage,youmustfixanyconsistencycheckerrorsorwarningsbeforeproceeding.

    4. ClickOK.NoticethattheSampleSalesbusinessmodeliconintheBMMlayerisnowgreen,indicatingitisavailableforqueries.

    5. Savetherepositorywithoutcheckingglobalconsistencyagain.

    6. SelectFile>Closetoclosetherepository.LeavetheAdministrationToolopen.

    DisablingCache

    1. OpenabrowserandenterthefollowingURLtonavigatetoOracleEnterpriseManager:

    http://:7001/em

    InthistutorialtheURLishttp://localhost:7001/em

    2. Loginasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

    3. Intheleftnavigationpane,expandBusinessIntelligenceandclickcoreapplication.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 60/250

    4. ClicktheCapacityManagementtab.

    5. ClickthePerformancesubtab.

    6. LocatetheEnableBIServerCachesection.Cacheisenabledbydefault.

    7. ClickLockandEditConfiguration.

    8. ClickClosewhenyoureceivetheconfirmationmessage"LockandEditConfigurationCompletedSuccessfully."

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 61/250

    9. DeselectCacheenabled.Cachingistypicallynotusedduringdevelopment.Disablingcacheimprovesqueryperformance.

    10. ClickApply.

    11. ClickActivateChanges.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 62/250

    12. ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

    LoadingtheRepository

    1. Intherightpane,clicktheDeploymenttab.

    2. ClicktheRepositorysubtab.

    3. ClickLockandEditConfiguration.

    4. ClickClosewhenyoureceivetheconfirmationmessage"LockandEditConfigurationCompletedSuccessfully."

    5. Inthe"UploadBIServerRepository"section,clickBrowsetoopentheChoosefiledialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 63/250

    6. Bydefault,theChoosefiledialogboxshouldopentotherepositorydirectory.Ifnot,navigatetotherepositorydirectorywiththeBISAMPLErepository.Ifnot,browsetoD:\bi\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository.

    7. SelecttheBISAMPLE.rpdfileandclickOpen.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 64/250

    8. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.

    9. ClickApply.

    10. IntheBIServerRepositorysection,confirmthattheDefaultRPDisnowBISAMPLEwithanextension.InthisexamplethefilenameisBISAMPLE_BI0079.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 65/250

    11. ClickActivateChanges.

    12. AllowActiveChangesprocessingtocomplete.ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 66/250

    13. OntheAvailability>Processespage,selectBIServers,andclickRestartSelected.

    14. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartselectedcomponents?

    15. AllowtheRestartSelectedInProgressprocessingtocomplete.Thismaytakeafewmoments.

    16. ClickClosewhenyoureceivetheconfirmationmessageRestartSelectedCompletedSuccessfully".

    17. Confirmthatallcomponentsarerunning.OracleBIcacheisnowdisabledandtheBISAMPLErepositoryisloadedintoBIServer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 67/250

    18. LeaveOracleEnterpriseManageropen.

    SettingUpQueryLog

    1. ReturntotheAdministrationTool,whichshouldstillbeopen.

    2. SelectFile>Open>Onlinetoopentherepositoryinonlinemode.YouuseonlinemodetoviewandmodifyarepositorywhileitisloadedintotheOracleBIServer.TheOracleBIServermustberunningtoopenarepositoryinonlinemode.

    3. EnterBISAMPLE1astherepositorypasswordandenteryouradministrativeusernameandpassword.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 68/250

    4. ClickOpentoopentherepositoryinonlinemode.

    5. SelectManage>IdentitytoopenIdentityManager.

    6. Intheleftpane,selectBIRepository.

    7. SelectAction>SetOnlineUserFilter.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 69/250

    8. EnteranasteriskandclickOKtofetchusersfromtheidentitystore.

    9. Intherightpane,doubleclickyouradministrativeusertoopentheUserdialogbox.Inthisexampletheadministrativeuserisweblogic.

    10. IntheUserdialogbox,ontheUsertab,setLogginglevelto2.

    11. ClickOKtoopentheCheckOutObjectsdialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 70/250

    11. ClickOKtoopentheCheckOutObjectsdialogbox.

    12. IntheCheckOutObjectsdialogbox,clickCheckOut.Whenyouareworkinginarepositoryopeninonlinemode,youarepromptedtocheckoutobjectswhenyouattempttoperformvariousoperations.

    13. SelectAction>ClosetocloseIdentityManager.

    14. SelectFile>CheckInChanges.Alternatively,youcanclicktheCheckInChangesicononthetoolbar.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 71/250

    15. Savetherepository.Thereisnoneedtocheckconsistency.

    16. SelectFile>CopyAstosaveacopyoftheonlinerepositorywiththesecuritychanges.

    17. IntheSaveCopyAsdialogbox,savethefileasBISAMPLE.rpd,replacingtheexistingBISAMPLErepository.

    18. ClickYeswhenaskedifyouwanttoreplacetheexistingBISAMPLErepository.ThiswillcreateanewBISAMPLErepositorywithqueryloggingsetfortheweblogicuser.

    19. SelectFile>Closetoclosetherepository.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 72/250

    20. ClickOKwhenyoureceivethefollowingmessage:

    "Inorderforyouronlinechangestotakeeffect,youwillhavetomanuallyrestarteachnonmasterOracleBIServerinstanceinthecluster."

    21. LeavetheAdministrationToolopen.

    CreatingandRunningAnalysis

    1. OpenabrowseroranewbrowsertabandenterthefollowingURLtonavigatetoOracleBusinessIntelligence:

    http://:7001/analytics

    InthistutorialtheURLishttp://localhost:7001/analytics

    2. Signinasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.Ifyouneedhelpidentifyingausernameandpassword,contactyourcompany'sOracleBIAdministrator.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 73/250

    3. Intheleftnavigationpane,underCreate...>AnalysisandInteractiveReporting,selectAnalysis.

    4. SelecttheSampleSalessubjectarea.

    5. SelectReloadServerMetadata.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 74/250

    6. Intheleftnavigationpane,expandthefoldersintheSampleSalessubjectareaandconfirmthattheuserinterfacematchesthePresentationlayeroftherepository.

    7. DoubleclickthefollowingcolumnnamesintheSubjectAreaspanetoaddthemtotheanalysis:

    Time.PerNameYearProducts.TypeBaseFacts.Revenue

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 75/250

    8. ClickResults.

    9. Theanalysisresultsaredisplayedinacompoundlayout,whichincludesaTitleviewandaTableview.

    10. Usescrollbarsliderofthecompoundlayouttoviewadditionalrows.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 76/250

    10. Usescrollbarsliderofthecompoundlayouttoviewadditionalrows.

    CheckingtheQueryLog

    1. ClickAdministration.

    2. ClickLeavePagewhenpromptedwiththemessage:Areyousure?

    3. OntheAdministrationpage,underSessionManagement,selectManageSessions.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 77/250

    4. IntheCursorCachesection,locateyourqueryandselectViewLog.

    5. Yourlogentryshouldlooksimilartothescreenshot.

    6. LocatetheSQLRequestsection.ThissectioncontainsthelogicalSQLissuedbythequery.

    7. JustbelowtheSQLRequestsectionistheGeneralQueryInfosection.Thissectionidentifiestherepository,subjectarea,andpresentationcatalogfromwhichthequerywasrun.YouwillneedtoscrollrighttoseetheGeneralQueryInfotext.

    8. ClickthebrowserbackbuttontoreturntotheManageSessionpage.

    9. ClickthebrowserbackbuttontoreturntotheAdministrationscreen.

    10. ClickHometoreturntotheHomepage.

    11. SignoutofOracleBI.ClickLeavePagewhenpromptedaboutnavigatingawayfromthispage.LeavetheOracleBIbrowserpageopen.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 78/250

    InthissetofstepsyoucreatemultiplelogicaltablesourcesfortheD3Customerlogicaltable.Tocreatemultiplelogicaltablesourcesyouperformthefollowingsteps:

    OpeningtheRepositoryinOfflineMode

    AddingaNewLogicalTableSource

    CreatingPresentationLayerObjects

    LoadingtheRepository

    CreatingandRunninganAnalysis

    CheckingtheQueryLog

    OpeningtheRepositoryinOfflineMode

    1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusinessIntelligence>BIAdministration.

    2. OpentheBISAMPLErepositoryinofflinemodewithrepositorypasswordasBISAMPLE1.RecallthatearlierinthistutorialyoucreatedacopyoftheonlinerepositoryandsaveditasBISAMPLE.rpd.

    3. SelectManage>IdentitytoopenIdentityManager.

    4. SelectBIRepositoryintheleftpane.

    5. Recallthatearlierinthistutorialyoucreatedacopyoftheonlinerepositorywithloggingleveldefinedfortheadministrativeuser.Confirmthatyouradministrativeuserisvisibleintherightpane.Inthisexampletheadministrativeuserisweblogic.

    ManagingLogicalTableSources

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 79/250

    6. DoubleclicktheadministrativeusertoopentheUserdialogbox.OntheUsertab,confirmthatlogginglevelissetto2.

    7. ClickCanceltoclosetheUserdialogbox.

    8. SelectAction>ClosetocloseIdentityManager.TheofflineBISAMPLErepositorynowhasauserwithalogginglevelsetto2.Thiswillallowyoutocheckthequerylogasyoucompletetheremainingexercisesinthistutorial.Youwillnothavetorepeatthestepsofcopyinganonlinerepository.

    AddingaNewLogicalTableSource

    1. IntheBMMlayer,expandSampleSales>D3Customer>Sources.NoticethattheD3CustomerlogicaltablehasonelogicaltablesourcenamedD3Customer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 80/250

    2. RenametheD3Customerlogicaltablesource(notthelogicaltable)toLTS1Customer.

    3. DoubleclickLTS1CustomertoopentheLogicalTableSourcedialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 81/250

    4. ClicktheColumnMappingtabandnoticethatalllogicalcolumnsmaptophysicalcolumnsinthesamephysicaltable:D3Customer.ItmaybenecessarytoscrolltotherighttoseethePhysicalTablecolumn.Makesure"Showmappedcolumns"isselected.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 82/250

    5. ClickOKtoclosetheLogicalTableSourcedialogbox.

    6. InthePhysicallayer,expandorcl>BISAMPLE.

    7. DragD4AddressfromthePhysicallayertotheD3CustomerlogicaltableintheBMMlayer.NoticethiscreatesanewlogicaltablesourcenamedD4AddressfortheD3Customerlogicaltable.ItalsocreatesnewlogicalcolumnsthatmaptotheD4Addressphysicaltable.

    8. IntheBMMlayer,doubleclickthenewD4AddresslogicaltablesourcetoopentheLogicalTableSourcedialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 83/250

    9. OntheGeneraltab,enterLTS2CustomerAddressintheNamefield.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 84/250

    10. ClicktheColumnMappingtabandnoticethatalllogicalcolumnsmaptophysicalcolumnsinthesamephysicaltable:D4Address.Ifnecessary,selectShowmappedcolumnsanddeselectShowunmappedcolumns.

    11. ClickOKtoclosetheLogicalTableSourcedialogbox.

    12. ConfirmthattheD3Customerlogicaltablenowhastwologicaltablesources:LTS1CustomerandLTS2CustomerAddress.A

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 85/250

    12. ConfirmthattheD3Customerlogicaltablenowhastwologicaltablesources:LTS1CustomerandLTS2CustomerAddress.Asinglelogicaltablenowmapstotwophysicalsources.

    13. RightclickthenewADDRESS_KEYcolumnandselectDelete.Thisisaduplicatecolumnandisnotneeded.

    14. ClickYestoconfirmthedelete.

    15. UsetheRenameWizardoramanualrenamingtechniquetorenamethenewaddresslogicalcolumns(withuppercaseletters)inD3Customer.Yourresultsshouldlooksimilartothescreenshot.Hint:TousetheRenameWizard,selectallofthenewlogicalcolumns,thenrightclickanyoneofthehighlightedcolumnsandselectRenameWizardtolaunchthewizard.IfyouneedhelpusingtheRenameWizard,refertoRenamingObjectsUsingtheRenameWizardsectionfromearlierinthistutorial.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 86/250

    16. Renametheremaininglogicaltablesourcesaccordingtothefollowingtable.RecallthatlogicaltablesourcesarelocatedintheSourcesfolderforalogicaltable.Forexample:D2Product>Sources.

    LogicalTableSource Rename

    D2Product LTS1ProductF1Revenue LTS1Revenue

    Yourresultsshouldlooksimilartothescreenshot.

    CreatingPresentationLayerObjects

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 87/250

    1. InthePresentationlayer,rightclicktheSampleSalessubjectareaandselectNewPresentationTabletoopenthePresentationTabledialogbox.

    2. OntheGeneraltab,enterCustomerRegionsintheNamefield.

    3. ClickOKtoclosethePresentationTabledialogbox.ConfirmthattheCustomerRegionspresentationtableisaddedtotheSampleSalessubjectareainthePresentationlayer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 88/250

    4. IntheBMMlayer,expandSampleSales>D3Customer.

    5. DragthefollowinglogicalcolumnsfromD3CustomertoCustomerRegionsinthePresentationlayer:

    Address1Address2AreaCityCountryNameEstabNamePostalCodeRegionStateProvinceStateProvinceAbbrv

    Yourcolumnnamesmaybeslightlydifferentdependingonhowyourenamedthem.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 89/250

    6. ReordertheCustomerRegionspresentationcolumnsinthefollowingorder,fromtoptobottom:

    RegionAreaCountryNameStateProvinceStateProvinceAbbrvCityPostalCodeAddress1Address2EstabName

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 90/250

    7. DoubleclicktheSampleSalessubjectareainthePresentationlayertoopentheSubjectAreadialogbox.

    8. ClickthePresentationTablestab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 91/250

    9. ReorderthepresentationtablessothatCustomerRegionsappearsafterCustomers.

    10. ClickOKtoclosetheSubjectAreadialogbox.Confirmthatthepresentationtablesappearintheexpectedorder.

    Younowhavetwopresentationtables,CustomersandCustomerRegions,mappedtothesamelogicaltable,D3Customer.TheD3Customerlogicaltableismappedtotwophysicalsources:D3CustomerandD4Address.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 92/250

    D3Customerlogicaltableismappedtotwophysicalsources:D3CustomerandD4Address.

    11. Savetherepositoryandcheckglobalconsistencywhenprompted.Youshouldreceiveamessagethattherearenoerrors,warnings,orbestpracticeviolationstoreport.

    Ifyoudoreceiveanyconsistencycheckerrorsorwarnings,fixthembeforeproceeding.

    12. ClickOKtoclosetheconsistencycheckmessage.

    13. Closetherepository.LeavetheAdministrationToolopen.

    LoadingtheRepository

    1. ReturntoOracleEnterpriseManager,whichshouldstillbeopen.Ifnot,openabrowserandenterthefollowingURLtonavigatetoOracleEnterpriseManager:

    http:///:7001/em

    InthistutorialtheURLishttp://localhost:7001/em

    2. Ifnecessary,loginasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

    3. Intheleftnavigationpane,expandBusinessIntelligenceandclickoncoreapplication.

    4. ClicktheDeploymenttab.

    5. ClicktheRepositorysubtab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 93/250

    6. ClickLockandEditConfiguration.

    7. ClickClosewhenyoureceivetheconfirmationmessage"LockandEditConfigurationCompletedSuccessfully."

    8. Inthe"UploadBIServerRepository"section,clickBrowsetoopentheChoosefiledialogbox.

    9. Bydefault,theChoosefiledialogboxshouldopentotherepositorydirectory.Ifnot,navigatetotherepositorydirectorywiththeBISAMPLErepository.Ifnot,browsetoD:\bi\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 94/250

    10. SelecttheBISAMPLE.rpdfileandclickOpen.

    11. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 95/250

    12. ClickApply.

    13. IntheBIServerRepositorysection,confirmthattheDefaultRPDisnowBISAMPLEwithanextension.InthisexamplethefilenameisBISAMPLE_BI0080.

    14. ClickActivateChanges.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 96/250

    15. AllowActiveChangesprocessingtocomplete.ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

    16. OntheAvailability>Processespage,selectBIServers,andclickRestartSelected.

    17. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartselectedcomponents?

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 97/250

    18. AllowtheRestartSelectedInProgressprocessingtocomplete.Thismaytakeafewmoments.

    19. ClickClosewhenyoureceivetheconfirmationmessageRestartSelectedCompletedSuccessfully".

    20. Confirmthatallcomponentsarerunning.OracleBIcacheisnowdisabledandtheBISAMPLErepositoryisloadedintoBIServer.

    21. LeaveOracleEnterpriseManageropen.

    CreatingandRunninganAnalysis

    1. ReturntoOracleBI,whichshouldstillbeopen.Ifnot,openabrowserorbrowsertabandenterthefollowingURLtonavigatetoOracleBusinessIntelligence:

    http:///:7001/analytics

    InthistutorialtheURLishttp://localhost:7001/analytics.

    2. Ifyourprevioussessionhastimedout,signinasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 98/250

    3. Intheleftnavigationpane,underCreate...AnalysisandInteractiveReporting,selectAnalysis.

    4. SelecttheSampleSalessubjectarea.

    5. SelectReloadServerMetadata.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 99/250

    6. Intheleftnavigationpane,expandthefoldersandconfirmthattheCustomerRegionsfolderandcorrespondingcolumnsappear.

    7. CreatethefollowinganalysisbydoubleclickingcolumnnamesintheSubjectAreaspane:

    CustomerRegions.RegionCustomers.CustomerNameProducts.TypeBaseFacts.Revenue

    8. ClickResultstoviewtheanalysisresults.UsetheGetmorerowsbuttonatthebottomoftheresultsscreentoseemorerows.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 100/250

    CheckingtheQueryLog

    1. ClickAdministration.

    2. ClickLeavePagewhenpromptedwiththemessage:Areyousure?

    3. OntheAdministrationpage,underSessionManagement,selectManageSessions.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 101/250

    4. IntheCursorCachesection,locateyourqueryandselectViewLog.

    5. Yourlogentryshouldlooksimilartothescreenshot.

    6. LocatetheSQLRequestsection.ThissectioncontainsthelogicalSQLissuedbythequery.

    7. JustbelowtheSQLRequestsectionistheGeneralQueryInfosection.Thissectionidentifiestherepository,subjectarea,andpresentationcatalogfromwhichthequerywasrun.YouwillneedtoscrollrighttoseetheGeneralQueryInfotext.

    8. ClickthebrowserbackbuttontoreturntotheManageSessionpage.

    9. ClickthebrowserbackbuttontoreturntotheAdministrationscreen.

    10. ClickHometoreturntotheHomepage.

    11. SignoutofOracleBI.ClickLeavePagewhenpromptedaboutnavigatingawayfromthispage.LeavetheOracleBIbrowserpageopen.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 102/250

    Inthissetofstepsyouuseexistingmeasurestocreatedaderivedcalculationmeasure.Tocreateaderivedcalculationmeasureyouperformthefollowingsteps:

    OpeningtheRepositoryinOfflineMode

    CreatingaCalculationMeasureDerivedfromExistingColumns

    CreatingaCalculationMeasureUsingaFunction

    LoadingtheRepository

    CreatingandRunninganAnalysis

    CheckingtheQueryLog

    OpeningtheRepositoryinOfflineMode

    1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusinessIntelligence>BIAdministration.

    2. SelectFile>Open>Offline.

    3. SelectBISAMPLE.rpdandclickOpen.DonotselectanyBISAMPLErepositorywithanextension,forexample,BISAMPLE_BI0079.rpd.RecallthatthesearetherepositoriesthathavebeenloadedintoOracleBIServermemory.

    CreatingCalculationMeasures

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 103/250

    4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

    CreatingaCalculationMeasureDerivedfromExistingColumns

    1. IntheBMMlayer,expandSampleSales>F1Revenue.

    2. RightclickF1RevenueandselectNewObject>LogicalColumntoopentheLogicalColumndialogbox.

    3. OntheGeneraltab,enterActualUnitPriceintheNamefield.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 104/250

    4. ClicktheColumnSourcetab.

    5. SelectDerivedfromexistingcolumnsusinganexpression.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 105/250

    6. ClicktheEditExpressionbuttontoopenExpressionBuilder.

    7. IntheleftpaneselectLogicalTables>F1Revenue>Revenue.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 106/250

    8. ClicktheInsertselecteditembuttontomovetheRevenuecolumntotherightpane.

    9. Clickthedivisionoperatortoaddittotheexpression.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 107/250

    10. IntheleftpaneselectLogicalTables>F1RevenueandthendoubleclickUnitstoaddittotheexpression.

    11. ClickOKtocloseExpressionBuilder.NoticethattheformulaisaddedtotheLogicalColumndialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 108/250

    12. ClickOKtoclosetheLogicalColumndialogbox.TheActualUnitPricecalculatedmeasureisaddedtothebusinessmodel.

    13. DragActualUnitPricefromtheBMMlayertotheBaseFactspresentationtableinthePresentationlayer.

    14. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.

    CreatingaCalculationMeasureUsingaFunction

    1. IntheBMMlayer,rightclickF1RevenueandselectNewObject>LogicalColumntoopentheLogicalColumndialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 109/250

    2. OntheGeneraltab,enterRevenueRankintheNamefield.

    3. ClicktheColumnSourcetab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 110/250

    4. SelectDerivedfromexistingcolumnsusinganexpression.

    5. ClicktheEditExpressionbuttontoopenExpressionBuilder.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 111/250

    6. IntheleftpaneselectFunctions>Displayfunctions>Rank.

    7. ClicktheInsertselecteditembuttontomovetheRankfunctiontotherightpane.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 112/250

    8. Clickintheexpression.

    9. IntheleftpaneselectLogicalTables>F1RevenueandthendoubleclickRevenuetoaddittotheexpression.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 113/250

    10. ClickOKtocloseExpressionBuilder.NoticethattheformulaisaddedtotheLogicalColumndialogbox.

    11. ClickOKtoclosetheLogicalColumndialogbox.TheRevenueRankcalculatedmeasureisaddedtothebusinessmodel.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 114/250

    12. DragRevenueRankfromtheBMMlayertotheBaseFactspresentationtableinthePresentationlayer.

    13. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.

    14. Closetherepository.LeavetheAdminToolopen.

    LoadingtheRepository

    1. ReturntoOracleEnterpriseManager,whichshouldstillbeopen.Ifnot,openabrowserandenterthefollowingURLtonavigatetoOracleEnterpriseManager:

    http:///:7001/em

    InthistutorialtheURLishttp://localhost:7001/em

    2. Ifnecessary,loginasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

    3. Intheleftnavigationpane,expandBusinessIntelligenceandclickoncoreapplication.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 115/250

    4. ClicktheDeploymenttab.

    5. ClicktheRepositorysubtab.

    6. ClickLockandEditConfiguration.

    7. ClickClosewhenyoureceivetheconfirmationmessageLockandEditConfigurationCompletedSuccessfully.

    8. ClickBrowseandnavigatetothedirectorywiththeBISAMPLErepository.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 116/250

    9. Bydefault,theChoosefiledialogboxshouldopentotherepositorydirectory.Ifnot,browsetoD:\bi\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository

    10. SelecttheBISAMPLE.rpdfileandclickOpen.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 117/250

    11. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.

    12. ClickApply.

    13. ConfirmthatthedefaultRPDisnowBISAMPLEwithanextension.InthisexamplethefilenameisBISAMPLE_BI0081.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 118/250

    14. ClickActivateChanges.

    15. AllowActiveChangesprocessingtocomplete.ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 119/250

    16. OntheAvailability>Processespage,selectBIServers,andclickRestartSelected

    17. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartselectedcomponents?.

    18. AllowtheRestartSelectedInProgressprocessingtocomplete.Thismaytakeafewmoments.

    19. ClickClosewhenyoureceivetheconfirmationmessageRestartSelectedCompletedSuccessfully".

    20. Confirmthatallcomponentsarerunning.OracleBIcacheisnowdisabledandtheBISAMPLErepositoryisloadedintoBIServer.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 120/250

    21. LeaveOracleEnterpriseManageropen.

    CreatingandRunninganAnalysis

    1. ReturntoOracleBI,whichshouldstillbeopen.Ifnot,openabrowserorbrowsertabandenterthefollowingURLtonavigatetoOracleBusinessIntelligence:

    http:///:7001/analytics

    InthistutorialtheURLishttp://localhost:7001/analytics.

    2. Ifnecessary,loginasanadministrativeuser.TypicallyyouusetheadministrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

    3. Intheleftnavigationpane,underCreate...AnalysisandInteractiveReporting,selectAnalysis.Hint:Ifyoursessionhasnottimedout,youcancreateanewanalysisbyselectingNew>Analysis.

    4. SelecttheSampleSalessubjectarea.

    5. Intheleftnavigationpane,expandtheBaseFactsfolderandconfirmthattheActualUnitPriceandRevenueRankcolumnsarevisible.

    6. CreatethefollowinganalysisbydoubleclickingcolumnnamesintheSubjectAreaspane:

    Products.ProductBaseFacts.RevenueBaseFacts.RevenueRankBaseFacts.UnitsBaseFacts.ActualUnitPrice

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 121/250

    7. SortRevenueRankinascendingorder.

    8. ClickResultstoviewtheanalysisresults.

    PleasenotethattheActualUnitPricecalculationiscorrect,althoughitdoesnotmakesensefromabusinessperspective.Forexample,theunitpriceforanLCDHDTelevisionwouldnotbe9dollars.Thisisaresultoftheunderlyingsampledata.

    CheckingtheQueryLog

    1. ClicktheAdministrationlinkintheupperright.

    2. ClickLeavePagewhenyouareasked"Areyousure?"

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 122/250

    3. OntheAdministrationpage,underSessionManagement,selectManageSessions.

    4. IntheCursorCachesection,locateyourqueryandselectViewLog.

    5. Yourlogentryshouldlooksimilartothescreenshot.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 123/250

    NotethatthedivisionofRevenuebyUnitsiscalculatedintheouterqueryblock(D1.c2/nullif(D1.c1,0)asc3inthisexample).BecauseyoudefinedtheActualUnitPricecalculationusinglogicalcolumns,theSUMaggregationruleisappliedtotheRevenueandUnitscolumnsfirstandthenthedivisioniscalculated.

    6. LocatetheSQLRequestsection.ThissectioncontainsthelogicalSQLissuedbythequery.

    7. JustbelowtheSQLRequestsectionistheGeneralQueryInfosection.Thissectionidentifiestherepository,subjectarea,andpresentationcatalogfromwhichthequerywasrun.YouwillneedtoscrollrighttoseetheGeneralQueryInfotext.

    8. ClickthebrowserbackbuttontoreturntotheManageSessionpage.

    9. ClickthebrowserbackbuttontoreturntotheAdministrationscreen.

    10. ClickHometoreturntotheHomepage.

    11. SignoutofOracleBI.ClickLeavePagewhenpromptedaboutnavigatingawayfromthispage.LeavetheOracleBIbrowserpageopen.

    Inthissetofstepsyouaddlogicaldimensionhierarchiestothebusinessmodel.Alogicaldimensionrepresentsahierarchicalorganizationoflogicalcolumnsbelongingtoasinglelogicaldimensiontable.LogicaldimensionscanexistintheBusinessModelandMappinglayerandinthePresentationLayer.AddinglogicaldimensionstothePresentationlayerexposesthemtousers,whichenablesuserstocreatehierarchybasedqueries.YouimplementfourlogicaldimensionsforABC:Time,Product,Office,andCustomer.Creatinglogicaldimensionswithhierarchiesallowsyoutobuildlevelbasedmeasures,defineaggregationrulesthatvarybydimension,providedrilldownonchartsandtablesinanalyses

    CreatingLogicalDimensionswithLevelBasedHierarchies

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 124/250

    allowsyoutobuildlevelbasedmeasures,defineaggregationrulesthatvarybydimension,providedrilldownonchartsandtablesinanalysesanddashboards,anddefinethecontentofaggregatesources.Tocreatelogicaldimensionswithlevelbasedhierarchies,youperformthefollowingsteps:

    OpeningtheRepositoryinOfflineMode

    CreatingaLogicalDimensionforProduct

    CreatingLogicalLevels

    AssociatingLogicalColumnswithLogicalLevels

    SettingLogicalLevelKeys

    CreatingaLogicalDimensionforTime

    AssociatingTimeLogicalColumnswithLogicalLevels

    CreatingaLogicalDimensionforCustomer

    SettingAggregationContentforLogicalTableSources

    TestingYourWork

    OpeningtheRepositoryinOfflineMode

    1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusinessIntelligence>BIAdministration.

    2. SelectFile>Open>Offline.

    3. SelectBISAMPLE.rpdandclickOpen.DonotselectanyBISAMPLErepositorywithanextension,forexample,BISAMPLE_BI0081.rpd.RecallthatthesearetherepositoriesthathavebeenloadedintoOracleBIServermemory.

    4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

    CreatingaLogicalDimensionforProduct

    1. IntheBMMlayer,rightclicktheSampleSalesbusinessmodelandselectNewObject>LogicalDimension>DimensionwithLevelBasedHierarchytoopentheLogicalDimensiondialogbox.

    2. NamethelogicaldimensionH2Product.

    3. ClickOK.ThelogicaldimensionisaddedtotheSampleSalesbusinessmodel.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 125/250

    CreatingLogicalLevels

    1. RightclickH2ProductandselectNewObject>LogicalLevel.

    2. NamethelogicallevelasProductTotal.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 126/250

    3. Becausethislevelrepresentsthegrandtotalforproducts,selecttheGrandtotallevelcheckbox.Notethatwhenyoudothis,theSupportsrolluptohigherlevelofaggregationfieldisgrayedoutandprotected.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 127/250

    4. ClickOKtoclosetheLogicalLeveldialogbox.TheProductTotallevelisaddedtotheH2Productlogicaldimension.

    5. RightclickProductTotalandselectNewObject>ChildLeveltoopentheLogicalLeveldialogbox.

    6. NamethelogicallevelProductBrand.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 128/250

    7. ClickOKtoclosetheLogicalLeveldialogbox.TheProductBrandlevelisaddedtothelogicaldimension.

    8. Repeatthestepstoaddthefollowingchildlevels:

    ProductLOBasachildofProductBrandProductTypeasachildofProductLOBProductDetailasachildofProductType

    Usethescreenshotasaguide:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 129/250

    AssociatingLogicalColumnswithLogicalLevels

    1. ExpandtheD2Productlogicaltable.

    2. DragtheBrandcolumnfromD2ProducttotheProductBrandlevelinH2Product.

    3. ContinuedragginglogicalcolumnsfromtheD2ProductlogicaltabletotheircorrespondinglevelsintheH2Productlogicaldimension:

    LogicalColumn LogicalLevel

    Lob ProductLOBType ProductTypeProduct ProductDetailProdKey ProductDetail

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 130/250

    Yourresultsshouldlooksimilartothescreenshot:

    SettingLogicalLevelKeys

    1. DoubleclicktheProductBrandlogicalleveltoopentheLogicalLeveldialogbox.OntheGeneraltab,noticethattheProductLOBchildlevelisdisplayed.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 131/250

    2. ClicktheKeystab.

    3. EnterBrandforKeyName.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 132/250

    4. IntheColumnsfield,usethedropdownlisttoselectD2Product.Brand.

    5. CheckUseforDisplay.Whenthisisselected,userscandrilldowntothiscolumnfromahigherlevel.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 133/250

    6. SetBrandasthePrimarykey.

    7. ClickOKtoclosetheLogicalLeveldialogbox.TheiconchangesforBrandtoshowthatitisthekeyfortheProductBrandlevel.

    8. Useadifferenttechniquetocreatealogicallevelkey:RightclickLobfortheProductLOBlevelandselectNewLogicalLevelKeytoopentheLogicalLevelKeydialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 134/250

    9. IntheLogicalLevelKeydialogbox,acceptthedefaultsandclickOK.

    10. TheiconchangesforLobtoshowthatitisthekeyfortheProductLOBlevel.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 135/250

    11. UseeithermethodtosettheremainingkeysfortheH2Productlogicaldimension:

    LogicalLevel

    LogicalLevelKey

    UseforDisplay

    ProductType Type YesProductDetail Product YesProductDetail ProdKey No

    Yourresultsshouldlooksimilartothescreenshot:

    PleasenotethattheDetaillevel(lowestlevelofthehierarchy)musthavethecolumnthatisthelogicalkeyofthedimensiontableassociatedwithitanditmustbethekeyforthatlevel:ProdKeyinthisexample.

    12. SetProdKeyastheprimarykeyfortheProductDetaillevel.Hint:DoubleclickthelevelandselecttheKeystab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 136/250

    CreatingaLogicalDimensionforTime

    1. UseadifferenttechniquetocreatealogicaldimensionforTime.RightclicktheD1TimelogicaltableandselectCreateLogicalDimension>DimensionwithLevelBasedHierarchy.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 137/250

    2. Anewlogicaldimension,D1TimeDiminthisexample,isautomaticallyaddedtothebusinessmodel.

    3. RenameD1TimeDimtoH1Time.

    4. ExpandH1Time.Noticethattwolevelswerecreatedautomatically:D1TimeTotalandD1TimeDetail.D1TimeDetailispopulatedwithallofthecolumnsfromtheD1Timelogicaltable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 138/250

    5. RenameD1TimeTotaltoTimeTotal,andrenameD1TimeDetailtoTimeDetail.

    6. RightclickTimeDetailandselectNewObject>ParentLeveltoopentheLogicalLeveldialogbox.

    7. OntheGeneraltab,namethelogicallevelWeek,andcheckSupportsrolluptohigherlevelofaggregation.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 139/250

    8. ClickOKtoclosetheLogicalLeveldialogbox.TheWeeklevelisaddedtotheH1Timelogicaldimension.

    9. Repeatthestepstoaddtheremaininglogicallevels:

    MonthasaparentofWeekQuarterasaparentofMonthHalfasaparentofQuarterYearasaparentofHalf

    Yourfinalresultsshouldlooksimilartothescreenshot:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 140/250

    AssociatingTimeLogicalColumnswithLogicalLevels

    1. Useadifferenttechniquetoassociatelogicalcolumnswithlogicallevels.DragthelogicalcolumnsfromtheTimeDetaillogicallevel(notfromtheD1Timelogicaltable)totheircorrespondinglevelsintheH1Timelogicaldimension.Thisisaconvenienttechniquewhenlogicalcolumnsareburieddeepinthebusinessmodel.

    LogicalColumn LogicalLevel

    PerNameYear YearPerNameHalf HalfPerNameQtr QuarterPerNameMonth MonthPerNameWeek Week

    Yourresultsshouldlooksimilartothescreenshot:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 141/250

    2. DeleteallremainingcolumnsfromtheTimeDetaillevelexceptforCalendarDatesothatonlyCalendarDateisassociatedwiththeTimeDetaillevel.Noticethatdeletingobjectsfromthehierarchydoesnotdeletethemfromthelogicaltableinthebusinessmodel.

    3. SetthelogicalkeysfortheH1Timelogicaldimensionaccordingtothefollowingtable:

    LogicalLevel LevelKey UseforDisplay

    Year PerNameYear YesHalf PerNameHalf Yes

    Quarter PerNameQtr YesMonth PerNameMonth YesWeek PerNameWeek YesTimeDetail CalendarDate Yes

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 142/250

    CreatingaLogicalDimensionforCustomer

    1. UseeithertechniquetocreatealogicaldimensionwithalevelbasedhierarchynamedH3CustomerfortheD3Customerlogicaltablewiththefollowinglevels,columns,andkeys.Hint:Createthelevelsfirst,thendoubleclickalogicalcolumntoopentheLogicalColumndialogboxandusetheLevelstabtoassociatethelogicalcolumnwithalogicallevel.

    Level Column Key UseforDisplay

    CustomerTotal CustomerRegion Region Region YesCustomerArea Area Area YesCustomerCountry CountryName CountryName Yes

    CustomerState StateProvince StateProvince Yes

    CustomerCity City City YesCustomerPostalCode PostalCode PostalCode Yes

    CustomerDetailCustomerName

    CustomerNumber

    CustomerName

    CustomerNumber

    Yes

    No

    SetCustomerTotalasthegrandtotallevel.

    SetCustomerNumberastheprimarykeyfortheCustomerDetaillevel.

    Yourresultsshouldlooksimilartothescreenshot:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 143/250

    SettingAggregationContentforLogicalTableSources

    1. ExpandD1Time>Sources.

    2. DoubleclicktheLTS1TimelogicaltablesourcetoopentheLogicalTableSourcedialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 144/250

    3. ClicktheContenttab.

    4. ConfirmthatAggregationcontent,groupbyissettoLogicalLevelandthelogicallevelissettoTimeDetailfortheH1Timelogicaldimension.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 145/250

    5. ClickOKtoclosetheLogicalTableSourcedialogbox.

    6. Repeattoverifyorsetcontentsettingsfortheremaininglogicaltablesourcesusingthetableandscreenshotsasaguide:

    LogicalTableSource LogicalDimension LogicalLevel

    LTS1Product H2Product ProductDetailLTS1Customer H3Customer CustomerDetailLTS2CustomerAddress H3Customer CustomerDetail

    LTS1Revenue

    H1Time

    H2Product

    H3Customer

    TimeDetail

    ProductDetail

    CustomerDetail

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 146/250

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 147/250

    7. Savetherepositoryandcheckglobalconsistency.Fixanyerrorsorwarningsbeforeproceeding.NoticethatyoudidnothavetomakeanychangestothePresentationlayer.

    8. Closetherepository.LeavetheAdministrationToolopen.

    TestingYourWork

    1. ReturntoOracleEnterpriseManagerandloadtheBISAMPLErepository.

    2. ReturntoOracleBI,whichshouldstillbeopen,andsigninifnecessary.

    3. CreatethefollowinganalysistotesttheProducthierarchy.

    Products.BrandBaseFacts.Revenue

    4. ClickResults.

    5. ClickontheBizTechbrandandverifythatyoucandrilldownthroughthehierarchytoseerevenuedataateachlevel.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 148/250

    6. SelectNew>Analysis>SampleSales.

    7. ClickLeavePagewhenpromptedwiththemessage:Areyousure?

    8. Createthefollowinganalysis:

    Time.PerNameYearBaseFacts.Revenue

    9. ClickResultsandverifythatyoucandrilldownthroughtheTimehierarchy.

    10. RepeatthestepsandcreatethefollowinganalysistotesttheCustomershierarchy:

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 149/250

    10. RepeatthestepsandcreatethefollowinganalysistotesttheCustomershierarchy:

    CustomerRegions.RegionBaseFacts.Revenue

    11. ClickResultsandverifythatyoucandrilldownthroughtheCustomershierarchy.

    12. SignoutofOracleBI.ClickLeavePagewhenpromptedaboutnavigatingawayfromthispage.LeavetheOracleBIbrowserpageopen.

    InthissetofstepsyoucreatelevelbasedmeasuresthatcalculatetotaldollarsatvariouslevelsintheProducthierarchy,andthenusealevelbasedmeasuretocreateasharemeasure.

    Tocreatelevelbasedmeasuresandasharemeasure,youperformthefollowingsteps:

    OpeningtheRepositoryinOfflineMode

    CreatingLevelBasedMeasures

    CreatingaShareMeasure

    TestingYourWork

    OpeningtheRepositoryinOfflineMode

    1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusinessIntelligence>BIAdministration.

    2. SelectFile>Open>Offline.

    3. SelectBISAMPLE.rpdandclickOpen.DonotselectanyBISAMPLErepositorywithanextension,forexample,BISAMPLE_BI0082.rpd.RecallthatthesearetherepositoriesthathavebeenloadedintoOracleBIServermemory.

    4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

    CreatingLevelBasedMeasures

    1. IntheBMMlayer,rightclicktheF1RevenuetableandselectNewObject>LogicalColumntoopentheLogicalColumndialogbox.

    CreatingLevelBasedMeasures

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 150/250

    2. OntheGeneraltab,enterProductTotalRevenueintheNamefield.

    3. ClicktheColumnSourcetab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 151/250

    4. SelectDerivedfromexistingcolumnsusinganexpression.

    5. OpentheExpressionBuilder.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 152/250

    6. IntheExpressionBuilder,addLogicalTables>F1Revenue>Revenuetotheexpression.RecallthattheRevenuecolumnalreadyhasadefaultaggregationruleofSum.

    7. ClickOKtocloseExpressionBuilder.

    8. ClicktheLevelstab.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 153/250

    9. FortheH2Productlogicaldimension,selectProductTotalfromtheLogicalLeveldropdownlisttospecifythatthismeasureshouldbecalculatedatthegrandtotallevelintheproducthierarchy.

    10. ClickOKtoclosetheLogicalColumndialogbox.TheProductTotalRevenuemeasureappearsintheProductTotalleveloftheH2ProductlogicaldimensionandtheF1Revenuelogicalfacttable.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 154/250

    11. Repeatthestepstocreateasecondlevelbasedmeasure:

    Name LogicalDimension LogicalLevel

    ProductTypeRevenue H2Product ProductType

    12. ExposethenewcolumnstousersbydraggingProductTotalRevenueandProductTypeRevenuetotheBaseFactspresentationtableintheSampleSalessubjectareainthePresentationlayer.YoucandragthecolumnsfromeithertheH2Productlogical

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 155/250

    tableintheSampleSalessubjectareainthePresentationlayer.YoucandragthecolumnsfromeithertheH2ProductlogicaldimensionortheF1Revenuelogicaltable.

    CreatingaShareMeasure

    1. IntheBMMlayer,rightclicktheF1RevenuetableandselectNewObject>LogicalColumntoopentheLogicalColumndialogbox.

    2. OntheGeneraltab,namethelogicalcolumnProductShare.

    3. OntheColumnSourcetab,select"Derivedfromexistingcolumnsusinganexpression".

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 156/250

    4. OpentheExpressionBuilder.

    5. IntheExpressionBuilder,SelectFunctions>MathematicFunctions>Round.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 157/250

    6. ClickInsertselecteditem.Thefunctionappearsintheeditbox.

    7. ClickSourceNumberintheformula.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 158/250

    8. Enter100*followedbyaspace.

    9. InsertLogicalTables>F1Revenue>Revenue.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 159/250

    10. Usingthetoolbar,clicktheDivisionbutton.Anothersetofanglebracketsappears,.

    11. Click.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 160/250

    12. InsertLogicalTables>F1Revenue>ProductTotalRevenue.Recallthatthisisthetotalmeasureforthehierarchy.

    13. Clickbetweenthelastsetofanglebrackets,,andenter1.Thisrepresentsthenumberofdigitsofprecisionwithwhichtoroundtheinteger.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 161/250

    14. Checkyourwork:

    Round(100*"SampleSales"."F1Revenue"."Revenue"/"SampleSales"."F1Revenue"."ProductTotalRevenue",1)

    Thissharemeasurewillallowyoutorunananalysisthatshowshowrevenueofaspecificproductcomparestototalrevenueforallproducts.

    15. ClickOKtoclosetheExpressionBuilder.TheformulaisvisibleintheLogicalColumndialogbox.

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 162/250

    16. ClickOKtoclosetheLogicalColumndialogbox.TheProductSharelogicalcolumnisaddedtothebusinessmodel.

    17. AddtheProductSharemeasuretotheBaseFactspresentationtable.

    18. Savetherepository.Checkconsistency.Youshouldreceivethefollowingmessage.

    Ifthereareconsistencyerrorsorwarnings,correctthembeforeyouproceed.

    19. Closetherepository.

    TestingYourWork

    1. ReturntoOracleEnterpriseManagerandloadtheBISAMPLErepository.

    2. ReturntoOracleBI,whichshouldstillbeopen,andsignin.

    3. Createthefollowinganalysistotestthelevelbasedandsharemeasures.

    Products.ProductBaseFacts.RevenueBaseFacts.ProductTypeRevenue

  • 3/6/2015 CreatingaRepositoryUsingtheOracleBIAdministrationTool

    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11117/rpd/rpd.html 163/250


Recommended