Sie sind auf Seite 1von 345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Thistutorialcontainsthefollowingsections:
Purpose
TimetoComplete
Overview
Prerequisites
BuildingthePhysicalLayerofaRepository
BuildingtheBusinessModelandMappingLayerofa
Repository
BuildingthePresentationLayerofaRepository
TestingandValidatingaRepository
ManagingLogicalTableSources
CreatingCalculationMeasures
CreatingLogicalDimensionswithLevelBased
Hierarchies
CreatingLevelBasedMeasures
CreatingLogicalDimensionswithParentChild
Hierarchies
CreatingLogicalDimensionswithRaggedandSkipped
LevelHierarchies
UsingAggregates
UsingInitializationBlocksandVariables
CreatingTimeSeriesMeasures
Summary
Resources

Purpose
ThistutorialcoversusingtheOracleBusinessIntelligence(BI)AdministrationTooltobuild,modify,enhance,and
manageanOracleBIrepository.

TimetoComplete
Approximately6hours.

Overview
ThistutorialshowsyouhowtobuildanOracleBImetadatarepositoryusingtheOracleBIAdministrationTool.Youlearn
howtoimportmetadatafromdatasources,simplifyandreorganizetheimportedmetadataintoabusinessmodel,and
thenstructurethebusinessmodelforpresentationtouserswhorequestbusinessintelligenceinformationviaOracleBI
userinterfaces.

Prerequisites
Beforestartingthistutorial,youshould:
1. HaveaccesstoorhaveInstalledOracleBusinessIntelligenceEnterpriseEdition11g.
Pleasenote:ThistutorialisbuiltusingOracleBusinessIntelligenceEnterpriseEdition11.1.1.5.Duetoproduct
enhancementsin11.1.1.5,ifyouuseanearlierversionoftheproducttocompletethistutorial,youwillnoticesome
differencesinfunctionality:
NewDiagrammingCapability:ThePhysicalandBusinessModelDiagramshaveenhancedcapabilitiesinthe
11.1.1.5release,includinganimprovedlookandfeel,theabilitytodisplaycolumnsintableobjectsinthediagram,
andnewdiagramoptionslikeautolayout,marqueezoom,andzoomtofit.Additionally,joinsinthePhysicaland
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

1/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

BusinessModelDiagramsarenowrepresentedbyalinewithanarrowatthe"one"endofthejoin,ratherthanthe
linewithcrowsfeetatthe"many"endofthejointhatwasusedinpreviousreleases.Whencreatingjoinsinthe
PhysicalandBusinessModelDiagrams,younowselectthe"many"endofthejoinfirst,andthenselectthe"one"
endofthejoin.Inpreviousreleases,joinsinthediagramswerecreatedbyselectingthe"one"endofthejoinfirst.
Whensettingupquerylogging,youmustselectAction>SetOnlineUserFilterinIdentityManagertoviewusersin
therepository.

2. TocompletethistutorialyoumusthaveaccesstotheBISAMPLEschemathatisincludedwiththeSample
ApplicationforOracleBusinessIntelligenceSuiteEnterpriseEditionPlus.Therearethreeoptionsforaccessingthe
BISAMPLEschema:
1.Ifyoualreadyhaveinstalledversion825orV107oftheSampleApplication,verifythatyouhaveaccesstothe
BISAMPLEschemaandbeginthetutorial.
2.IfyouareinterestedindownloadingandinstallingthecompleteSampleApplication,youcanaccessithereonthe
OracleTechnicalNetwork(OTN).Pleasenote,however,thatonlytheBISAMPLEschemaisrequiredtocomplete
thistutorial.IfyouwanttoinstallonlytheBISAMPLEschema,proceedtooption3.
3.ClickheretoaccesstheForOBE.7zfile,whichhasthe825versionoftheBISAMPLEschemaandinstallation
instructions.SaveForOBE.7z,unzip,andbeginwithREADMEFIRST.txt.

BuildingthePhysicalLayerofaRepository
InthistopicyouusetheOracleBIAdministrationTooltobuildthePhysicallayerofarepository.
ThePhysicallayerdefinesthedatasourcestowhichOracleBIServersubmitsqueriesandtherelationshipsbetween
physicaldatabasesandotherdatasourcesthatareusedtoprocessmultipledatasourcequeries.Therecommended
waytopopulatethePhysicallayerisbyimportingmetadatafromdatabasesandotherdatasources.Thedatasources
canbeofthesameordifferentvarieties.Youcanimportschemasorportionsofschemasfromexistingdatasources.
Additionally,youcancreateobjectsinthePhysicallayermanually.
Whenyouimportmetadata,manyofthepropertiesofthedatasourcesareconfiguredautomaticallybasedonthe
informationgatheredduringtheimportprocess.Afterimport,youcanalsodefineotherattributesofthephysicaldata
sources,suchasjoinrelationships,thatmightnotexistinthedatasourcemetadata.Therecanbeoneormoredata
sourcesinthePhysicallayer,includingdatabases,flatfiles,XMLdocuments,andsoforth.Inthisexample,youimport
andconfiguretablesfromtheBISAMPLEschemaincludedwiththeOracleBI11gSampleApplication.
TobuildthePhysicallayerofarepository,youperformthefollowingsteps:
CreateaNewRepository
ImportMetadata
VerifyConnection
CreateAliases
CreatePhysicalKeysandJoins
CreateaNewRepository
ImportMetadata
VerifyConnection
CreateAliases
CreateKeysandJoins

CreateaNewRepository
1. SelectStart>Programs>OracleBusinessIntelligence>BIAdministrationtoopentheAdministrationTool.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

2/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. SelectFile>NewRepository.

3. Enteranamefortherepository.InthistutorialtherepositorynameisBISAMPLE.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

3/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. Leavethedefaultlocationasis.Itpointstothedefaultrepositorydirectory.

5. LeaveImportMetadatasettoYes.

6. Enterandretypeapasswordfortherepository.InthistutorialBISAMPLE1istherepositorypassword.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

4/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickNext.

ImportMetadata
1. ChangetheConnectionTypetoOCI10g/11g.Thescreendisplaysconnectionfieldsbasedontheconnectiontype
youselected.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

5/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. Enteradatasourcename.Inthisexamplethedatasourcenameisorcl.Thisnameisthesameasthe
tnsnames.oraentryforthisOracledatabaseinstance.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

6/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. Enterausernameandpasswordforthedatasource.Inthisexampletheusernameandpasswordareboth
BISAMPLE.RecallthatBISAMPLEisthenameoftheuser/schemayoucreatedintheprerequisitesection.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

7/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickNext.

5. AcceptthedefaultmetadatatypesandclickNext.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

8/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheDatasourceview,expandtheBISAMPLEschema.

7. UseCtrl+Clicktoselectthefollowingtables:
SAMP_ADDRESSES_D
SAMP_CUSTOMERS_D
SAMP_PRODUCTS_D
SAMP_REVENUE_F
SAMP_TIME_DAY_D

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

9/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClicktheImportSelectedbuttontoaddthetablestotheRepositoryView.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

10/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. TheConnectionPooldialogboxappears.AcceptthedefaultsandclickOK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

11/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. TheImportingmessageappears.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

12/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. Whenimportiscomplete,expandBISAMPLEintheRepositoryViewandverifythatthefivetablesarevisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

13/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickFinishtoopentherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

14/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. Expandorcl>BISAMPLEandconfirmthatthefivetablesareimportedintothePhysicallayeroftherepository.

VerifyConnection
1. SelectTools>UpdateAllRowCounts.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

15/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. Whenupdaterowcountscompletes,movethecursoroverthetablesandobservethatrowcountinformationisnow
visible,includingwhentherowcountwaslastupdated.

3. Expandtablesandobservethatrowcountinformationisalsovisibleforindividualcolumns.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

16/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. RightclickatableandselectViewDatatoviewthedataforthetable.

5. ClosetheViewDatadialogboxwhenyouaredone.Itisagoodideatoupdaterowcountsorviewdataafteran
importtoverifyconnectivity.Viewingdataorupdatingrowcount,ifsuccessful,tellsyouthatyourconnectionis
configuredcorrectly.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

17/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateAliases
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

18/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

1. ItisrecommendedthatyouusetablealiasesfrequentlyinthePhysicallayertoeliminateextraneousjoinsandto
includebestpracticenamingconventionsforphysicaltablenames.RightclickSAMP_TIME_DAY_DandselectNew
Object>AliastoopenthePhysicalTabledialogbox.

2. EnterD1TimeintheNamefield.

3. IntheDescriptionfield,enterTimeDimensionAliasatdaygrain.Storesonerecordforeachday.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

19/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClicktheColumnstab.Notethataliastablesinheritallcolumndefinitionsfromthesourcetable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

20/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickOKtoclosethePhysicalTabledialogbox.

6. Repeatthestepsandcreatethefollowingaliasesfortheremainingphysicaltables.
SAMP_ADDRESSES_D=D4Address
SAMP_CUSTOMERS_D=D3Customer
SAMP_PRODUCTS_D=D2Product
SAMP_REVENUE_F=F1Revenue

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

21/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateKeysandJoins
1. SelectthefivealiastablesinthePhysicallayer.

2. RightclickoneofthehighlightedaliastablesandselectPhysicalDiagram>SelectedObject(s)Onlytoopenthe
PhysicalDiagram.Alternatively,youcanclickthePhysicalDiagrambuttononthetoolbar.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

22/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. Rearrangethealiastableobjectssotheyareallvisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

23/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. YoumaywanttoadjusttheobjectsinthePhysicalDiagram.Ifso,usethetoolbarbuttonstozoomin,zoomout,fit
thediagram,collapseorexpandobjects,selectobjects,andsoforth:

5. ClicktheNewJoinbuttononthetoolbar.

6. ClicktheF1RevenuetableandthentheD1Timetable.ThePhysicalForeignKeydialogboxopens.Itmatters
whichtableyouclickfirst.Thejoincreatesaonetomany(1:N)relationshipthatjoinsthekeycolumninthefirsttable
toaforeignkeycolumninthesecondtable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

24/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. SelecttheD1Time.CALENDAR_DATEcolumn,andthenselectF1Revenue.BILL_DAY_DTtojointhetables.
EnsurethattheExpressioneditbox(atthebottom)containsthefollowingexpression:
"orcl".""."BISAMPLE"."D1Time"."CALENDAR_DATE"="orcl".""."BISAMPLE"."F1
Revenue"."BILL_DAY_DT"

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

25/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClickOKtoclosethePhysicalForeignKeydialogbox.ThejoinisvisibleinthePhysicalDiagram.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

26/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

PleasebeawareofthefollowingupgradeconsiderationsforOracleBIEE11gRelease1(11.1.1.5):Joinsinthe
PhysicalandBusinessModeldiagramsarenowrepresentedbyalinewithanarrowatthe"one"endofthejoin,
ratherthanthelinewithcrowsfeetatthe"many"endofthejointhatwasusedinpreviousreleases.Whencreating
joinsinthePhysicalandBusinessModelDiagrams,younowselectthe"many"endofthejoinfirst,andthenselect
the"one"endofthejoin.Inpreviousreleases,joinsinthediagramswerecreatedbyselectingthe"one"endofthe
joinfirst.

9. Repeatthestepstocreatejoinsfortheremainingtables.Usethefollowingexpressionsasaguide.Pleasenotice
thatD4AddressjoinstoD3Customer.
"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:.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

27/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClicktheXintheupperrightcornertoclosethePhysicalDiagram.

13. SelectFile>SaveorclicktheSavebuttononthetoolbartosavetherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

28/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickNowhenpromptedtocheckglobalconsistency.CheckingGlobalConsistencychecksforerrorsintheentire
repository.SomeofthemorecommonchecksaredoneintheBusinessModelandMappinglayerandPresentation
layer.Sincetheselayersarenotdefinedyet,bypassthischeckuntiltheotherlayersintherepositoryarebuilt.You
learnmoreaboutconsistencychecklaterinthistutorial.

15. LeavetheAdministrationToolandtherepositoryopenforthenexttopic.
Congratulations!Youhavesuccessfullycreatedanewrepository,importedatableschemafromanexternaldata
sourceintothePhysicallayer,createdaliases,anddefinedkeysandjoins.
InthenexttopicyoulearnhowtobuildtheBusinessModelandMappinglayerofarepository.

BuildingtheBusinessModelandMappingLayerofaRepository
InthistopicyouusetheOracleBIAdministrationTooltobuildtheBusinessModelandMappinglayerofarepository.
TheBusinessModelandMappinglayeroftheAdministrationTooldefinesthebusiness,orlogical,modelofthedata
andspecifiesthemappingsbetweenthebusinessmodelandthePhysicallayerschemas.Thislayeriswherethe
physicalschemasaresimplifiedtoformthebasisfortheusersviewofthedata.TheBusinessModelandMapping
layeroftheAdministrationToolcancontainoneormorebusinessmodelobjects.Abusinessmodelobjectcontainsthe
businessmodeldefinitionsandthemappingsfromlogicaltophysicaltablesforthebusinessmodel.
Themainpurposeofthebusinessmodelistocapturehowusersthinkabouttheirbusinessusingtheirownvocabulary.
Thebusinessmodelsimplifiesthephysicalschemaandmapstheusersbusinessvocabularytophysicalsources.Most
ofthevocabularytranslatesintologicalcolumnsinthebusinessmodel.Collectionsoflogicalcolumnsformlogical
tables.Eachlogicalcolumn(andhenceeachlogicaltable)canhaveoneormorephysicalobjectsassources.
Therearetwomaincategoriesoflogicaltables:factanddimension.Logicalfacttablescontainthemeasuresbywhich
anorganizationgaugesitsbusinessoperationsandperformance.Logicaldimensiontablescontainthedatausedto
qualifythefacts.
TobuildtheBusinessModelandMappinglayerofarepository,youperformthefollowingsteps:
CreateaBusinessModel
ExamineLogicalJoins
ExamineLogicalColumns
ExamineLogicalTableSources
RenameLogicalObjectsManually
RenameLogicalObjectsUsingtheRenameWizard
DeleteUnnecessaryLogicalObjects
CreateSimpleMeasures
CreateaBusinessModel
ExamineLogicalJoins
ExamineLogicalColumns
ExamineLogicalTableSources
RenameLogicalObjectsManually
RenameObjectsUsingtheRenameWizard
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

29/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

DeleteUnnecessaryLogicalObjects
CreateSimpleMeasures

CreateaBusinessModel
1. RightclickthewhitespaceintheBusinessModelandMappinglayerandselectNewBusinessModeltoopenthe
BusinessModeldialogbox.

2. EnterSampleSalesintheNamefield.LeaveDisabledchecked.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

30/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickOK.TheSampleSalesbusinessmodelisaddedtotheBusinessModelandMappinglayer.

4. InthePhysicallayer,selectthefollowingfouraliastables:
D1Time
D2Product
D3Customer
F1Revenue
DonotselectD4Addressatthistime.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

31/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. DragthefouraliastablefromthePhysicallayertotheSampleSalesbusinessmodelintheBusinessModeland
Mappinglayer.ThetablesareaddedtotheSampleSalesbusinessmodel.Noticethatthethreedimensiontables
havethesameicon,whereastheF1Revenuetablehasaniconwitha#sign,indicatingitisafacttable.

ExamineLogicalJoins
1. RightclicktheSampleSalesbusinessmodelandselectBusinessModelDiagram>WholeDiagramtoopenthe
BusinessModelDiagram.

2. Ifnecessary,rearrangetheobjectssothatthejoinrelationshipsarevisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

32/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

BecauseyoudraggedalltablessimultaneouslyfromthePhysicallayerontothebusinessmodel,thelogicalkeysand
joinsarecreatedautomaticallyinthebusinessmodel.Thisisbecausethekeysandjoinrelationshipswerealready
createdinthePhysicallayer.However,youtypicallydonotdragallphysicaltablessimultaneously,exceptinvery
simplemodels.Laterinthistutorial,youlearnhowtomanuallybuildlogicalkeysandjoinsintheBusinessModeland
Mappinglayer.TheprocessisverysimilartobuildingjoinsinthePhysicallayer.

3. DoubleclickanyoneofthejoinsinthediagramtoopentheLogicalJoindialogbox.Inthisexamplethejoinbetween
D1TimeandF1Revenueisselected.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

33/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Noticethatthereisnojoinexpression.JoinsintheBMMlayerarelogicaljoins.Logicaljoinsexpressthecardinality
relationshipsbetweenlogicaltablesandarearequirementforavalidbusinessmodel.Specifyingthelogicaltable
joinsisrequiredsothatOracleBIServerhasnecessarymetadatatotranslatelogicalrequestsagainstthebusiness
modelintoSQLqueriesagainstthephysicaldatasources.LogicaljoinshelpOracleBIServerunderstandthe
relationshipsbetweenthevariouspiecesofthebusinessmodel.WhenaqueryissenttoOracleBIServer,theserver
determineshowtoconstructphysicalqueriesbyexamininghowthelogicalmodelisstructured.Examininglogical
joinsisanintegralpartofthisprocess.TheAdministrationToolconsidersatabletobealogicalfacttableifitisatthe
manyendofalllogicaljoinsthatconnectittootherlogicaltables.

4.

ClickOKtoclosetheLogicalJoindialogbox.

5.

ClicktheXtoclosetheBusinessModelDiagram.

ExamineLogicalColumns
1. ExpandtheD1Timelogicaltable.Noticethatlogicalcolumnswerecreatedautomaticallyforeachtablewhenyou
draggedthealiastablesfromthePhysicallayertotheBMMlayer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

34/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ExamineLogicalTableSources
1. ExpandtheSourcesfolderfortheD1Timelogicaltable.Noticethereisalogicaltablesource,D1Time.Thislogical
tablesourcemapstotheD1TimealiastableinthePhysicallayer.

2. DoubleclicktheD1Timelogicaltablesource(notthelogicaltable)toopentheLogicalTableSourcedialogbox.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

35/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. OntheGeneraltab,renametheD1TimelogicaltablesourcetoLTS1Time.Noticethatthelogicaltabletophysical
tablemappingisdefinedinthe"Maptothesetables"section.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

36/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. OntheColumnMappingtab,noticethatlogicalcolumntophysicalcolumnmappingsaredefined.Ifmappingsare
notvisible,selectShowmappedcolumns.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

37/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. YoulearnmoreabouttheContentandParentChildSettingstabslaterinthistutorialwhenyoubuildlogical
dimensionhierarchies.ClickOKtoclosetheLogicalTableSourcedialogbox.Ifdesired,explorelogicaltable
sourcesfortheremaininglogicaltables.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

38/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

RenameLogicalObjectsManually
1. ExpandtheD1Timelogicaltable.

2. Clickonthefirstlogicalcolumn,BEG_OF_MONTH_WID,tohighlightit.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

39/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickonBEG_OF_MONTH_WIDagaintomakeiteditable.

4. RenameBEG_OF_MONTH_WIDtoBegofMthWid.Thisisthemanualmethodforrenamingobjects.Youcanalso
rightclickanobjectandselectRenametomanuallyrenameanobject.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

40/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

RenameObjectsUsingtheRenameWizard
1. SelectTools>Utilities>RenameWizard>ExecutetoopentheRenameWizard.

2. IntheSelectObjectsscreen,clickBusinessModelandMappinginthemiddlepane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

41/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ExpandtheSampleSalesbusinessmodel.

4. ExpandtheD1Timelogicaltable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

42/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. UseShift+clicktoselectallofthelogicalcolumnsexceptforthecolumnyoualreadyrenamed,BegofMthWid.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

43/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClickAddtoaddthecolumnstotherightpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

44/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. RepeatthestepsforthethreeremaininglogicaltablessothatalllogicalcolumnsfromtheSampleSalesbusiness
modelareaddedtotherightpane.OnlythecolumnsfromF1Revenueareshowninthescreenshot.

8. ClickNexttomovetotheSelectTypesscreen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

45/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

NoticethatLogicalColumnisselected.Ifyouhadselectedotherobjecttypes,suchaslogicaltables,thetypewould
haveappearedhere.

9. ClickNexttoopentheSelectRulesscreen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

46/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. IntheSelectRulesscreen,selectAlltextlowercaseandclickAddtoaddtheruletothelowerpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

47/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. AddtheruleChangeeachoccurrenceof'_'intoaspace.

12. AddtheruleFirstletterofeachwordcapital.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

48/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. ClickNexttoopentheFinishscreen.Verifythatalllogicalcolumnswillbenamedaccordingtotherenamerulesyou
selected.

14. ClickFinish.

15. IntheBusinessModelandMappinglayer,expandthelogicaltablesandconfirmthatalllogicalcolumnshavebeen
renamedasexpected.ThescreenshotshowsonlythecolumnsinD1Time.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

49/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. InthePhysicallayer,expandthealiastablesandconfirmthatallphysicalcolumnshavenotbeenrenamed.The
pointhereisyoucanchangeobjectnamesintheBMMlayerwithoutimpactingobjectnamesinthePhysicallayer.
Whenlogicalobjectsarerenamed,therelationshipsbetweenlogicalobjectsandphysicalobjectsaremaintainedby
thelogicalcolumntophysicalcolumnmappings.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

50/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

DeleteUnnecessaryLogicalObjects
1. IntheBMMlayer,expandSampleSales>F1Revenue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

51/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. UseCtrl+ClicktoselectallF1RevenuelogicalcolumnsexceptforRevenueandUnits.

3. RightclickanyoneofthehighlightedlogicalcolumnsandselectDelete.AlternativelyyoucanselectEdit>Deleteor
presstheDeletekeyonyourkeyboard.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

52/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickYestoconfirmthedelete.

5. ConfirmthatF1RevenuecontainsonlytheRevenueandUnitscolumns.

CreateSimpleMeasures
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

53/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

1. DoubleclicktheRevenuelogicalcolumntoopentheLogicalColumndialogbox.

2. ClicktheAggregationtab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

54/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ChangethedefaultaggregationruletoSum.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

55/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickOKtoclosetheLogicalColumndialogbox.NoticethattheiconhaschangedfortheRevenuelogicalcolumn
indicatingthatanaggregationrulehasbeenapplied.

5. RepeatthestepstodefinetheSUMaggregationrulefortheUnitslogicalcolumn.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

56/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Measuresaretypicallydatathatisadditive,suchastotaldollarsortotalquantities.TheF1Revenuelogicalfacttable
containsthemeasuresinyourbusinessmodel.Youaggregatedtwologicalcolumnsbysummingthecolumndata.

6. Savetherepositorywithoutcheckingglobalconsistency.
Congratulations!YouhavesuccessfullybuiltabusinessmodelintheBusinessModelandMappinglayerofa
repositoryandcreatedbusinessmeasures.

BuildingthePresentationLayerofaRepository
YouhavecreatedtheinitialSampleSalesbusinessmodelintherepository.YounowcreatethePresentationlayerof
therepository.ThePresentationlayerexposesthebusinessmodelobjectsinOracleBIuserinterfacessothatusers
canbuildanalysesanddashboardstoanalyzetheirdata.
TobuildthePresentationlayeryouperformthefollowingsteps:
CreateaSubjectArea
CreatePresentationTables
CreatePresentationColumns
RenamePresentationColumns
ReorderPresentationColumns
CreateaSubjectArea
CreatePresentationTables
CreatePresentationColumns
RenamePresentationColumns
ReorderPresentationColumns

CreateaSubjectArea
1. RightclickthewhitespaceinthePresentationlayerandselectNewSubjectAreatoopentheSubjectAreadialog
box.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

57/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,enterSampleSalesasthenameofthesubjectarea.

3. ClickOKtoclosetheSubjectAreadialogbox.TheSampleSalessubjectareaisaddedtothePresentationlayer.

CreatePresentationTables
1. RightclicktheSampleSalessubjectareaandselectNewPresentationTabletoopenthePresentationTable
dialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

58/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,enterTimeasthenameofthepresentationtable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

59/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickOKtoclosethePresentationTabledialogbox.TheTimepresentationtableisaddedtotheSampleSales
subjectarea.

4. Repeattheprocessandaddthreemorepresentationtables:Products,Customers,andBaseFacts.

PleasenotethatyouareusingthemanualmethodforcreatingPresentationlayerobjects.Forsimplemodelsitis
alsopossibletodragobjectsfromtheBMMlayertothePresentationlayertocreatethePresentationlayerobjects.
WhenyoucreatepresentationobjectsbydraggingfromtheBMMlayer,thebusinessmodelbecomesasubjectarea,
thelogicaltablesbecomepresentationtables,andthelogicalcolumnsbecomepresentationcolumns.Notethatall
objectswithinasubjectareamustderivefromasinglebusinessmodel.

CreatePresentationColumns

1. IntheBMMlayer,expandtheD1Timelogicaltable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

60/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. UseCtrl+Clicktoselectthefollowinglogicalcolumns:
CalendarDate
PerNameHalf
PerNameMonth
PerNameQtr
PerNameWeek
PerNameYear.

3. DragtheselectedlogicalcolumnstotheTimepresentationtableinthePresentationlayer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

61/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

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

RenamePresentationColumns

1. InthePresentationlayer,expandtheProductspresentationtable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

62/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. DoubleclicktheLobpresentationcolumntoopenthePresentationColumndialogbox.OntheGeneraltabnotice
that"UseLogicalColumnName"isselected.Whenyoudragalogicalcolumntoapresentationtable,theresulting
presentationcolumninheritsthelogicalcolumnnamebydefault.InthisexampletheLobpresentationcolumn
inheritsthenameofthelogicalcolumn"SampleSales"."D2Product"."Lob".

3. DeselectUseLogicalColumnName.TheNamefieldisnoweditable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

63/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. EnterLineofBusinessintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

64/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickOKtoclosethePresentationColumndialogbox.Noticethatthepresentationcolumnnameisnowchangedto
LineofBusinessinthePresentationlayer.

6. IntheBMMlayer,expandD2Product.NoticethattheLoblogicalcolumnnameisnotchanged.Thepointhereis
youcanchangeobjectnamesinthePresentationlayerwithoutimpactingobjectnamesintheBMMorPhysical
layers.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

65/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. IntheBMMlayer,renametheProdDsclogicalcolumntoProduct.Noticethatthenamechangeisinheritedbythe
correspondingpresentationcolumn.

8. MakethefollowingnamechangestologicalobjectsintheBMMlayersothatthenamesofthecorresponding
presentationcolumnsarealsochanged:
FortheD3Customerlogicaltable:
ChangeCustKeytoCustomerNumber.
ChangeNametoCustomerName.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

66/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Confirmthatthecorrespondingpresentationcolumnnamesarechanged.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

67/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ReorderPresentationColumns

1. InthePresentationlayer,doubleclicktheTimepresentationtabletoopenthePresentationTabledialogbox.

2. ClicktheColumnstab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

68/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. Selectcolumnsandusetheupanddownarrows,ordragthecolumns.torearrangethepresentationcolumnsinto
thefollowingorderfromtoptobottom:
PerNameYear
PerNameHalf
PerNameQtr
PerNameMonth
PerNameWeek
CalendarDate

4. ClickOKtoclosethePresentationTabledialogboxandconfirmthatthepresentationcolumnorderischangedinthe
Presentationlayer.

5. RepeatthestepstoreorderthecolumnsintheProductspresentationtable:
Brand
LineofBusiness
Type
Product

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

69/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Savetherepositorywithoutcheckingglobalconsistency.
Congratulations!YouhavesuccessfullybuiltthePresentationlayerofarepository.

TestingandValidatingaRepository
Youhavefinishedbuildinganinitialbusinessmodelandnowneedtotestandvalidatetherepositorybeforecontinuing.
Youbeginbycheckingtherepositoryforerrorsusingtheconsistencycheckingoption.Nextyouloadtherepositoryinto
OracleBIServermemory.YouthentesttherepositorybyrunninganOracleBIanalysisandverifyingtheresults.Finally,
youexaminethequerylogfiletoobservetheSQLgeneratedbyOracleBIServer.
Totestandvalidatearepositoryyouperformthefollowingsteps:
CheckConsistency
DisableCaching
LoadtheRepository
SetUpQueryLogging
CreateandRunandAnalysis
ChecktheQueryLog
CheckConsistency
DisableCaching
LoadtheRepository
SetUpQueryLogging
CreateandRunanAnalysis
ChecktheQueryLog

CheckConsistency
1. SelectFile>CheckGlobalConsistency.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

70/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. YoushouldreceivethemessageBusinessmodel"SampleSales"isconsistent.Doyouwanttomarkitas
availableforqueries?

3. ClickYes.Youshouldreceivethemessage:Consistencycheckdidn'tfindanyerrors,warningsorbestpractice
violations.

Ifyoudonotreceivethismessage,youmustfixanyconsistencycheckerrorsorwarningsbeforeproceeding.

4. ClickOK.NoticethattheSampleSalesbusinessmodeliconintheBMMlayerisnowgreen,indicatingitisavailable
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

71/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

forqueries.

5. Savetherepositorywithoutcheckingglobalconsistencyagain.

6. SelectFile>Closetoclosetherepository.LeavetheAdministrationToolopen.

DisableCaching
1. OpenabrowserandenterthefollowingURLtonavigatetoEnterpriseManagerFusionMiddlewareControl:
http://<machinename>:7001/em
InthistutorialtheURLishttp://localhost:7001/em

2. Loginasanadministrativeuser.Typicallyyouusetheadministrativeusernameandpasswordprovidedduringthe
OracleBIinstallation.Inthisexampletheusernameisweblogic.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

72/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. Intheleftnavigationpane,expandBusinessIntelligenceandclickcoreapplication.

4. ClicktheCapacityManagementtab.

5. ClickthePerformancesubtab.

6. LocatetheEnableBIServerCachesection.Cacheisenabledbydefault.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

73/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickLockandEditConfiguration.

8. ClickClosewhenyoureceivetheconfirmationmessage"LockandEditConfigurationCompletedSuccessfully."

9. DeselectCacheenabled.Cachingistypicallynotusedduringdevelopment.Disablingcacheimprovesquery
performance.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

74/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClickApply.

11. ClickActivateChanges.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

75/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

13. DonotclickRestarttoapplyrecentchangesyet.Youdothatafteruploadingtherepositoryinthenextsetofsteps.

LoadtheRepository
1. ClicktheDeploymenttab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

76/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. ClicktheRepositorysubtab.

3. ClickLockandEditConfiguration.

4. ClickClosewhenyoureceivetheconfirmationmessage"LockandEditConfigurationCompletedSuccessfully."

5. Inthe"UploadBIServerRepository"section,clickBrowsetoopentheChoosefiledialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

77/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Bydefault,theChoosefiledialogboxshouldopentotherepositorydirectory.Ifnot,navigatetotherepository
directorywiththeBISAMPLErepository.

7. SelecttheBISAMPLE.rpdfileandclickOpen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

78/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.

9. ClickApply.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

79/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. IntheBIServerRepositorysection,confirmthattheDefaultRPDisnowBISAMPLEwithanextension.Inthis
examplethefilenameisBISAMPLE_BI0025.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

80/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickActivateChanges.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

81/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

13. ClickRestarttoapplyrecentchangestonavigatetotheOverviewpage.

14. OntheOverviewpage,clickRestart.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

82/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

15. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartallBIcomponents?

16. AllowtheRestartAllprocessingtocomplete.Thismaytakeafewmoments.

17. ClickClosewhenyoureceivetheconfirmationmessageRestartAllCompletedSuccessfully.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

83/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

18. ConfirmthatSystemComponentsare100%andthatfivecomponentsareup.LeaveFusionMiddlewareControl
open.

SetUpQueryLogging
1. ReturntotheAdministrationTool,whichshouldstillbeopen.

2. SelectFile>Open>Onlinetoopentherepositoryinonlinemode.Youuseonlinemodetoviewandmodifya
repositorywhileitisloadedintotheOracleBIServer.TheOracleBIServermustberunningtoopenarepositoryin
onlinemode.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

84/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. EnterBISAMPLE1astherepositorypasswordandenteryouradministrativeusernameandpassword.

4. ClickOpentoopentherepositoryinonlinemode.

5. SelectManage>IdentitytoopenIdentityManager.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

85/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Intheleftpane,selectBIRepository.

7. SelectAction>SetOnlineUserFilter.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

86/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. EnteranasteriskandclickOKtofetchusersfromtheidentitystore.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

87/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Intherightpane,doubleclickyouradministrativeusertoopentheUserdialogbox.Inthisexamplethe
administrativeuserisweblogic.

10. IntheUserdialogbox,ontheUsertab,setLogginglevelto2.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

88/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickOKtoopentheCheckOutObjectsdialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

89/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. IntheCheckOutObjectsdialogbox,clickCheckOut.Whenyouareworkinginarepositoryopeninonlinemode,
youarepromptedtocheckoutobjectswhenyouattempttoperformvariousoperations.

13. SelectAction>ClosetocloseIdentityManager.

14. SelectFile>CheckInChanges.Alternatively,youcanclicktheCheckInChangesicononthetoolbar.

15. Savetherepository.Thereisnoneedtocheckconsistency.

16. SelectFile>CopyAstosaveacopyoftheonlinerepositorywiththesecuritychanges.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

90/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

17. IntheSaveCopyAsdialogbox,savethefileasBISAMPLE.rpd,replacingtheexistingBISAMPLErepository.

18. ClickYeswhenaskedifyouwanttoreplacetheexistingBISAMPLErepository.ThiswillcreateanewBISAMPLE
repositorywithqueryloggingsetfortheweblogicuser.

19. SelectFile>Closetoclosetherepository.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

91/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

20. ClickOKwhenyoureceivethefollowingmessage:
"Inorderforyouronlinechangestotakeeffect,youwillhavetomanuallyrestarteachnonmasterOracleBIServer
instanceinthecluster."

21. LeavetheAdministrationToolopen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

92/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateandRunanAnalysis
1. OpenabrowseroranewbrowsertabandenterthefollowingURLtonavigatetoOracleBusinessIntelligence:
http://<machinename>:7001/analytics
InthistutorialtheURLishttp://localhost:7001/analytics

2. Signinasanadministrativeuser.Typicallyyouusetheadministrativeusernameandpasswordprovidedduringthe
OracleBIinstallation.Inthisexampletheusernameisweblogic.Ifyouneedhelpidentifyingausernameand
password,contactyourcompany'sOracleBIAdministrator.

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

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

93/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. SelecttheSampleSalessubjectarea.

5. Intheleftnavigationpane,expandthefoldersintheSampleSalessubjectareaandconfirmthattheuserinterface
matchesthepresentationlayeroftherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

94/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. DoubleclickthefollowingcolumnnamesintheSubjectAreaspanetoaddthemtotheanalysis:
Time.PerNameYear
Products.Type
BaseFacts.Revenue

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

95/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickResults.

8. Theanalysisresultsaredisplayedinacompoundlayout,whichincludesaTitleviewandaTableview.

9. Usethebuttonsatthebottomofthecompoundlayouttoviewadditionalrows.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

96/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ChecktheQueryLog
1. ReturntoFusionMiddlewareControl,whichshouldstillbeopen.Ifnot,enterhttp://localhost:7001/eminabrowser
andsigninasyouradministrativeuser.

2. ClicktheDiagnosticstab.

3. ClicktheLogMessagessubtab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

97/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ScrolltothebottomofthewindowtotheView/SearchLogFilessection.

5. ClickServerLogtonavigatetotheLogMessagesscreen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

98/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheLogMessagesscreen,leavethedatarangesettoMostRecent,1Days.Deselectallmessagetypesexcept
forTrace.

7. IntheMessagefield,entersendingquerytodatabase.

8. ClickSearch.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

99/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Thereshouldbeonlyonemessageatthispoint,butiftherearemorethanone,selectthelastmessageinthelist.
Thisisthemostrecentquerysenttothedatabase.

10. Inthebottompane,clicktheCollapsePanebutton(arrowontherightside)toviewthelogmessage.Yourresults
shouldlooksimilartothescreenshot.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

100/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClicktheRestorePanebutton.Throughoutthistutorial,youreturntothisviewtocheckthequerylog.

12. LeaveFusionMiddlewareControlopen.

ManagingLogicalTableSources
InthissetofstepsyoucreatemultiplelogicaltablesourcesfortheD3Customerlogicaltable.Tocreatemultiplelogical
tablesourcesyouperformthefollowingsteps:
OpentheRepositoryinOfflineMode
AddaNewLogicalTableSource
CreatePresentationLayerObjects
LoadtheRepository
CreateandRunanAnalysis
ChecktheQueryLog
OpentheRepositoryinOfflineMode
AddaNewLogicalTableSource
CreatePresentationLayerObjects
LoadtheRepository
CreateandRunanAnalysis
ChecktheQueryLog

OpentheRepositoryinOfflineMode
1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusiness
Intelligence>BIAdministration.

2. OpentheBISAMPLErepositoryinofflinemodewithrepositorypasswordisBISAMPLE1.Recallthatearlierinthis
tutorialyoucreatedacopyoftheonlinerepositoryandsaveditasBISAMPLE.rpd.

3. SelectManage>IdentitytoopenIdentityManager.

4. SelectBIRepositoryintheleftpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

101/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. Recallthatearlierinthistutorialyoucreatedacopyoftheonlinerepositorywithloggingleveldefinedforthe
administrativeuser.Confirmthatyouradministrativeuserisvisibleintherightpane.Inthisexamplethe
administrativeuserisweblogic.

6. DoubleclicktheadministrativeusertoopentheUserdialogbox.OntheUsertab,confirmthatlogginglevelissetto
2.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

102/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickCanceltoclosetheUserdialogbox.

8. SelectAction>ClosetocloseIdentityManager.TheofflineBISAMPLErepositorynowhasauserwithalogging
levelsetto2.Thiswillallowyoutocheckthequerylogasyoucompletetheremainingexercisesinthistutorial.You
willnothavetorepeatthestepsofcopyinganonlinerepository.

AddaNewLogicalTableSource
1. IntheBMMlayer,expandSampleSales>D3Customer>Sources.NoticethattheD3Customerlogicaltablehas
onelogicaltablesourcenamedD3Customer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

103/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. RenametheD3Customerlogicaltablesource(notthelogicaltable)toLTS1Customer.

3. DoubleclickLTS1CustomertoopentheLogicalTableSourcedialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

104/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClicktheColumnMappingtabandnoticethatalllogicalcolumnsmaptophysicalcolumnsinthesamephysical
table:D3Customer.ItmaybenecessarytoscrolltotherighttoseethePhysicalTablecolumn.Makesure"Show
mappedcolumns"isselected.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

105/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickOKtoclosetheLogicalTableSourcedialogbox.

6. InthePhysicallayer,expandorcl>BISAMPLE.

7. DragD4AddressfromthePhysicallayertotheD3CustomerlogicaltableintheBMMlayer.Noticethiscreatesa
newlogicaltablesourcenamedD4AddressfortheD3Customerlogicaltable.Italsocreatesnewlogicalcolumns
thatmaptotheD4Addressphysicaltable.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

106/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

107/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. IntheBMMlayer,doubleclickthenewD4AddresslogicaltablesourcetoopentheLogicalTableSourcedialogbox.

9. OntheGeneraltab,enterLTS2CustomerAddressintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

108/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClicktheColumnMappingtabandnoticethatalllogicalcolumnsmaptophysicalcolumnsinthesamephysical
table:D4Address.Ifnecessary,selectShowmappedcolumnsanddeselectShowunmappedcolumns.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

109/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickOKtoclosetheLogicalTableSourcedialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

110/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ConfirmthattheD3Customerlogicaltablenowhastwologicaltablesources:LTS1CustomerandLTS2
CustomerAddress.Asinglelogicaltablenowmapstotwophysicalsources.

13. RightclickthenewADDRESS_KEYcolumnandselectDelete.Thisisaduplicatecolumnandisnotneeded.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

111/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickYestoconfirmthedelete.

15. UsetheRenameWizardoramanualrenamingtechniquetorenamethenewaddresslogicalcolumns(with
uppercaseletters)inD3Customer.Yourresultsshouldlooksimilartothescreenshot.Hint:TousetheRename
Wizard,selectallofthenewlogicalcolumns,thenrightclickanyoneofthehighlightedcolumnsandselectRename
Wizardtolaunchthewizard.IfyouneedhelpusingtheRenameWizard,refertothesestepsfromearlierinthis
tutorial.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

112/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. Renametheremaininglogicaltablesourcesaccordingtothefollowingtable.Recallthatlogicaltablesourcesare
locatedintheSourcesfolderforalogicaltable.Forexample:D2Product>Sources.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

113/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

LogicalTableSource

Rename

D2Product

LTS1Product

F1Revenue

LTS1Revenue

Yourresultsshouldlooksimilartothescreenshot.

CreatePresentationLayerObjects
1. InthePresentationlayer,rightclicktheSampleSalessubjectareaandselectNewPresentationTabletoopenthe
PresentationTabledialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

114/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,enterCustomerRegionsintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

115/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickOKtoclosethePresentationTabledialogbox.ConfirmthattheCustomerRegionspresentationtableisadded
totheSampleSalessubjectareainthePresentationlayer.

4. IntheBMMlayer,expandSampleSales>D3Customer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

116/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. DragthefollowinglogicalcolumnsfromD3CustomertoCustomerRegionsinthePresentationlayer:
Address1
Address2
Area
City
CountryName
EstabName
PostalCode
Region
StateProvince
StateProvinceAbbrv
Yourcolumnnamesmaybeslightlydifferentdependingonhowyourenamedthem.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

117/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ReordertheCustomerRegionspresentationcolumnsinthefollowingorder,fromtoptobottom:
Region
Area
CountryName
StateProvince
StateProvinceAbbrv
City
PostalCode
Address1
Address2
EstabName

7. DoubleclicktheSampleSalessubjectareainthePresentationlayertoopentheSubjectAreadialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

118/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClickthePresentationTablestab.

9. ReorderthepresentationtablessothatCustomerRegionsappearsafterCustomers.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

119/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClickOKtoclosetheSubjectAreadialogbox.Confirmthatthepresentationtablesappearintheexpectedorder.

Younowhavetwopresentationtables,CustomersandCustomerRegions,mappedtothesamelogicaltable,D3
Customer.TheD3Customerlogicaltableismappedtotwophysicalsources:D3CustomerandD4Address.

11. Savetherepositoryandcheckglobalconsistencywhenprompted.Youshouldreceiveamessagethatthereareno
errors,warnings,orbestpracticeviolationstoreport.

Ifyoudoreceiveanyconsistencycheckerrorsorwarnings,fixthembeforeproceeding.

12. ClickOKtoclosetheconsistencycheckmessage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

120/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. Closetherepository.LeavetheAdministrationToolopen.

LoadtheRepository
1. ReturntoFusionMiddlewareControl,whichshouldstillbeopen.Ifnot,openabrowserandenterthefollowingURL
tonavigatetoFusionMiddlewareControl:
http://<machinename>/:7001/em
InthistutorialtheURLishttp://localhost:7001/em

2. Ifyoursessionhastimedout,youwillneedtologinagain.Loginasanadministrativeuser.Typicallyyouusethe
administrativeusernameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameis
weblogic.

3. Intheleftnavigationpane,expandBusinessIntelligenceandclickcoreapplication.

4. ClicktheDeploymenttab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

121/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClicktheRepositorysubtab.

6. ClickLockandEditConfiguration.

7. ClickClosewhenyoureceivetheconfirmationmessageLockandEditConfigurationCompletedSuccessfully.

8. ClickBrowseandnavigatetothedirectorywiththeBISAMPLErepository.

9. SelecttheBISAMPLE.rpdfileandclickOpen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

122/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.

11. ClickApply.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

123/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ConfirmthatthedefaultRPDisnowBISAMPLEwithanextension.Inthisexamplethefilenameis
BISAMPLE_BI0025.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

124/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. ClickActivateChanges.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

125/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

15. ClickRestarttoapplyrecentchangestonavigatetotheOverviewpage.

16. OntheOverviewpage,clickRestart.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

126/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

17. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartallBIcomponents?

18. Allowtheprocessingtocomplete.

19. ClickClosewhenyoureceivethemessageRestartAllCompletedSuccessfully.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

127/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateandRunanAnalysis
1. ReturntoOracleBI,whichshouldstillbeopen.Ifnot,openabrowserorbrowsertabandenterthefollowingURLto
navigatetoOracleBusinessIntelligence:
http://<machinename>/:7001/analytics
InthistutorialtheURLishttp://localhost:7001/analytics.

2. Ifyourprevioussessionhastimedout,signinasanadministrativeuser.Typicallyyouusetheadministrativeuser
nameandpasswordprovidedduringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

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

4. SelecttheSampleSalessubjectarea.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

128/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. Intheleftnavigationpane,expandthefoldersandconfirmthattheCustomerRegionsfolderandcorresponding
columnsappear.

6. CreatethefollowinganalysisbydoubleclickingcolumnnamesintheSubjectAreaspane:
CustomerRegions.Region
Customers.CustomerName
Products.Type
BaseFacts.Revenue

7. ClickResultstoviewtheanalysisresults.Usethebuttonsatthebottomoftheresultsscreentoseemorerows.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

129/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ChecktheQueryLog
1. ReturntoFusionMiddlewareControl,whichshouldstillbeopen.

2. ClicktheDiagnosticstab.

3. ClicktheLogMessagessubtab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

130/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ScrolltothebottomofthewindowtotheView/SearchLogFilessection.

5. ClickServerLogtonavigatetotheLogMessagesscreen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

131/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheLogMessagesscreen,leavethedatarangesettoMostRecent,1Days.Deselectallmessagetypesexcept
forTrace.

7. IntheMessagefield,entersendingquerytodatabase.

8. ClickSearch.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

132/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Selectthelastmessageinthelist.Thisisthemostrecentquerysenttothedatabase.

10. Inthebottompane,clicktheCollapsePanebutton(arrowontherightside)toviewthelogmessage.Yourresults
shouldlooksimilartothescreenshot.Thescreenshotshowsonlyapartialviewofthelog.

NoticethatbothD3CustomerandD4Addressareaccessed.Thepresentationcolumnsincludedintheanalysis
wereselectedfromtwodifferentpresentationtables:CustomersandCustomerRegions.Bothofthesepresentation
tablesmaptothesamelogicaltable,D3Customer.TheD3Customerlogicaltablemapstotwophysicalsources:D3
CustomerandD4Address.

11. ClicktheRestorePanebutton.

12. LeaveEnterpriseManageropen.

CreatingCalculationMeasures
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

133/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Inthissetofstepsyouuseexistingmeasurestocreatedaderivedcalculationmeasure.Tocreateaderivedcalculation
measureyouperformthefollowingsteps:
OpentheRepositoryinOfflineMode
CreateaCalculationMeasureDerivedfromExistingColumns
CreateaCalculationMeasureUsingaFunction
LoadtheRepository
CreateandRunanAnalysis
ChecktheQueryLog
OpentheRepositoryinOfflineMode
CreateaCalculationMeasureDerivedfromExistingColumns
CreateaCalculationMeasureUsingaFunction
LoadtheRepository
CreateandRunanAnalysis
ChecktheQueryLog

OpentheRepositoryinOfflineMode
1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusiness
Intelligence>BIAdministration.

2. SelectFile>Open>Offline.

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

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

134/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

CreateaCalculationMeasureDerivedfromExistingColumns
1. IntheBMMlayer,expandSampleSales>F1Revenue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

135/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. RightclickF1RevenueandselectNewObject>LogicalColumntoopentheLogicalColumndialogbox.

3. OntheGeneraltab,enterActualUnitPriceintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

136/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClicktheColumnSourcetab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

137/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. SelectDerivedfromexistingcolumnsusinganexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

138/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClicktheEditExpressionbuttontoopenExpressionBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

139/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. IntheleftpaneselectLogicalTables>F1Revenue>Revenue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

140/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClicktheInsertselecteditembuttontomovetheRevenuecolumntotherightpane.

9. Clickthedivisionoperatortoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

141/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. IntheleftpaneselectLogicalTables>F1RevenueandthendoubleclickUnitstoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

142/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickOKtocloseExpressionBuilder.NoticethattheformulaisaddedtotheLogicalColumndialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

143/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickOKtoclosetheLogicalColumndialogbox.TheActualUnitPricecalculatedmeasureisaddedtothe
businessmodel.

13. DragActualUnitPricefromtheBMMlayertotheBaseFactspresentationtableinthePresentationlayer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

144/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.

CreateaCalculationMeasureUsingaFunction
1. IntheBMMlayer,rightclickF1RevenueandselectNewObject>LogicalColumntoopentheLogicalColumn
dialogbox.

2. OntheGeneraltab,enterRevenueRankintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

145/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClicktheColumnSourcetab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

146/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. SelectDerivedfromexistingcolumnsusinganexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

147/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClicktheEditExpressionbuttontoopenExpressionBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

148/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheleftpaneselectFunctions>Displayfunctions>Rank.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

149/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClicktheInsertselecteditembuttontomovetheRankfunctiontotherightpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

150/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. Click<<numExpr>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

151/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. IntheleftpaneselectLogicalTables>F1RevenueandthendoubleclickRevenuetoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

152/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClickOKtocloseExpressionBuilder.NoticethattheformulaisaddedtotheLogicalColumndialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

153/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickOKtoclosetheLogicalColumndialogbox.TheRevenueRankcalculatedmeasureisaddedtothebusiness
model.

12. DragRevenueRankfromtheBMMlayertotheBaseFactspresentationtableinthePresentationlayer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

154/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.

14. Closetherepository.LeavetheAdminToolopen.

LoadtheRepository
1. ReturntoFusionMiddlewareControl,whichshouldstillbeopen.Ifnot,openabrowserandenterthefollowingURL
tonavigatetoFusionMiddlewareControlEnterpriseManager:
http://<machinename>/:7001/em
InthistutorialtheURLishttp://localhost:7001/em

2. Ifnecessary,loginasanadministrativeuser.Typicallyyouusetheadministrativeusernameandpasswordprovided
duringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

3. Intheleftnavigationpane,expandBusinessIntelligenceandclickoncoreapplication.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

155/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClicktheDeploymenttab.

5. ClicktheRepositorysubtab.

6. ClickLockandEditConfiguration.

7. ClickClosewhenyoureceivetheconfirmationmessageLockandEditConfigurationCompletedSuccessfully.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

156/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClickBrowseandnavigatetothedirectorywiththeBISAMPLErepository.

9. SelecttheBISAMPLE.rpdfileandclickOpen.

10. EnterBISAMPLE1astherepositorypasswordandconfirmthepassword.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

157/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. ClickApply.

12. ConfirmthatthedefaultRPDisnowBISAMPLEwithanextension.Inthisexamplethefilenameis
BISAMPLE_BI0025.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

158/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. ClickActivateChanges.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

159/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickClosewhenyoureceivetheconfirmationmessageActivateChangesCompletedSuccessfully.

15. ClickRestarttoapplyrecentchangestonavigatetotheOverviewpage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

160/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. OntheOverviewpage,clickRestart.

17. ClickYeswhenyoureceivethemessageAreyousureyouwanttorestartallBIcomponents?

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

161/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

18. Allowtheprocessingtocomplete.

19. ClickClosewhenyoureceivethemessageRestartAllCompletedSuccessfully.

CreateandRunanAnalysis
1. ReturntoOracleBI,whichshouldstillbeopen.Ifnot,openabrowserorbrowsertabandenterthefollowingURLto
navigatetoOracleBusinessIntelligence:
http://<machinename>/:7001/analytics
InthistutorialtheURLishttp://localhost:7001/analytics.

2. Ifnecessary,loginasanadministrativeuser.Typicallyyouusetheadministrativeusernameandpasswordprovided
duringtheOracleBIinstallation.Inthisexampletheusernameisweblogic.

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

4. SelecttheSampleSalessubjectarea.

5. Intheleftnavigationpane,expandtheBaseFactsfolderandconfirmthattheActualUnitPriceandRevenue
Rankcolumnsarevisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

162/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. CreatethefollowinganalysisbydoubleclickingcolumnnamesintheSubjectAreaspane:
Products.Product
BaseFacts.Revenue
BaseFacts.RevenueRank
BaseFacts.Units
BaseFacts.ActualUnitPrice

7. SortRevenueRankinascendingorder.

8. ClickResultstoviewtheanalysisresults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

163/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

PleasenotethattheActualUnitPricecalculationiscorrect,althoughitdoesnotmakesensefromabusiness
perspective.Forexample,theunitpriceforanLCDHDTelevisionwouldnotbe9dollars.Thisisaresultofthe
underlyingsampledata.

ChecktheQueryLog
1. Inthissetofstepsyouuseanothermethodtocheckthequerylog.ClicktheAdministrationlinkintheupperright.

1. ClickOKwhenyouareasked"areyousureyouwanttonavigateawayfromthispage?"

1. OntheAdministrationpage,underSessionManagement,selectManageSessions.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

164/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

1. IntheCursorCachesection,locateyourqueryandselectViewLog.

2. Yourlogentryshouldlooksimilartothescreenshot.

NotethatthedivisionofRevenuebyUnitsiscalculatedintheouterqueryblock(D1.c2/nullif(D1.c1,0)asc3inthis
example).BecauseyoudefinedtheActualUnitPricecalculationusinglogicalcolumns,theSUMaggregationruleis
appliedtotheRevenueandUnitscolumnsfirstandthenthedivisioniscalculated.

3. ClickthebrowserbackbuttontoreturntotheAdministrationscreen.

4. SignoutofOracleBI.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

165/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreatingLogicalDimensionswithLevelBasedHierarchies
Inthissetofstepsyouaddlogicaldimensionhierarchiestothebusinessmodel.Alogicaldimensionrepresentsa
hierarchicalorganizationoflogicalcolumnsbelongingtoasinglelogicaldimensiontable.Logicaldimensionscanexist
intheBusinessModelandMappinglayerandinthePresentationLayer.AddinglogicaldimensionstothePresentation
layerexposesthemtousers,whichenablesuserstocreatehierarchybasedqueries.Youimplementfourlogical
dimensionsforABC:Time,Product,Office,andCustomer.Creatinglogicaldimensionswithhierarchiesallowsyouto
buildlevelbasedmeasures,defineaggregationrulesthatvarybydimension,providedrilldownonchartsandtablesin
analysesanddashboards,anddefinethecontentofaggregatesources.Tocreatelogicaldimensionswithlevelbased
hierarchies,youperformthefollowingsteps:
OpentheRepositoryinOfflineMode
CreateaLogicalDimensionforProduct
CreateLogicalLevels
AssociateLogicalColumnswithLogicalLevels
SetLogicalLevelKeys
CreateaLogicalDimensionforTime
AssociateTimeLogicalColumnswithLogicalLevels
CreateaLogicalDimensionforCustomer
SetAggregationContentforLogicalTableSources
TestYourWork
OpentheRepositoryinOfflineMode
CreateaLogicalDimensionforProduct
CreateLogicalLevels
AssociateLogicalColumnswithLogicalLevels
SetLogicalLevelKeys
CreateaLogicalDimensionforTime
AssociateTimeLogicalColumnswithLogicalLevels
CreateaLogicalDimensionforCustomer
SetAggregationContentforLogicalTableSources
TestYourWork

OpentheRepositoryinOfflineMode
1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusiness
Intelligence>BIAdministration.

2. SelectFile>Open>Offline.

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

4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

CreateaLogicalDimensionforProduct
1. IntheBMMlayer,rightclicktheSampleSalesbusinessmodelandselectNewObject>LogicalDimension>
DimensionwithLevelBasedHierarchytoopentheLogicalDimensiondialogbox.

2. NamethelogicaldimensionH2Product.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

166/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickOK.ThelogicaldimensionisaddedtotheSampleSalesbusinessmodel.

CreateLogicalLevels
1. RightclickH2ProductandselectNewObject>LogicalLevel.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

167/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. NamethelogicallevelProductTotal.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

168/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. Becausethislevelrepresentsthegrandtotalforproducts,selecttheGrandtotallevelcheckbox.Notethatwhen
youdothis,theSupportsrolluptohigherlevelofaggregationfieldisgrayedoutandprotected.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

169/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickOKtoclosetheLogicalLeveldialogbox.TheProductTotallevelisaddedtotheH2Productlogical
dimension.

5. RightclickProductTotalandselectNewObject>ChildLeveltoopentheLogicalLeveldialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

170/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. NamethelogicallevelProductBrand.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

171/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtoclosetheLogicalLeveldialogbox.TheProductBrandlevelisaddedtothelogicaldimension.

8. Repeatthestepstoaddthefollowingchildlevels:
ProductLOBasachildofProductBrand
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

172/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ProductTypeasachildofProductLOB

ProductDetailasachildofProductType
Usethescreenshotasaguide:

AssociateLogicalColumnswithLogicalLevels
1. ExpandtheD2Productlogicaltable.

2. DragtheBrandcolumnfromD2ProducttotheProductBrandlevelinH2Product.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

173/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ContinuedragginglogicalcolumnsfromtheD2ProductlogicaltabletotheircorrespondinglevelsintheH2Product
logicaldimension:
LogicalColumn

LogicalLevel

Lob

ProductLOB

Type

ProductType

Product

ProductDetail

ProdKey

ProductDetail

Yourresultsshouldlooksimilartothescreenshot:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

174/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

SetLogicalLevelKeys
1. DoubleclicktheProductBrandlogicalleveltoopentheLogicalLeveldialogbox.OntheGeneraltab,noticethat
theProductLOBchildlevelisdisplayed.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

175/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. ClicktheKeystab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

176/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. EnterBrandforKeyName.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

177/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. IntheColumnsfield,usethedropdownlisttoselectD2Product.Brand.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

178/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. CheckUseforDisplay.Whenthisisselected,userscandrilldowntothiscolumnfromahigherlevel.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

179/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. SetBrandasthePrimarykey.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

180/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtoclosetheLogicalLeveldialogbox.TheiconchangesforBrandtoshowthatitisthekeyfortheProduct
Brandlevel.

8. Useadifferenttechniquetocreatealogicallevelkey:RightclickLobfortheProductLOBlevelandselectNew
LogicalLevelKeytoopentheLogicalLevelKeydialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

181/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. IntheLogicalLevelKeydialogbox,acceptthedefaultsandclickOK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

182/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. TheiconchangesforLobtoshowthatitisthekeyfortheProductLOBlevel.

11. UseeithermethodtosettheremainingkeysfortheH2Productlogicaldimension:
LogicalLevel LogicalLevelKey UseforDisplay
ProductType

Type

Yes

ProductDetail Product

Yes

ProductDetail ProdKey

No

Yourresultsshouldlooksimilartothescreenshot:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

183/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

PleasenotethattheDetaillevel(lowestlevelofthehierarchy)musthavethecolumnthatisthelogicalkeyofthe
dimensiontableassociatedwithitanditmustbethekeyforthatlevel:ProdKeyinthisexample.

12. SetProdKeyastheprimarykeyfortheProductDetaillevel.Hint:DoubleclickthelevelandselecttheKeystab.

CreateaLogicalDimensionforTime
1. UseadifferenttechniquetocreatealogicaldimensionforTime.RightclicktheD1Timelogicaltableandselect
CreateLogicalDimension>DimensionwithLevelBasedHierarchy.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

184/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. Anewlogicaldimension,D1TimeDiminthisexample,isautomaticallyaddedtothebusinessmodel.

3. RenameD1TimeDimtoH1Time.

4. ExpandH1Time.Noticethattwolevelwerecreatedautomatically:D1TimeTotalandD1TimeDetail.D1Time
DetailispopulatedwithallofthecolumnsfromtheD1Timelogicaltable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

185/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. RenameD1TimeTotaltoTimeTotal,andrenameD1TimeDetailtoTimeDetail.

6. RightclickTimeDetailandselectNewObject>ParentLeveltoopentheLogicalLeveldialogbox.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

186/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. OntheGeneraltab,namethelogicallevelWeek,andcheckSupportsrolluptohigherlevelofaggregation.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

187/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClickOKtoclosetheLogicalLeveldialogbox.TheWeeklevelisaddedtotheH1Timelogicaldimension.

9. Repeatthestepstoaddtheremaininglogicallevels:
MonthasaparentofWeek
QuarterasaparentofMonth
HalfasaparentofQuarter
YearasaparentofHalf
Yourfinalresultsshouldlooksimilartothescreenshot:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

188/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

AssociateTimeLogicalColumnswithLogicalLevels
1. Useadifferenttechniquetoassociatelogicalcolumnswithlogicallevels.DragthelogicalcolumnsfromtheTime
Detaillogicallevel(notfromtheD1Timelogicaltable)totheircorrespondinglevelsintheH1Timelogicaldimension.
Thisisaconvenienttechniquewhenlogicalcolumnsareburieddeepinthebusinessmodel.
LogicalColumn

LogicalLevel

PerNameYear

Year

PerNameHalf

Half

PerNameQtr

Quarter

PerNameMonth

Month

PerNameWeek

Week

Yourresultsshouldlooksimilartothescreenshot:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

189/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. DeleteallremainingcolumnsfromtheTimeDetaillevelexceptforCalendarDatesothatonlyCalendarDateis
associatedwiththeTimeDetaillevel.Noticethatdeletingobjectsfromthehierarchydoesnotdeletethemfromthe
logicaltableinthebusinessmodel.

3. SetthelogicalkeysfortheH1Timelogicaldimensionaccordingtothefollowingtable:
LogicalLevel

LevelKey

UseforDisplay

Year

PerNameYear

Yes

Half

PerNameHalf

Yes

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

190/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Quarter

PerNameQtr

Yes

Month

PerNameMonth

Yes

Week

PerNameWeek

Yes

TimeDetail

CalendarDate

Yes

CreateaLogicalDimensionforCustomer
1. UseeithertechniquetocreatealogicaldimensionwithalevelbasedhierarchynamedH3CustomerfortheD3
Customerlogicaltablewiththefollowinglevels,columns,andkeys.Hint:Createthelevelsfirst,thendoubleclicka
logicalcolumntoopentheLogicalColumndialogboxandusetheLevelstabtoassociatethelogicalcolumnwitha
logicallevel.
Level

Column

Key

UseforDisplay

CustomerTotal

<none>

<none>

<none>

CustomerRegion

Region

Region

Yes

CustomerArea

Area

Area

Yes

CustomerCountry

CountryName

CountryName

Yes

CustomerState

StateProvince

StateProvince

Yes

CustomerCity

City

City

Yes

PostalCode

Yes

CustomerName

Yes

CustomerPostalCode PostalCode

CustomerDetail

CustomerName

CustomerNumber CustomerNumber No

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

191/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

SetCustomerTotalasthegrandtotallevel.
SetCustomerNumberastheprimarykeyfortheCustomerDetaillevel.
Yourresultsshouldlooksimilartothescreenshot:

SetAggregationContentforLogicalTableSources
1. ExpandD1Time>Sources.

2. DoubleclicktheLTS1TimelogicaltablesourcetoopentheLogicalTableSourcedialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

192/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClicktheContenttab.

4. ConfirmthatAggregationcontent,groupbyissettoLogicalLevelandthelogicallevelissettoTimeDetailfor
theH1Timelogicaldimension.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

193/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickOKtoclosetheLogicalTableSourcedialogbox.

6. Repeattoverifyorsetcontentsettingsfortheremaininglogicaltablesourcesusingthetableandscreenshotsasa
guide:
LogicalTableSource

LogicalDimension

LogicalLevel

LTS1Product

H2Product

ProductDetail

LTS1Customer

H3Customer

CustomerDetail

LTS2CustomerAddress

H3Customer

CustomerDetail

H1Time

TimeDetail

H2Product

ProductDetail

H3Customer

CustomerDetail

LTS1Revenue

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

194/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

195/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

196/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

197/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. Savetherepositoryandcheckglobalconsistency.Fixanyerrorsorwarningsbeforeproceeding.Noticethatyoudid
nothavetomakeanychangestothePresentationlayer.

8. Closetherepository.LeavetheAdministrationToolopen.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreviewsteps
fromearlierinthistutorial.

2. ReturntoOracleBI,whichshouldstillbeopen,andsigninifnecessary.

3. CreatethefollowinganalysistotesttheProducthierarchy.
Products.Brand
BaseFacts.Revenue

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

198/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickResults.

5. ClickontheBizTechbrandandverifythatyoucandrilldownthroughthehierarchytoseerevenuedataateach
level.

6. SelectNew>Analysis>SampleSales.

7. ClickOKtoconfirmthatyouwanttonavigateawayfromthispage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

199/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. Createthefollowinganalysis:
Time.PerNameYear
BaseFacts.Revenue

9. ClickResultsandverifythatyoucandrilldownthroughtheTimehierarchy.

10. RepeatthestepsandcreatethefollowinganalysistotesttheCustomershierarchy:
CustomerRegions.Region
BaseFacts.Revenue

11. ClickResultsandverifythatyoucandrilldownthroughtheCustomershierarchy.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

200/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. SignoutofOracleBI.ClickOKwhenpromptedaboutnavigatingawayfromthispage.LeavetheOracleBIbrowser
pageopen.

CreatingLevelBasedMeasures
InthissetofstepsyoucreatelevelbasedmeasuresthatcalculatetotaldollarsatvariouslevelsintheProduct
hierarchy,andthenusealevelbasedmeasuretocreateasharemeasure.
Tocreatelevelbasedmeasuresandasharemeasure,youperformthefollowingsteps:
OpentheRepositoryinOfflineMode
CreateLevelBasedMeasures
CreateaShareMeasure
TestYourWork
OpentheRepositoryinOfflineMode
CreateLevelBasedMeasures
CreateaShareMeasure
TestYourWork

OpentheRepositoryinOfflineMode
1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusiness
Intelligence>BIAdministration.

2. SelectFile>Open>Offline.

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

4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

CreateLevelBasedMeasures
1. IntheBusinessModelandMappinglayer,rightclicktheF1RevenuetableandselectNewObject>Logical
ColumntoopentheLogicalColumndialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

201/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,enterProductTotalRevenueintheNamefield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

202/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClicktheColumnSourcetab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

203/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. SelectDerivedfromexistingcolumnsusinganexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

204/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. OpentheExpressionBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

205/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheExpressionBuilder,addLogicalTables>F1Revenue>Revenuetotheexpression.RecallthattheRevenue
columnalreadyhasadefaultaggregationruleofSum.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

206/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtocloseExpressionBuilder.

8. ClicktheLevelstab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

207/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. FortheH2Productlogicaldimension,selectProductTotalfromtheLogicalLeveldropdownlisttospecifythatthis
measureshouldbecalculatedatthegrandtotallevelintheproducthierarchy.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

208/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClickOKtoclosetheLogicalColumndialogbox.TheProductTotalRevenuemeasureappearsintheProductTotal
leveloftheH2ProductlogicaldimensionandtheF1Revenuelogicalfacttable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

209/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. Repeatthestepstocreateasecondlevelbasedmeasure:
Name

LogicalDimension

LogicalLevel

ProductTypeRevenue

H2Product

ProductType

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

210/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ExposethenewcolumnstousersbydraggingProductTotalRevenueandProductTypeRevenuetotheBase
FactspresentationtableintheSampleSalessubjectareainthePresentationlayer.Youcandragthecolumnsfrom
eithertheH2ProductlogicaldimensionortheF1Revenuelogicaltable.

CreateaShareMeasure
1. IntheBusinessModelandMappinglayer,rightclicktheF1RevenuetableandselectNewObject>Logical
ColumntoopentheLogicalColumndialogbox.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

211/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,namethelogicalcolumnProductShare.

3. OntheColumnSourcetab,select"Derivedfromexistingcolumnsusinganexpression."

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

212/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. OpentheExpressionBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

213/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. IntheExpressionBuilder,SelectFunctions>MathematicFunctions>Round.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

214/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClickInsertselecteditem.Thefunctionappearsintheeditbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

215/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickSourceNumberintheformula.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

216/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. Enter100*followedbyaspace.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

217/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. InsertLogicalTables>F1Revenue>Revenue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

218/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. Usingthetoolbar,clicktheDivisionbutton.Anothersetofanglebracketsappears,<<expr>>.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

219/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. Click<<expr>>.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

220/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. InsertLogicalTables>F1Revenue>ProductTotalRevenue.Recallthatthisisthetotalmeasureforthe
hierarchy.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

221/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. Clickbetweenthelastsetofanglebrackets,<<Digits>>,andenter1.Thisrepresentsthenumberofdigitsof
precisionwithwhichtoroundtheinteger.

14. Checkyourwork:
Round(100*"SampleSales"."F1Revenue"."Revenue"/"SampleSales"."F1
Revenue"."ProductTotalRevenue",1)
Thissharemeasurewillallowyoutorunananalysisthatshowshowrevenueofaspecificproductcomparestototal
revenueforallproducts.

15. ClickOKtoclosetheExpressionBuilder.TheformulaisvisibleintheLogicalColumndialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

222/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. ClickOKtoclosetheLogicalColumndialogbox.TheProductSharelogicalcolumnisaddedtothebusinessmodel.

17. AddtheProductSharemeasuretotheBaseFactspresentationtable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

223/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

18. Savetherepository.Checkconsistency.Youshouldreceivethefollowingmessage.

Ifthereareconsistencyerrorsorwarnings,correctthembeforeyouproceed.

19. Closetherepository.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreview
stepsfromearlierinthistutorial.

2. ReturntoOracleBI,whichshouldstillbeopen,andsignin.

3. Createthefollowinganalysistotestthelevelbasedandsharemeasures.
Products.Product
BaseFacts.Revenue
BaseFacts.ProductTypeRevenue
BaseFacts.ProductShare

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

224/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. FortheProductSharecolumn,selectColumnProperties.

5. OntheDataFormattab,selectOverrideDefaultDataFormat.

6. ChangeTreatNumbersAstoPercentageandsetDecimalPlacesto2.DeselectUse1000'sseparator.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

225/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtoclosetheColumnPropertiesdialogbox.

8. SortProductShareindescendingorder.

9. ClickResults.NoticethatProductTypeRevenuereturnsdollarsgroupedbyTypeeventhoughthequeryisata
differentlevelthanTypeProductinthisexample.ProductShareshowsthepercentoftotalrevenueforeachproduct
sortedindescendingorder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

226/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. SignoutofOracleBI.

11. ClickOKwhenyoureceivethemessage:Areyousureyouwanttonavigateawayfromthispage?

CreatingLogicalDimensionswithParentChildHierarchies
Aparentchildhierarchyisahierarchyofmembersthatallhavethesametype.Thiscontrastswithlevelbased
hierarchies,wheremembersofthesametypeoccuronlyatasinglelevelofthehierarchy.Themostcommonreallife
occurrenceofaparentchildhierarchyisanorganizationalreportinghierarchychart,wherethefollowingallapply:
Eachindividualintheorganizationisanemployee.
Eachemployee,apartfromthetoplevelmanagers,reportstoasinglemanager.
Thereportinghierarchyhasmanylevels.
Inrelationaltables,therelationshipsbetweendifferentmembersinaparentchildhierarchyareimplicitlydefinedbythe
identifierkeyvaluesintheassociatedbasetable.However,foreachOracleBIServerparentchildhierarchydefinedon
arelationaltable,youmustalsoexplicitlydefinetheintermemberrelationshipsinaseparateparentchildrelationship
table.
Tocreatealogicaldimensionwithaparentchildhierarchy,performthefollowingsteps:
OpentheRepositoryinOfflineMode
ImportMetadataandDefinePhysicalLayerObjects
CreateLogicalTableandLogicalColumns
CreateaLogicalJoin
CreateaParentChildLogicalDimension
DefineParentChildSettings
CreatePresentationLayerObjects
TestYourWork
OpentheRepositoryinOfflineMode
ImportMetadataandDefinePhysicalLayerObjects
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

227/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateLogicalTableandLogicalColumns
CreateaLogicalJoin
CreateaParentChildLogicalDimension
DefineParentChildSettings
CreatePresentationLayerObjects
TestYourWork

OpentheRepositoryinOfflineMode
1. ReturntotheAdministrationTool,whichshouldstillbeopen.Ifnot,selectStart>Programs>OracleBusiness
Intelligence>BIAdministration.

2. SelectFile>Open>Offline.

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

4. EnterBISAMPLE1astherepositorypasswordandclickOKtoopentherepository.

ImportMetadataandDefinePhysicalLayerObjects
1. InthePhysicallayer,expandorcl.

2. RightclickConnectionPoolandselectImportMetadatatoopentheImportWizard.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

228/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. IntheSelectMetadataTypesscreen,acceptthedefaultsandclickNext.

4. IntheSelectMetadataObjectsscreen,inthedatasourceview,expandBISAMPLEandselectthefollowingtables
forimport:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

229/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

SAMP_EMPL_D_VH
SAMP_EMPL_PARENT_CHILD_MAP
SAMP_EMPL_POSTN_D

5. ClicktheImportSelectedbuttontomovethetablestotheRepositoryView.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

230/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClickFinishtoclosetheImportWizard.

7. ConfirmthatthethreetablesarevisibleinthePhysicallayeroftherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

231/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. RightclickSAMP_EMPL_PARENT_CHILD_MAPandselectViewData.

Thisisanexampleofaparentchildrelationshiptablewithrowsthatdefinetheintermemberrelationshipsofan
employeehierarchy.ItincludesaMemberKeycolumn,whichidentifiesthemember(employee)anAncestorKey,
whichidentifiestheancestor(manager)ofthememberaDistancecolumn,whichspecifiesthenumberofparent
childhierarchylevelsfromthemembertotheancestorandaLeafcolumn,whichindicatesifthememberisaleaf
member.

9. Createthefollowingaliasesforthetables:
Table

Alias

SAMP_EMPL_D_VH

D50SalesRep

SAMP_EMPL_PARENT_CHILD_MAP

D51SalesRepParentChild

SAMP_EMPL_POSTN_D

D52SalesRepPosition

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

232/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. UsethePhysicalDiagramtocreatethefollowingphysicaljoinsforthealiastables:
"orcl".""."BISAMPLE"."D52SalesRepPosition"."POSTN_KEY"="orcl".""."BISAMPLE"."D50
SalesRep"."POSTN_KEY"
"orcl".""."BISAMPLE"."D50SalesRep"."EMPLOYEE_KEY"="orcl".""."BISAMPLE"."D51Sales
RepParentChild"."ANCESTOR_KEY"
"orcl".""."BISAMPLE"."D51SalesRepParentChild"."MEMBER_KEY"=
"orcl".""."BISAMPLE"."F1Revenue"."EMPL_KEY"

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

233/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateLogicalTableandLogicalColumns
1. IntheBMMlayer,rightclicktheSampleSalesbusinessmodelandselectNewObject>LogicalTabletoopenthe
LogicalTabledialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

234/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,namethelogicaltableD5SalesRep.

3. ClickOKtoaddthelogicaltabletothebusinessmodel.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

235/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

NoticethattheD5SalesRepiconhasa#sign.Thisisbecauseyouhavenotyetdefinedthelogicaljoinrelationship.
Whenyoudefinethelogicaljoinlaterinthistutorialtheiconwillchangeaccordingly.

4. DragallsixcolumnsfromD50SalesRepinthePhysicallayertoD5SalesRepintheBMMlayer.Thisaction
createslogicalcolumnsandaddsaD50SalesReplogicaltablesourcetoD5SalesRep.

5. RenametheD50SalesReplogicaltablesourcetoLTS1SalesRep.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

236/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. InthePhysicallayer,expandD52SalesRepPosition.

7. DragPOSTN_DESCandPOSTN_LEVELfromD52SalesRepPositiontoLTS1SalesRep.Notethatyouare
draggingthecolumnstothelogicaltablesource,notthelogicaltable.Draggingtothelogicaltablewouldcreatea
secondlogicaltablesource.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

237/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. DragDISTANCEfromD51SalesRepParentChildtoLTS1SalesRep.Again,youdragthecolumntothelogical
tablesource,notthelogicaltable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

238/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Renamethelogicalcolumns:
OldName

NewName

POSTN_KEY

PositionKey

TYPE

SalesRepType

EMPL_NAME

SalesRepName

EMPLOYEE_KEY

SalesRepNumber

HIRE_DT

HireDate

MGR_ID

ManagerNumber

POSTN_DESC

Position

POSTN_LEVEL

PositionLevel

DISTANCE

ClosureDistance

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

239/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateaLogicalJoin
1. IntheBMMlayer,selectD5SalesRepandF1Revenue.

2. RightclickeitherhighlightedtableandselectBusinessModelDiagram>SelectedTablesOnlytoopenthe
BusinessModelDiagram.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

240/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. CreatealogicaljoinbetweenD5SalesRepandF1RevenuewithF1Revenueatthemanyendofthejoin.

4. ClosetheBusinessModelDiagram.NoticethattheiconhaschangedfortheD5SalesReptable.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

241/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateaParentChildLogicalDimension
1. RightclicktheD5SalesReplogicaltableandselectCreateLogicalDimension>DimensionwithParentChild
Hierarchy.

2. IntheLogicalDimensiondialogbox,ontheGeneraltab,namethelogicaldimensionH5SalesRep.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

242/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickBrowsenexttoMemberKey.TheBrowsewindowshowsthephysicaltableanditscorrespondingkey.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

243/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickViewtoopentheLogicalKeydialogbox.ConfirmthattheSalesRepNumbercolumnisselected

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

244/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickCanceltoclosetheLogicalKeydialogbox.

6. ClickOKtoclosetheBrowsewindow.

7. ClickBrowsenexttoParentColumn.TheBrowsewindowshowsthecolumnsotherthanthememberkey.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

245/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. DeselectShowQualifiedNamesandselectManagerNumberastheparentcolumnfortheparentchildhierarchy.

9. ClickOKtoclosetheBrowsewindow,butdonotclosetheLogicalDimensiondialogbox.

DefineParentChildSettings
1. ClickParentChildSettingstodisplaytheParentChildRelationshipTableSettingsdialogbox.Notethatatthis
pointtheParentChildRelationshipTableisnotdefined.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

246/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Foreachparentchildhierarchydefinedonarelationaltable,youmustexplicitlydefinetheintermember
relationshipsinaseparateparentchildrelationshiptable.Intheprocessofcreatingtheparentchildrelationship
table,youmaychooseoneofthefollowingoptions:1.Selectapreviouslycreatedparentchildrelationshiptable.2.
Useawizardthatwillgeneratescriptstocreateandpopulatetheparentchildrelationshiptable.Inthenextsetof
stepsyouselectapreviouslycreatedandpopulatedparentchildrelationshiptable.
Foryourinformationonly:TostartthewizardyouwouldclicktheCreateParentChildRelationshipTablebutton.The
wizardcreatestheappropriaterepositorymetadataobjectsandgeneratesSQLscriptsforcreatingandpopulating
theparentchildrelationshiptable.Attheendofthewizard,OracleBIServerstoresthescriptsintodirectories
chosenduringthewizardsession.Thescriptscanthenberunagainstthedatabasetocreateandpopulatethe
parentchildrelationshiptable.Runningthewizardisnotnecessaryinthistutorialbecausetheparentchild
relationshiptableisalreadycreatedandpopulated.

2. ClicktheSelectParentChildRelationshipTablebuttontoopentheSelectPhysicalTabledialogbox.

3. IntheSelectPhysicalTabledialogbox,selecttheD51SalesRepParentChildaliasyoucreated.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

247/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. TheD51SalesRepParentChildaliasisnowdisplayedintheParentChildRelationshipTablecolumn.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

248/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. IntheParentChildTableRelationshipColumnDetailssection,settheappropriatecolumns:
MemberKey

MEMBER_KEY

ParentKey

ANCESTOR_KEY

RelationshipDistance

DISTANCE

LeafNodeIdentifier

IS_LEAF

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

249/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Explanation:
MemberKeyidentifiesthemember.
ParentKeyidentifiesanancestorofthemember,Theancestormaybetheparentofthemember,orahigherlevel
ancestor.
RelationshipDistancespecifiesthenumberofparentchildhierarchicallevelsfromthemembertotheancestor.
LeafNodeIdentifierindicatesifthememberisaleafmember(1=Yes,0=No).

6. ClickOKtoclosetheParentChildRelationshipTableSettingsdialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

250/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtoclosetheLogicalDimensiondialogbox.

8. RightclickH5SalesRepandselectExpandAll.Notethataparentchildlogicaldimensionhasonlytwolevels.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

251/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. DeleteallcolumnsfromtheDetaillevelexceptforSalesRepNameandSalesRepNumber.

10. DoubleclicktheDetailleveltoopentheLogicalLeveldialogbox.

11. OntheKeystab,createanewkeynamedDisplayKeythatmapstotheSalesRepNamecolumn.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

252/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. DeselectUseforDisplayfortheSalesRepNumbercolumnandselectUseforDisplayfortheSalesRepName
column.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

253/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. MakesurethatMemberKeyisstillsettoD50SalesRep_Key.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

254/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickOKtoclosetheLogicalLeveldialogbox.

15. ExpandF1Revenue>SourcesanddoubleclickLTS1RevenuetoopentheLogicalTableSourcedialogbox.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

255/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. OntheContenttab,setthelogicalleveltoDetailfortheH5SalesReplogicaldimension.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

256/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

17. ClickOKtoclosetheLogicalTableSourcedialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

257/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreatePresentationLayerObjects
1. DragtheD5SalesReplogicaltablefromtheBMMlayertotheSampleSalessubjectareainthePresentationlayer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

258/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. RenametheD5SalesReppresentationtabletoSalesReps.

3. MovetheSalesRepspresentationtableabovetheBaseFactstable.

4. ExpandtheSalesRepspresentationtableandnoticethattheH5SalesRepparentchildlogicaldimensionis
automaticallyincludedasapresentationhierarchy.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

259/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. DoubleclicktheH5SalesReppresentationhierarchytoopenthePresentationHierarchydialogbox.

6. OntheDisplayColumnstab,confirmthatSalesRepNameissetasthedisplaycolumn.

7. ClickOKtoclosethePresentationHierarchydialogbox.

8. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

260/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Closetherepository.LeavetheAdministrationToolopen.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreview
stepsfromearlierinthistutorial.

2. ReturntoOracleBI,whichshouldstillbeopen,andsignin.

3. Createthefollowinganalysistotesttheparentchildlogicaldimension.
SalesReps.H5SalesReps
SalesReps.Position
BaseFacts.Revenue

4. ClickResults.

5. Expandthepivottabletoviewdataatdifferentlevelsofthehierarchy.NoticethattheRevenuemeasurerollsup
througheachlevel.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

261/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. SignoutofOracleBI.

CreatingLogicalDimensionswithRaggedandSkippedLevelHierarchies
Tocreatelogicaldimensionswithraggedandskippedlevelhierarchies,youperformthefollowingsteps:
ImportMetadataandDefinePhysicalLayerObjects
CreateLogicalTableandLogicalColumns
CreateaRagged/SkippedLevelsLogicalDimension
CreatePresentationLayerObjects
TestYourWork
ImportMetadataandDefinePhysicalLayerObjects
CreateLogicalTableandLogicalColumns
CreateaRagged/SkippedLevelLogicalDimension
CreatePresentationLayerObjects
TestYourWork

ImportMetadataandDefinePhysicalLayerObjects
1. OpentheBISAMPLErepositoryinofflinemode.

2. InthePhysicallayer,expandorcl.

3. RightclickConnectionPoolandselectImportMetadatatoopentheImportWizard.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

262/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. IntheSelectMetadataTypesscreen,acceptthedefaultsandclickNext.

5. IntheSelectMetadataObjectsscreen,inthedatasourceview,expandBISAMPLE.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

263/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Inthedatasourceview,selecttheSAMP_PRODUCTS_DRtableforimport:

7. ClicktheImportSelectedbuttontomovethetabletotheRepositoryView.

8. ExpandBISAMPLEintheRepositoryViewandconfirmthattheSAMP_PRODUCT_DRtableisvisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

264/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. ClickFinishtoclosetheImportWizard.

10. ConfirmthattheSAMP_PRODUCT_DRtableisvisibleinthePhysicallayeroftherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

265/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. Createthefollowingaliasforthetable:D20Product

12. UsethePhysicalDiagramtocreatethefollowingphysicaljoinforthealiastable:
"orcl".""."BISAMPLE"."D20Product"."PROD_KEY"="orcl".""."BISAMPLE"."F1Revenue"."PROD_KEY"

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

266/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. RightclickD20ProductandselectViewData.

Noticethereareskippedlevelsinthehierarchy.Forexample,brandABrand2hasaNULLvalueforLOBforthe
productDProduct8.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

267/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. CloseViewData.

CreateLogicalTableandLogicalColumns
1. DragD20ProductfromthePhysicallayertotheSampleSalesbusinessmodelintheBMMlayertocreateaD20
Productlogicaltable.ThelogicaljointoF1RevenueiscreatedautomaticallybasedonthejoininthePhysicallayer.

2. RenametheD20Productlogicalcolumns:
OldName

NewName

BRAND

Brand

LOB

LOB

PROD_DSC

Product

PROD_KEY

ProductNumber

Type

ProductType

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

268/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. RenametheD20ProductlogicaltablesourcetoLTS1Product(Ragged)

CreateaRagged/SkippedLevelLogicalDimension
1. RightclicktheD20ProductlogicaltableandselectCreateLogicalDimension>DimensionwithLevelBased
HierarchytoautomaticallycreatealogicaldimensionnamedD20ProductDim.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

269/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. RenameD20ProductDimtoH20Product.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

270/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. DoubleclicktheH20ProductlogicaldimensiontoopentheLogicalDimensiondialogbox.

4. OntheGeneraltab,selectbothRaggedandSkippedLevels.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

271/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClickOKtoclosetheLogicalDimensiondialogbox.

6. ExpandH20Product.

7. Createthefollowinghierarchy:
Level

Column

Key

UseforDisplay

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

272/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

ProductTotal

<none>

<none>

<none>

ProductBrand

Brand

Brand

Yes

ProductLOB

LOB

LOB

Yes

ProductType

ProductType

ProductType

Yes

Product

Product

Product

Yes

ProductDetail

ProductNumber

ProductNumber

Yes

CreatePresentationLayerObjects
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

273/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

1. DragtheD20ProductlogicaltabletotheSampleSalessubjectareainthePresentationlayer.

2. InthePresentationlayer,renameD20ProducttoProducts(Ragged)andmoveProducts(Ragged)toappear
afterProducts.

3. ExpandProducts(Ragged)andnoticethattheH20Productlogicaldimensionisautomaticallyaddedtothe
Presentationlayer.

4. Savetherepositoryandcheckconsistency.Fixanderrorsorwarningsbeforeproceeding.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

274/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. Closetherepository.LeavetheAdministrationToolopen.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreview
stepsfromearlierinthistutorial.

2. ReturntoOracleBI,whichshouldstillbeopen,andsignin.

3. Createthefollowinganalysistotesttheragged/skippedlevelhierarchy:
Products(Ragged).Brand
Products(Ragged).LOB
Products(Ragged).ProductType
Products(Ragged).Product
BaseFacts.Revenue

4. ClickResults.

Theresultsdisplaycorrectlyeventhoughthereareskippedlevels(levelswithNULLvalues)andraggedlevels
(leaveswithvaryingdepth).

5. SignoutofOracleBI.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

275/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

UsingAggregates
Inthissetofstepsyousetupanduseaggregatetablestoimprovequeryperformance.Aggregatetablesstorepre
computedresults,whicharemeasuresthathavebeenaggregated(typicallysummed)overasetofdimensional
attributes.Usingaggregatetablesisapopulartechniqueforspeedingupqueryresponsetimesindecisionsupport
systems.Thiseliminatestheneedforruntimecalculationsanddeliversfasterresultstousers.Thecalculationsare
doneaheadoftimeandtheresultsarestoredinthetables.Aggregatetablestypicallyhavemanyfewerrowsthanthe
nonaggregatetablesand,therefore,processingisfaster.
Tosetupanduseaggregatetables,performthefollowingsteps:
ImportMetadata
CreateNewLogicalTableSources
SetAggregateContent
TestYourWork
ImportMetadata
CreateNewLogicalTableSources
SetAggregateContent
TestYourWork

ImportMetadata
1. ReturntotheAdministrationToolandopentheBISAMPLErepositoryinofflinemode.

1. InthePhysicallayer,expandorcl.

2. RightclickConnectionPoolandselectImportMetadatatoopentheImportWizard.

3. IntheSelectMetadataTypesscreen,selectViewsandclickNext.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

276/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. IntheSelectMetadataObjectsscreen,inthedatasourceview,expandBISAMPLE.

5. Inthedatasourceview,selectthefollowingforimport:
SAMP_REVENUE_FA2
SAMP_TIME_QTR_D

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

277/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClicktheImportSelectedbuttontomovetheobjectstotheRepositoryView.

7. ExpandBISAMPLEintheRepositoryViewandconfirmthattheobjectsarevisible.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

278/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ClickFinishtoclosetheImportWizard.

9. ConfirmthattheobjectsarevisibleinthePhysicallayeroftherepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

279/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. Createthefollowingaliases:
Table

Alias

SAMP_REVENUE_FA2

F2RevenueAggregate

SAMP_TIME_QTR_D

D1TimeQuarterGrain

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

280/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

11. RightclickF2RevenueAggregateandselectViewData.F2RevenueAggregatestoresaggregatedfact
informationforrevenueandunitsatthequarterandproductgrain.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

281/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. RightclickD1TimeQuarterGrainandselectViewData.D1TimeQuarterGrainstorestimedataatthequarter
grain.ItstoresonerecordforeachquarterbeginningwithQ42006andendingwithQ42011.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

282/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. UsethePhysicalDiagramtocreatethefollowingphysicaljoins:
"orcl".""."BISAMPLE"."D2Product"."PROD_KEY"="orcl".""."BISAMPLE"."F2RevenueAggregate"."PROD_KEY"
"orcl".""."BISAMPLE"."D1TimeQuarterGrain"."QTR_KEY"="orcl".""."BISAMPLE"."F2Revenue
Aggregate"."BILL_QTR_KEY"

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

283/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateNewLogicalTableSources
1. InthePhysicallayer,expandD1TimeQuarterGrain.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

284/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. IntheBMMlayer,expandD1Time.

3. DragthefollowingcolumnsfromD1TimeQuarterGraintotheircorrespondingcolumnsinD1Time:Note:Make
suretodragthemtotheircorrespondingcolumns.
D1TimeQuarterGrain

D1Time

CAL_HALF

CalHalf

CAL_QTR

CalQtr

CAL_YEAR

CalYear

DAYS_IN_QTR

DaysinQtr

JULIAN_QTR_NUM

JulianQtrNum

PER_NAME_HALF

PerNameHalf

PER_NAME_QTR

PerNameQtr

PER_NAME_YEAR

PerNameYear

ThisactioncreatesanewlogicaltablesourcenamedD1TimeQuarterGrainforD1Time.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

285/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. RenametheD1TimeQuarterGrainlogicaltablesourcetoLTS2TimeQuarterGrain.

5. DoubleclickLTS2TimeQuarterGraintoopentheLogicalTableSourcedialogbox.

6. OntheColumnMappingtabmakesureshowmappedcolumnsisselectedandnotethecolumnmappings.The
logicalcolumnsnowmaptocolumnsintwophysicaltables:D1TimeandD1TimeQuarterGrain.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

286/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. ClickOKtoclosetheLogicalTableSourcedialogbox.

8. InthePhysicallayerexpandF2RevenueAggregate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

287/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. IntheBMMlayerexpandF1Revenue.

10. DragthefollowingphysicalcolumnsfromF2RevenueAggregatetotheircorrespondinglogicalcolumnsinF1
Revenue:Note:Donotaddthemasnewcolumns.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

288/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

F2RevenueAggregate

F1Revenue

UNITS

Units

REVENUE

Revenue

ThisactioncreatesanewlogicaltablesourcenamedF2RevenueAggregateforF1Revenue.

11. RenametheF2RevenueAggregatelogicaltablesourcetoLTS2RevenueAggregate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

289/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. DoubleclickLTS2RevenueAggregatetoopentheLogicalTableSourcedialogbox.

13. OntheColumnMappingstabmakesureshowmappedcolumnsisselectedandnotethecolumnmappings.The
RevenueandUnitslogicalcolumnsnowmaptocolumnsintwophysicaltables:F1RevenueandF2Revenue
Aggregate.

14. LeavetheLogicalTableSourceLTS2RevenueAggregatedialogboxopen.

SetAggregateContent
1. ClicktheContenttab.

2. Setthefollowinglogicallevelsforthelogicaldimensions:
LogicalDimension

LogicalLevel

H1Time

Quarter

H2Product

ProductTotal

H20Product

ProductTotal

H3Customer

CustomerTotal

H5SalesRep

Total

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

290/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Explanation:Youaresettingaggregationcontentforthefacttabletothecorrespondinglevelsinthedimension
hierarchies.Inasubsequentstep,yousetsimilarlevelsfortheaggregatelogicaltablesourcefortheTime
dimension.NotethatalllevelsaresettothetotallevelexceptfortheH1Timelogicaldimension,whichissetto
Quarter.Theresultis,whenauserqueriesagainstaparticularlevel,OracleBIServerwillknowtoaccessthe
aggregatetablesinsteadofthedetailtables.
Forexample,ifauserqueriesfortotalsalesbyproductbyquarter,theserverwillaccesstheF2RevenueAggregate
facttableandthecorrespondingaggregatedimensiontable,D1TimeQuarterGrain.Ifauserqueriesforalevel
lowerthanthelevelspecifiedhere,forexampleMonthinsteadofQuarter,thentheserverwillaccessthedetailtables
(F1RevenueandD1Time).Ifauserqueriesforhigherlevel(yearinsteadofquarter)theaggregatetableswillbe
used,becausewheneveraqueryisrunagainstalogicallevelorabove,theaggregatetablesareused.

3. ClickOKtoclosetheLogicalTableSourcedialogbox.

4. DoubleclicktheLTS2TimeQuarterGrainlogicaltablesourcetoopentheLogicalTableSourcedialogbox.

5. OntheContenttab,setthelogicalleveltoQuarter.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

291/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. ClickOKtoclosetheLogicalTableSourcedialogbox.

7. Savetherepositoryandcheckglobalconsistency.Fixanyerrorsorwarningsbeforeproceeding.

8. Closetherepository.LeavetheAdministrationToolopen.NotethatyoudidnotneedtochangethePresentation
layer.Youmadechangesinthebusinessmodelthatimpacthowqueriesareprocessedandwhichsourcesare
accessed.However,theuserinterfaceremainsthesame,sothereisnoneedtochangethePresentationlayer.
OracleBIServerwillautomaticallyusetheappropriatesourcesbasedontheuserquery.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

292/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

TestYourWork
1. ReturntoFusionMiddlewareControlEnterpriseManagerandloadtheBISAMPLErepository.Ifyouneedhelp,
clickheretoreviewstepsfromearlierinthistutorial.

2. ReturntoOracleBI,whichshouldstillbeopen,andsignin.

3. Createthefollowinganalysistotesttheaggregatetables.
Time.PerNameQtr
BaseFacts.Revenue

4. ClickResults.

5. LeaveOracleBIopen.

6. UseFMWControlortheAdministrationlinktocheckthequerylog.Ifyouneedhelp,clickheretoreviewstepsfrom
earlierinthistutorial.

7. Inspectthelog.Noticethatthequeryusestheexpectedtables:D1TimeQuarterGrainandF2RevenueAggregate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

293/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. ReturntoOracleBI.

9. ClickNew>Analysis>SampleSales.

10. Createthefollowinganalysistotesttheaggregatetables.
Time.PerNameYear
BaseFacts.Revenue

11. ClickResults.

12. Checkthequerylog.Hint:IfyoucheckthelogusingFMWControl,clicktheRefreshbuttontorefreshthelog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

294/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

13. Inspectthelog.Noticethatthequeryusesthesametables:D1TimeQuarterGrainandF2RevenueAggregate.This
isbecausePerNameYearisatahigherlevelthanPerNameQuarterinthelogicaldimensionhierarchy,sothe
aggregatetablesarestillused.

14. ReturntoOracleBI.

15. ClickNew>Analysis>SampleSales.

16. Createonemoreanalysistotesttheaggregatetables.
Time.PerNameMonth
BaseFacts.Revenue

17. ClickResults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

295/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

18. Inspectthelog.Noticethatthistimethequeryusesthedetailtables:D1TimeandF1Revenue.Thisisbecausethe
requesteddata(revenuebymonth)isatalowerlevelthanwhatiscontainedintheaggregatetables.Theaggregate
tablesdonotcontainthedataand,therefore,thedetailtablesareusedinthequery.Thisaggregatenavigationis
controlledbytheaggregatecontentlevelsyousetinthelogicaltablesources.

19. SignoutofOracleBI.

UsingInitializationBlocksandVariables
Youcanusevariablesinarepositorytostreamlineadministrativetasksandmodifymetadatacontentdynamicallyto
adjusttoachangingdataenvironment.Avariablehasasinglevalueatanypointintime.Variablescanbeusedinstead
ofliteralsorconstantsintheExpressionBuilderintheAdministrationToolorinenduseranalyses.Atruntime,Oracle
BIServersubstitutesthevalueofthevariable.
Inthissetofstepsyoucreateanewinitializationblock,CurrentPeriods,andthreenewdynamicrepositoryvariables
CurrentYear,CurrentMonth,andCurrentDay.YouthenusethevariablesascolumnfiltersinanOracleBIanalysis.You
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

296/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

usetheVariableManagerintheAdministrationTooltodefinevariablesandinitializationblocks.
Tosetupanduseinitializationblocksandvariables,performthefollowingsteps:
CreateanInitializationBlock
CreateVariables
TestYourWork
CreateanInitializationBlock
CreateVariables
TestYourWork

CreateanInitializationBlock
1. OpentheBISAMPLErepositoryinofflinemode.

2. SelectManage>VariablestoopentheVariableManager.

3. SelectAction>New>Repository>InitializationBlock.

4. NametheinitializationblockCurrentPeriods.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

297/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClicktheEditDataSourcebuttontoopentheRepositoryVariableInitializationBlockDataSourcedialogbox.

6. ClicktheBrowsebuttontoopentheSelectConnectionPooldialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

298/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. DoubleclicktheConnectionPoolobjecttoselectit.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

299/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Theconnectionpoolisadded.

8. EnterthefollowingSQLtodeterminethevalueofthecurrentday,month,andyearbyfindingthemaximumvalueof
theperiodkey(BILL_DAY_DT)inthefacttable:
SELECTCALENDAR_DATE,PER_NAME_MONTH,PER_NAME_YEARFROMBISAMPLE.SAMP_TIME_DAY_D
WHERECALENDAR_DATE=(SELECTMAX(BILL_DAY_DT)FROMBISAMPLE.SAMP_REVENUE_F)

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

300/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. ClickTestandconfirmtheexpectedresultsarereturned.Inthisexample,theresultsaredeterminedbythedatain
thesampledatabaseusedforthistutorial,whichholdsdatathroughDecember2010.

10. ClosetheResultswindow.

11. ClickOKtoclosetheRepositoryVariableInitializationBlockDataSourcedialogbox.Checkyourwork:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

301/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateVariables
1. ClickEditDataTargettoopentheRepositoryVariableInitializationBlockVariableTargetdialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

302/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. UsetheNewbuttontocreatethreenewvariables:CurrentDay,CurrentMonth,CurrentYear.Theorderis
important.ThevaluereturnedfromthefirstcolumnintheinitializationblockSQL,CALENDAR_DATE,isassignedto
theCurrentDayvariable.Thevalueofthesecondcolumn,PER_NAME_MONTH,isassignedtoCurrentMonth(the
secondvariable),andthevalueofthethirdcolumn,PER_NAME_YEAR,isassignedtoCurrentYear(thethird
variable).Ifnecessary,usetheUpandDownbuttonstoarrangethevariables.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

303/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. ClickOKtoclosetheRepositoryVariableInitializationBlockVariableTargetdialogbox.

4. Leavethedefaultrefreshintervalsettoeveryhour.Thismeansthatthevariableswillbereinitializedeveryhour.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

304/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

5. ClicktheTestbuttonandchecktheresults:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

305/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Inthisexample,theresultsaredeterminedbythedatainthesampledatabaseusedforthistutorial,whichholds
datathroughDecember2010.

6. ClosetheResultswindow.

7. ClickOKtoclosetheRepositoryVariableInitializationBlockdialogbox.

8. CheckyourworkintheVariableManager:

9. ClosetheVariableManager.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

306/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeproceeding.

11. Closetherepository.LeavetheAdministrationToolopen.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreview
stepsfromearlierinthistutorial.

2. ReturntoOracleBIandsignin.

3. Createthefollowinganalysistotestthevariables.
Time.PerNameYear
Time.PerNameMonth
Time.CalendarDate
BaseFacts.Revenue

4. ClickFilterforthePerNameYearcolumn.TheNewFilterdialogboxopens.

5. SelectAddMoreOptions>RepositoryVariable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

307/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. IntheRepositoryVariablefield,enterCurrentYeartocreateafilterforthePerNameYearcolumnusingthe
CurrentYearrepositoryvariable.

7. ClickOKtoclosetheNewFilterdialogbox.ThefilterisaddedtotheFilterspane.

8. RepeatthestepstoaddtheCurrentMonthandCurrentDayrepositoryvariablesasfiltersforPerNameMonthand
CalendarDatecolumns,respectively.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

308/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

309/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. ClickResultsandconfirmthatdataonlyforthecurrentyear,month,anddayisreturned(basedonthesampledata
set).

10. SignoutofOracleBI.

CreatingTimeSeriesMeasures
InthistopicyoucreatetimeseriescalculationmeasuresusingOracleBItimeseriesfunctions.
TimeseriesfunctionsincludeAGO,TODATE,andPERIODROLLING.ThesefunctionsletyouuseExpressionBuilderto
callalogicalfunctiontoperformtimeseriescalculationsinsteadofcreatingaliasesforphysicaltablesandmodeling
logically.ThetimeseriesfunctionscalculateAGO,TODATE,andPERIODROLLINGfunctionsbasedonthecalendar
tablesinyourdatawarehouse,notonstandardSQLdatemanipulationfunctions.
Tocreatetimeseriesmeasures,youperformthefollowingsteps:
IdentifyaLogicalDimensionasaTimeDimension
IdentifyLevelKeysasChronologicalKeys
CreateaMeasureUsingtheAGOFunction
CreateaMeasureUsingtheTODATEFunction
CreateaMeasureUsingthePERIODROLLINGFunction
TestYourWork
IdentifyaLogicalDimensionasaTimeDimension
IdentifyLevelKeysasChronologicalKeys
CreateaMeasureUsingtheAGOFunction
CreateaMeasureUsingtheTODATEFunction
CreateaMeasureUsingthePERIODROLLINGFunction
TestYourWork

IdentifyaLogicalDimensionasaTimeDimension
1. ReturntotheAdministrationToolandopentheBISAMPLErepositoryinofflinemode.

2. IntheBMMlayer,doubleclicktheH1TimelogicaldimensiontoopentheLogicalDimensiondialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

310/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. IntheStructuresection,selectTime.

Timeseriesfunctionsoperateontimeorienteddimensions.Tousethesefunctionsonaparticulardimension,you
mustdesignatethedimensionasaTimedimension.

4. ClickOKtoclosetheLogicalDimensiondialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

311/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

IdentifyLevelKeysasChronologicalKeys
1. ExpandtheH1TimelogicaldimensionanddoubleclicktheTimeDetailleveltoopentheLogicalLeveldialogbox.

2. ClicktheKeystab.

3. SelecttheChronologicalKeycheckboxforCalendarDate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

312/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. ClickOKtoclosetheLogicalLeveldialogbox.

5. Repeatandsetchronologicalkeysforthefollowinglevels:
LogicalLevel

ChronologicalKey

Year

PerNameYear

Half

PerNameHalf

Quarter

PerNameQtr

Month

PerNameMonth

Week

PerNameWeek

Itisbestpracticetodesignateachronologicalkeyforeverylevelofatimelogicaldimension.

CreateaMeasureUsingtheAGOFunction
1. RightclicktheF1RevenuelogicaltableandselectNewObject>LogicalColumn.

2. OntheGeneraltab,namethecolumnMonthAgoRevenue.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

313/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. OntheColumnSourcetab,select"Derivedfromexistingcolumnsusinganexpression."

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

314/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. OpentheExpressionBuilder.

5. SelectFunctions>TimeSeriesFunctions>Ago.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

315/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. DoubleclickAgoorclickInsertselecteditemtoaddtheAgofunctiontotheExpressionBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

316/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. Click<<Measure>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

317/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. SelectLogicalTables>F1RevenueandthendoubleclickRevenuetoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

318/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Click<<Level>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

319/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. SelectTimeDimensions>H1TimeandthendoubleclickMonthtoaddittotheexpression.

11. Click<<NumberofPeriods>>andenter1.TheAgofunctionwillcalculatetheRevenuevalueonemonthbeforethe
currentmonth.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

320/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickOKtoclosetheExpressionBuilder.CheckyourworkintheLogicalColumndialogbox:

13. ClickOKtoclosetheLogicalColumndialogbox.TheMonthAgoRevenuetimeseriesmeasureisaddedtotheF1
Revenuelogicaltable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

321/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. DragtheMonthAgoRevenuelogicalcolumntotheBaseFactspresentationfolder.

CreateaMeasureUsingtheTODATEFunction
1. RightclicktheF1RevenuelogicaltableandselectNewObject>LogicalColumn.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

322/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

2. OntheGeneraltab,namethenewlogicalcolumnYearToDateRevenue.

3. OntheColumnSourcetab,select"Derivedfromexistingcolumnsusinganexpression."

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

323/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. OpentheExpressionBuilder.

5. SelectFunctions>TimeSeriesFunctionsanddoubleclickToDatetoinserttheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

324/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Click<<Measure>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

325/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

7. SelectLogicalTables>F1RevenueandthendoubleclickRevenuetoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

326/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. Click<<Level>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

327/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. SelectTimeDimensions>H1TimeandthendoubleclickYeartoaddittotheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

328/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. ClickOKtoclosetheExpressionBuilder.

11. CheckyourworkintheLogicalColumndialogbox:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

329/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

12. ClickOKtoclosetheLogicalColumndialogbox.

13. DragtheYearToDateRevenuelogicalcolumntotheBaseFactspresentationfolder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

330/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

CreateaMeasureUsingthePERIODROLLINGFunction
1. RightclicktheF1RevenuelogicaltableandselectNewObject>LogicalColumn.

2. OntheGeneraltab,namethenewlogicalcolumnRevenue3PeriodRollingSum.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

331/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

3. OntheColumnSourcetab,select"Derivedfromexistingcolumnsusinganexpression."

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

332/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. OpentheExpressionBuilder.

5. SelectFunctions>TimeSeriesFunctionsanddoubleclickPeriodRollingtoinserttheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

333/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

6. Click<<Measure>>intheexpression.

7. SelectLogicalTables>F1RevenueandthendoubleclickRevenuetoaddittotheexpression.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

334/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

8. Click<<StartingPeriodOffset>>intheexpression.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

335/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

9. Enter2.Thisidentifiesthefirstperiodintherollingaggregation.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

336/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. Click<<EndingPeriodOffset>>.

11. Enter0.Thisidentifiesthelastperiodintherollingaggregation.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

337/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Theseintegersaretherelativenumberofperiodsfromadisplayedperiod.Inthisexample,ifthequerygrainis
month,the3monthrollingsumstartstwomonthsinthepast(2)andincludesthecurrentmonth(0).

12. ClickOKtoclosetheExpressionBuilder.

13. CheckyourworkintheLogicalColumndialogbox:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

338/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

14. ClickOKtoclosetheLogicalColumndialogbox.

15. DragtheRevenue3PeriodRollingSumlogicalcolumntotheBaseFactspresentationfolder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

339/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

16. Savetherepositoryandcheckconsistency.Fixanyerrorsorwarningsbeforeyouproceed.

17. Closetherepository.LeavetheAdministrationToolopen.

TestYourWork
1. ReturntoFusionMiddlewareControlandloadtheBISAMPLErepository.Ifyouneedhelp,clickheretoreview
stepsfromearlierinthistutorial.

2. ReturntoOracleBIandsignin.

3. CreatethefollowinganalysistotestAGOandTODATEfunctions:
Time.PerNameMonth
Time.PerNameYear
BaseFacts.Revenue
BaseFacts.MonthAgoRevenue
BaseFacts.YeartoDateRevenue

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

340/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

4. Setthefollowingfilterfortheanalysis:
PerNameYearisequalto/isin2008.

5. ForthePerNameYearcolumn,selectColumnProperties>ColumnFormat>Hide.ThiswillpreventPerName
Yearfromdisplayingintheanalysisresults.

6. SortPerNameMonthinascendingorder.

7. ClickResults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

341/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

MonthAgoRevenuedisplaysrevenuefromthepreviousmonth.YearToDateRevenuecalculatesarunningsum
ofrevenuefortheyearonamonthlybasis.

8. CreatethefollowingnewanalysisandfiltertotestthePERIODROLLINGfunctionatthemonthgrain:
Time.PerNameMonth
Time.PerNameYear
BaseFacts.Revenue
BaseFacts.Revenue3PeriodRollingSum
PerNameYearisequalto/isin2008

9. ForthePerNameYearcolumn,selectColumnProperties>ColumnFormat>Hide.ThiswillpreventPerName
Yearfromdisplayingintheanalysisresults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

342/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

10. SortPerNameMonthinascendingorder.

11. ClickResults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

343/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Revenue3PeriodRollingSumiscalculatedbasedonthemonthgrain.

12. CreatethefollowingnewanalysisandfiltertotestthePERIODROLLINGfunctionattheyeargrain:
Time.PerNameYear
BaseFacts.Revenue
BaseFacts.Revenue3PeriodRollingSum

13. SortPerNameYearinascendingorder.

14. ClickResults.

Revenue3PeriodRollingSumiscalculatedbasedontheyeargrain.AmeasurewiththePERIODROLLING
functioncalculatesresultsbasedonthequerygrain.

Summary
InthistutorialyoulearnedhowtobuildanOracleBImetadatarepositoryusingtheOracleBIAdministrationTool.You
learnedhowtoimportmetadatafromadatasource,simplifyandreorganizetheimportedmetadataintoabusiness
model,andthenstructurethebusinessmodelforpresentationtouserswhorequestbusinessintelligenceinformation
viaOracleBIuserinterfaces.
Inthistutorial,youhavelearnedhowto:
BuildthethreelayersofaOracleBIrepository
TestandvalidateanOracleBIrepository
Managelogicaltablesources
Createsimplemeasuresandcalculationmeasures
Createlogicaldimensionswithlevelbasedhierarchies
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

344/345

5/14/2016

CreatingaRepositoryUsingtheOracleBI11gAdministrationTool

Createlevelbasedmeasures
Createlogicaldimensionswithparentchildhierarchies
Createlogicaldimensionswithraggedandskippedlevelhierarchies
Useaggregatestoimprovequeryperformance
Useinitializationblocksandvariables
Createtimeseriesmeasures

Resources
OracleLearningLibraryHome
OracleBusinessIntelligenceDocumentation
OracleUniversity
Credits
LeadCurriculumDeveloper:JimSarokin

Copyright2011,Oracleand/oritsaffiliates.Allrightsreserved

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm?print=preview

345/345

Das könnte Ihnen auch gefallen