Anda di halaman 1dari 67

3/8/2017 Document1633146.

FederatingEssbaseandRelationalDatainOracleBusinessIntelligenceEnterpriseEdition(DocID
1633146.1)

InthisDocument

Goal
Solution
Overview
Prerequisites
BuildingaBusinessModeltoProvideHorizontalFederation
CreatingaBusinessModelfromanEssbaseDataSource
AddingRelationalMeasures
CreatingLogicalJoinsintheBusinessModel:ProductsDimension
CreatingaSubjectAreaandSavingtheRepository
VerifyingyourWorkinOracleBIEE
BuildingaBusinessModeltoProvideVerticalFederation
AddingRelationallevelDetailtotheMonthsLogicalTable
ModifyingtheMonthsHierarchyforVerticalFederation
MappingFactstoMultipleSourcesandSettingLogicalLevels
CheckingVerticalFederationinOracleBIEE
Summary
Resources

APPLIESTO:

BusinessIntelligenceServerEnterpriseEditionVersion11.1.1.5.0[1308]andlater
BusinessIntelligenceSuiteEnterpriseEditionVersion11.1.1.5.0[1308]andlater
Informationinthisdocumentappliestoanyplatform.

GOAL

Inthistutorial,youlearnhowtofederateOracleEssbase(Essbase)multidimensionalsourceswithrelationaldatasources
supportedinOracleBusinessIntelligenceEnterpriseEdition(OracleBIEE).

SOLUTION

Overview
UsingtheOracleBIServerrepository,developerscanbuildbusinessmodelsthatfederateEssbasedatasourceswithother
sourcessupportedbyOracleBIServer.Thisincludeshorizontalfederation(whichprovidesreportsthatcandisplaydatafrom
bothEssbaseandrelationaldatasources)andverticalfederation(whichprovidesreportswiththeabilitytodrillthrough
aggregateEssbasedataintodetailrelationaldata).

InthisOBE,youlearnhowtoopentheOracleBIAdministrationTool,connecttotheonlinerepository,buildahorizontallyand
verticallyfederatedBusinessModel,createaSubjectarea,andcreateanalysesfromtheobjectsintheSubjectarea.

Tobenoted:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 1/67
3/8/2017 Document1633146.1

OracleBusinessIntelligencesupportsjoiningofEssbasedatawithotherdatasourcesinasinglereport.Federationrequires
thatEssbasedimensionsconformacrossthedisparatesources.Acommonusecasewheredimensionsmaybenon
conformingisanalysisalongtheAccountsdimension.Inthiscase,Accountmembersatagivenlogicallevelmayexistin
Essbaseinvariousgenerations.SincetheBIServerassignsgenerationstoexplicitlevels,theServercannotdeterminethe
logicallevelinformationforagivenAccountmember.Federationcannotbemodeledforthisscenario.

Ingeneral,federationwithEssbasecanbeachievedwhenallofthefollowingconditionsaremet:
1)Thereisaconformingdimension(s)betweenEssbaseandthedisparatesource.
2)Fortheconformingdimension,thereisacommonlevelwithcommondataatwhichbothsourcescanbejoined
3)FortheEssbasedimension,membersatthesamelogicallevelexistinoneandonlyonegeneration.
4)TheBIServerassumesthatmeasuredatacanberetrievedatorabovethelevelspecifiedinthelogicalfactsourceforthe
Essbasesource.

Prerequisites
Beforestartingthistutorial,youshould:

1. HaveaccesstoorhaveInstalledOracleBISuiteEE11

2. HaveaccesstoorhaveInstalledOracleEssbase11

3. VerifythatOracleBIEEandEssbaseservicesarestarted

4. HaveaccesstoorhaveinstalledtheOracleSampleApplicationforOracleBIEE,

Note:ThistutorialassumestheSampleApplicationrepositoryisalreadyloadedtotheOracleBIserver.
ThetutorialusestheEssbaseBISAMPLEcubeandtheOracleBISAMPLEdatabaseschema.

BuildingaBusinessModeltoProvideHorizontalFederation
Inthistopic,youbuildabusinessmodelintheOracleBIEErepositorythatprovideshorizontalfederationofanEssbasedata
sourceandanOraclerelationaldatasource.Thecompletedbusinessmodelenablesyoutogeneratethefollowingadhoc
analysisinOracleBIEE:

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 2/67
3/8/2017 Document1633146.1

TheanalysisdemonstrateshorizontalfederationbetweenEssbaseandarelationaldatasource.DataforDiscnt_Valueis
providedbyanOraclerelationaldatabase,dataforUnitsisprovidedbyEssbase,anddatafromtheconformingdimension,
Product,isappliedacrossthemeasures.

CreatingaBusinessModelfromanEssbaseDataSource

1. SelectStart>Programs>OracleBusinessIntelligence>BIAdministration.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 3/67
3/8/2017 Document1633146.1

TheOracleBIAdministrationToolwindowisdisplayed.

2. Fromthetoolbar,clicktheOpenOnline( )button.

TheOpenOnlinecoreapplication_OH601898404dialogboxisdisplayed.
Note:Thenameofthedialogboxwilldifferdependingonyourinstallation.

3. EnterAdmin123intotheRepositoryPasswordfieldandavalidusernameandpasswordtoaccessBI
Server,andclickOpen.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 4/67
3/8/2017 Document1633146.1

TheBIRepositorylayersaredisplayed.

4. InthePhysicallayer,expand03EssbaseSampleE1,anddragBISAMPLEtotheBusinessModeland
Mappinglayer.

TheBISAMPLEbusinessmodelisdisplayedintheBusinessModelandMappingLayer.

5. IntheBusinessModelandMappinglayer,expandtheBISAMPLEbusinessmodel.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 5/67
3/8/2017 Document1633146.1

DraggingthecubefromthePhysicallayertotheBusinessModelandMappinglayerautomaticallycreates
thebusinessmodelandallofitsobjects,includingdimensionhierarchies,logicaldimensiontables,logical
facttables,logicalcolumns,andlogicaljoins.NoticethattheSampletableismarkedwithahashsymbolto
indicatethatitisthefacttableinthelogicalschema.

6. ExpandSample,andthenSources.Noticethatthereiscurrentlyonlyonelogicaltablesource,Sample,
forthislogicaltable.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 6/67
3/8/2017 Document1633146.1

AddingRelationalMeasures

1. InthePhysicallayer,expand01SampleAppData(ORCL)>Catalog>BISAMPLE>F10Billed
Rev.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 7/67
3/8/2017 Document1633146.1

2. DragDiscnt_ValuefromthePhysicallayertotheSamplefacttablefortheBISAMPLEbusinessmodelin
theBusinessModelandMappinglayer.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 8/67
3/8/2017 Document1633146.1

NoticethatDiscnt_ValueisnowalogicalcolumnintheSamplelogicaltable,andtheSamplelogicaltable
isnowmappedtotwologicaltablesources:theEssbaseSamplecubeandtheF10BilledRev.tablein
theBISAMPLErelationalschema.

3. DoubleclicktheF10BilledRev.logicaltablesourcetoopentheLogicalTableSourcedialogbox.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 9/67
3/8/2017 Document1633146.1

4. SelecttheColumnMappingtab.NoticethattheDiscnt_Valuelogicalcolumnismappedtothe
correspondingphysicalcolumnintheF10BilledRev.tableintheBISAMPLEschema.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 10/67
3/8/2017 Document1633146.1

5. ClickOKtoclosetheLogicalTableSourcedialogbox.

6. DoubleclicktheSamplelogicaltablesourcetoopentheLogicalTableSourceSampledialogbox.

7. Ifnecessary,selecttheColumnMappingtab.SelectboththeShowmappedcolumnsandShow
unmappedcolumnsoptions.NoticethattheremaininglogicalcolumnsaremappedtotheEssbaseSample
cubedatasource,whichprovidesallthefactsinadditiontoDiscnt_Value.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 11/67
3/8/2017 Document1633146.1

8. ClickOKtoclosetheLogicalTableSourceSampledialogbox.

9. DoubleclicktheDiscnt_ValuelogicalcolumnintheBusinessModelingandMappinglayertoopenthe
LogicalColumnDiscnt_Valuedialogbox.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 12/67
3/8/2017 Document1633146.1

10. SelecttheAggregationtab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 13/67
3/8/2017 Document1633146.1

11. Fromthe"Defaultaggregationrule"dropdownlist,selectSum.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 14/67
3/8/2017 Document1633146.1

12. ClickOKtoclosetheLogicalColumnDiscnt_Valuedialogbox.

NoticethattheDiscnt_Valuelogicalcolumniconhaschangedtoindicatethatitisalogicalcolumnwithan
aggregationrule.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 15/67
3/8/2017 Document1633146.1

CreatingLogicalJoinsintheBusinessModel:ProductsDimension

ThissubtopicshowsyouhowtocreatelogicaljoinsthatestablishtherelationshipbetweentheEssbasesourceandthe
relationalsourceinthebusinessmodel.

1. IntheBusinessModelandMappinglayer,intheBISAMPLEmodel,expandtheProductslogicaltable,and
thentheSourcesfolder.Noticethatthereiscurrentlyonlyonelogicaltablesource,Sample,forthislogical
table.

2. InthePhysicallayer,expand01SampleAppData(ORCL)>Catalog>BISAMPLE>D10Product
(DynamicTable).

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 16/67
3/8/2017 Document1633146.1

3. DragtheProd_DscphysicalcolumnfromthePhysicallayertotheProductMemberslogicalcolumn.

NoticethattheProductslogicaltablenowhastwologicalsources:SampleandD10Product(Dynamic
Table).

4. DoubleclicktheD10Product(DynamicTable)logicaltablesourcetoopenthenLogicalTableSource
D10Product(DynamicTable)dialogbox.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 17/67
3/8/2017 Document1633146.1

5. Ifnecessary,selecttheColumnMappingtabandnoticethattheProductMemberslogicalcolumnmaps
totheProd_Dscphysicalcolumnintherelationalschema.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 18/67
3/8/2017 Document1633146.1

6. ClickOKtoclosetheLogicalTableSourceD10Product(DynamicTable)dialogbox.

7. OpentheSamplelogicaltablesourceandnoticethattheremaininglogicalcolumnsaremappedtothe
Essbasecube.TheProductMemberscolumnisnowmappedtocolumnsintwophysicalsources.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 19/67
3/8/2017 Document1633146.1

8. ClickOKtoclosetheLogicalTableSourceSampledialogbox.

9. UnderBISAMPLE,expandtheProductslogicalhierarchy,thenAllProducts,thenBrands,thenLOBs,
andthenProductTypestodisplaytheProductMemberslogicallevel.DoubleclickProductMembersto
displaytheLogicalLevelProductMembersdialogbox.Ifnecessary,selecttheKeystab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 20/67
3/8/2017 Document1633146.1

NoticethatboththeProductMembersandProductMembersMemberKeycolumnsarepartofthe
logicallevelkeystructure.TheMemberKeycolumnisaninternalEssbasereferenceanddoesnot
correspondtotherelationaldatasource.

NOTE:WhenyoucreateabusinessmodelfromanEssbasedatasource,MemberKeycolumnsare
automaticallycreatedandincludedinthelogicallevelkeystructureforeachlevelinthelogicalhierarchy.If
youwanttoconformrelationaldatatoalevelinthelogicalhierarchy,youmustremovetheMemberKey
columnfromthelogicallevelkeystructure.Youcandothisbyeithermodifyingthelogicallevelkeyorby
removingtheMemberKeycolumnfromyourbusinessmodel.

10. ClosetheLogicalLevelProductMembersdialogbox.

11. Forthebusinessmodelinthistutorial,youremovetheMemberKeylogicalcolumnsfromtheProducts
logicaltablesothatthelogicallevelkeydoesnotconflictwiththerelationaldatasource.Additionally,you
removetheMemnor(outlinesort)logicalcolumnstoprovideacleanerbusinessmodelforendusers.

UndertheProductslogicaltable,selecttheMemnorandMemberKeycolumnsforeachlevelofthe
Productsdimension.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 21/67
3/8/2017 Document1633146.1

12. PressDelete.Attheprompt,clickYes.

13. UndertheProductslogicalhierarchy,doubleclicktheProductMemberslogicalleveltodisplaytheLogical
LevelProductMembersdialogboxagain.Ifnecessary,selecttheKeystab.NoticethattheProduct
MembersMemberKeycolumnisnolongerdisplayedinthelogicallevelkeystructure.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 22/67
3/8/2017 Document1633146.1

ClosetheLogicalLevelProductMembersdialogbox.

CreatingaSubjectAreaandSavingtheRepository

1. DragtheBISAMPLEbusinessmodelfromtheBusinessModelandMappingLayertothePresentationlayer
tocreateapresentationcatalog.


https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 23/67
3/8/2017 Document1633146.1

2. Inthetoolbar,clicktheCheckInChanges( )buttontocheckinchangestotherepository.When
promptedtocheckglobalconsistency,clickYes.

3. YoushouldreceiveamessagethatthebusinessmodelBISAMPLEisconsistent.ClickYestomarkit
availableforqueries.

4. VerifythatConsistencyCheckManagerisdisplayedwithnoerrors.Ifyoureceiveerrors,correctthem
beforeproceedingtothenextstep.

5. CloseConsistencyCheckManager.

6. SelectFile,andthenSavetosavetherepository.

VerifyingyourWorkinOracleBIEE

Thissubtopicshowsyouhowtobuildqueries,viewtheresults,andexaminethecorrespondinglogfiles.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 24/67
3/8/2017 Document1633146.1

1. LogintoOracleBusinessIntelligencewithanadministratorusernameandpassword.

2. SelectNew,andthenAnalysis.

TheSelectSubjectAreaboxisdisplayed.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 25/67
3/8/2017 Document1633146.1

3. ClickBISAMPLE.

AnalysisEditorisdisplayed.

4. Createthefollowingquery:Products.ProductMembers,Sample.Units,Sample.Discnt_Value.

5. SelecttheResultstabtodisplaytheanalysis.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 26/67
3/8/2017 Document1633146.1

ThisanalysisdemonstrateshorizontalfederationbetweenEssbaseandarelationaldatasource.Datafor
UnitscomesfromEssbase,whiledataforDiscnt_ValuecomesfromtheOracledatabase.

6.
ClicktheSaveAnalysis( )buttontosaveyouranalysisasHorizontal.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 27/67
3/8/2017 Document1633146.1

ClickOKtosavetheanalysis.

7. Inthetoprightcornerofthewindow,clickAdministration.

Administrationlinksaredisplayed.

8. UnderSessionManagement,clickManageSessions.

9. UnderCursorCache,intherowforyourquery,clickViewLog.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 28/67
3/8/2017 Document1633146.1

NOTE:TheOracleBIEESampleApplicationhaspresetquerylogginglevelsfortheincludedusers.See
OracleFusionMiddlewareSystemAdministrator'sGuideforOracleBusinessIntelligenceEnterpriseEdition
formoreinformationaboutsettingthequerylogginglevel.

10. ScrolldowntoviewtheSQLandMDXissuedtotheOracledatabaseandEssbase,respectively(entirequery
lognotshown).

BuildingaBusinessModeltoProvideVerticalFederation

ThegoalofthistopicistomodifytheBISAMPLEbusinessmodelcreatedintheprecedingtopictoaddverticalfederationofan
EssbasedatasourceandanOraclerelationaldatasource.Thecompletedbusinessmodelallowsyoutogeneratethefollowing
reportinOracleBIEE:

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 29/67
3/8/2017 Document1633146.1

ThisreportshowsverticalfederationbetweenEssbaseandarelationalsource.Itdemonstratesthatyoucandrillfrom
aggregateddatainEssbasecubesintodetaildatainrelationalsources.Thereportshowsdetailofrevenueforthetime
hierarchy.TheunderlyingEssbasecubegrainisatthemonthlevelfortime.Ifyoudonotexpandthetimehierarchycolumn
belowthemonthlevel,theOracleBIserveronlygeneratesqueriestotheEssbasecube.Whenyouexpanddetailbelowthe
monthlevel(week,day)inthetimehierarchy,thentheserverretrievesdatafromtherelationalsourcetoprovidethedetails.

AddingRelationallevelDetailtotheMonthsLogicalTable

BecauseyoucannotcreatephysicaljoinsbetweenEssbaseandrelationalsources,therelationalsourceisunabletoinheritthe
MonthshierarchyfromtheEssbasesource.Therefore,youmustphysicallydefinetheMonthshierarchytoallowfordrilldown.
Inthiscase,youmusthaveYears,HalfYears,Quarters,Months,Weeks,andDaycolumnsinyourrelationalsource,sothat
youareabletodrillallthewayfromYearsdowntoDays.TheBISAMPLEEssbasedatabaseoutlinecontainstwohierarchy
levels,AllMonthsandTotalTimeHierarchy,whichhavenocorrespondingcolumnsintherelationaldatabaseyoumodifyyour
businessmodelhierarchytoaccountforthesemissinglevelsinalatertopic.

Inthistopic,youmaprelationalcolumnstoeachlevelintheEssbaseMonthshierarchy.Thistechniqueenablesdrillthrough
fromaggregateddataintheEssbasecubeintodetaildataintherelationalsource.

1. NOTE:ThistopicassumesyouhaveOracleBIAdministrationToolopenandyouhaveopenedtheonline
sampleapplicationrepository,asdescribedatthebeginningofthehorizontalfederationtopic.

IntheBusinessModelandMappinglayer,underBISAMPLE,expandtheMonthslogicaltable.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 30/67
3/8/2017 Document1633146.1

2. InthePhysicallayer,expand01SampleAppData(ORCL)>Catalog>BISAMPLE>D01Time
DayGrain.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 31/67
3/8/2017 Document1633146.1

3. DragPer_Name_YearfromthePhysicalLayertotheYearslogicalcolumnintheBusinessModeland
MappingLayer.Whenyouarepromptedtocheckoutobjects,clickCheckOut.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 32/67
3/8/2017 Document1633146.1

4. NoticethattheD01TimeDayGrainphysicaltableisnowlistedasasourcefortheMonthslogicaltable.

5. DragPer_Name_HalffromthePhysicalLayertotheHalfYearslogicalcolumnintheBusinessModeland
MappingLayer.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 33/67
3/8/2017 Document1633146.1

6. DragPer_Name_QtrfromthePhysicalLayertotheQuaterslogicalcolumnintheBusinessModeland
MappingLayer.

7. DragPer_Name_MonthfromthePhysicalLayertotheMonthMemberslogicalcolumnintheBusiness
ModelandMappingLayer.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 34/67
3/8/2017 Document1633146.1

8. DragPer_Name_WeekandCalendar_DatefromthePhysicalLayertotheMonthslogicaltableinthe
BusinessModelandMappingLayer.

Per_Name_WeekandCalendar_Dateareaddedascolumnsinthelogicaltable.

9. DoubleclicktheMonthslogicaltabletoopentheLogicalTableMonthsdialogbox.Ifnecessary,selectthe
Keystab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 35/67
3/8/2017 Document1633146.1

10. SelecttherowforMonths,andclicktheDelete( )button.Attheconfirmationprompt,clickYes.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 36/67
3/8/2017 Document1633146.1

11. IntheKeyNamecolumn,enterTime_Key_Day.

12. IntheColumnsdropdownlist,selectCalendar_Date.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 37/67
3/8/2017 Document1633146.1

13. Inthe"Primarykey"dropdownlist,selectTime_Key_Day.


https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 38/67
3/8/2017 Document1633146.1

14. ClickOKtoclosetheLogicalTableMonthsdialogbox.

NoticethatCalendar_Dateisnowdisplayedwithakeyicon.

15. SimilartotheProductsdimension,theMonthsdimensionhasinternalEssbaselogicallevelkeysthatconflict
withtherelationaldatasource.Forthebusinessmodelinthistutorial,youremovetheMemberKeylogical
columnsfromtheMonthslogicaltablesothatthedefaultlogicallevelkeys(intheMonthshierarchy)donot
conflictwiththerelationaldatasource.Additionallly,youremovetheMemnor(outlinesort)logicalcolumns
toprovideacleanerbusinessmodelforendusers.

UndertheMonthslogicaltable,selecttheMemnorandMemberKeycolumnsforeachleveloftheMonths
dimension.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 39/67
3/8/2017 Document1633146.1

16. PressDelete.Attheprompt,clickYes.

ModifyingtheMonthsHierarchyforVerticalFederation

1. BecausetherearenocorrespondingrelationalcolumnsfortheAllMonthsandTotalYearHierarchylevels,
youfirstmodifytheMonthshierarchytohaveYearsasthethetoplevel.

IntheBusinessModelandMappingLayer,undertheBISAMPLEbusinessmodel,expandtheMonths
hierarchy.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 40/67
3/8/2017 Document1633146.1

2. DragtheYearslogicalleveltotheMonthshierarchyicon.Checkoutobjectsifprompted.

AduplicateYearslevel,Years#1,isdisplayedasachildofMonths.

3. SelecttheAllMonthslogicallevelandpressDelete.Ifpromptedtocheckoutobjects,clickCheckOut.
Atthedeleteconfirmationprompt,clickYes.

TheYears#1hierarchyremains.

4. RenameYears#1toYears.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 41/67
3/8/2017 Document1633146.1

5. Nowyouaddlevelsforrelationalleveltimedetail(weeksanddays).

RightclicktheMonthMemberslogicallevel,andselectNewObject,andthenChildlevel.Atthe
confirmationprompt,clickYes.

TheLogicalLeveldialogboxisdisplayed.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 42/67
3/8/2017 Document1633146.1

6. IntheNametextbox,enterWeeks.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 43/67
3/8/2017 Document1633146.1

7. SelecttheKeystab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 44/67
3/8/2017 Document1633146.1

8. CreateakeycalledWeek_Key.SelectPer_Name_Weekforthecolumn,andselectUseforDisplay.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 45/67
3/8/2017 Document1633146.1

9. ClickOKtoclosethedialogbox.

10. RightclicktheWeekslogicallevel,andselectNewObject,thenChildLevel.TheLogicalLeveldialog
boxisdisplayed.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 46/67
3/8/2017 Document1633146.1

11. IntheNametextbox,enterDayDetail.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 47/67
3/8/2017 Document1633146.1

12. SelecttheKeystab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 48/67
3/8/2017 Document1633146.1

13. CreateakeycalledDate_Key.SelectCalendar_Dateforthecolumn,andselectUseforDisplayand
ChronologicalKey.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 49/67
3/8/2017 Document1633146.1

14. ClickOKtoclosethedialogbox.

15. Addlogicalcolumnstothenewhierarchylevels:DragthePer_Name_Weeklogicalcolumnfromthe
MonthslogicaltabletotheWeekslogicallevelintheMonthshierarchy.DragtheCalendar_Datelogical
columnfromtheMonthslogicaltabletotheDayDetaillogicallevelintheMonthshierarchy.

NOTE:Ifyouarepromptedtocheckoutobjects,clickYes.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 50/67
3/8/2017 Document1633146.1

MappingFactstoMultipleSourcesandSettingLogicalLevels

Inthissubtopic,youmapafacttobothEssbaseandrelationaldatasourcesandsetlogicallevelsforthefactanddimension
logicaltablesourcessothattheOracleBIserverknowswhentosendqueriestotheEssbasesourceandwhentosendqueries
totherelationalsource.

1. IntheBusinessModelandMappingLayer,undertheBISAMPLEbusinessmodel,expandtheSamplelogical
table.

2. InthePhysicalLayer,expand01SampleAppData(ORCL),thenCatalog,thenBISAMPLE,andthen
F10BilledRev.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 51/67
3/8/2017 Document1633146.1

3. DragRevenuefromthePhysicallayertotheGrossRevenuelogicalcolumnintheBISAMPLEbusiness
model.Attheprompt,clickCheckOut.

4. DoubleclickGrossRevenuetoopentheLogicalColumnGrossRevenuedialogbox.Selectthe
Aggregationtab.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 52/67
3/8/2017 Document1633146.1

5. Forthedefaultaggregationrule,selectSum,thenclickOKtoclosethedialogbox.

6. ExpandtheMonthslogicaltable,andthenSources.

7. DoubleclicktheSamplelogicaltablesourcetoopentheLogicalTableSourceSampledialogbox.Select
theColumnMappingtabandnoticethattheAllMonths,HalfYears,MonthMembers,Quarters,Total
MonthHierarchy,andYearslogicalcolumnsmaptophysicalcolumnsintheSampleEssbasecube.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 53/67
3/8/2017 Document1633146.1

NOTE:YoumayhavetocheckShowunmappedcolumns.

8. SelecttheContenttabandnoticethattheMonthsdimensionlogicallevelissettoMonthMembers.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 54/67
3/8/2017 Document1633146.1

9. ClickOKtoclosetheLogicalTableSourceSampledialogbox.

10. DoubleclicktheD01TimeDayGrainlogicaltablesourcetotoopentheLogicalTableSourceD01Time
DayGraindialogbox.SelecttheColumnMappingtabandnoticethattheCalendar_Date,HalfYears,
MonthMembers,Per_Name_Week,Quarters,andYearslogicalcolumnsmaptophysicalcolumnsintheD01
TimeDayGrainrelationaltable.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 55/67
3/8/2017 Document1633146.1

11. SelecttheContenttabandsettheMonthsdimensionlogicalleveltoDayDetail.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 56/67
3/8/2017 Document1633146.1

12. ClickOKtoclosetheLogicalTableSourceD01TimeDayGraindialogbox.

13. UnderBISAMPLE,expandSample,andthenSources.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 57/67
3/8/2017 Document1633146.1

14. DoubleclicktheSamplelogicaltablesourcetoopentheLogicalTableSourceSampledialogbox.Check
outobjectsifprompted.

15. SelecttheContenttabandverifythattheMonthsdimensionlogicallevelissettoMonthMembers.

16. ClickOKtoclosetheLogicalTableSourceSampledialogbox.

17. DoubleclicktheF10BilledRev.logicaltablesourcetoopentheLogicalTableSourceF10BilledRev.
dialogbox.

18. SelecttheContenttabandsettheMonthsdimensionlogicalleveltoDayDetail.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 58/67
3/8/2017 Document1633146.1

19. ClickOKtoclosetheLogicalTableSourceF10BilledRev.dialogbox.

NOTE:ThelowestlevelofdatastoredintheEssbasecubeismonthly.Settingdifferentlevelsforthelogical
tablesourcestellstheOracleBIenginethatforanyqueriesthatincludethemonthlevelandabove,usethe
Essbasecube.Foranyqueriesbelowthemonthlylevel(weeks,forexample),usetherelationalsource.

20. DragtheBISAMPLEbusinessmodelfromtheBusinessModelandMappingLayertothePresentationlayer.

ThesubjectareaBISAMPLE#1iscreated.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 59/67
3/8/2017 Document1633146.1

NOTE:Youcancreatemultiplesubjectareasfromasinglebusinessmodel.Whenyouaddobjectstoa
businessmodelonwhichanexistingsubjectareaisbased,thenewobjectsarenotautomaticallyaddedto
thesubjectarea.Youmustdragthenewobjectsfromthebusinessmodeltothesubjectareaifyouwantto
updatethesubjectarea.

21. Inthetoolbar,clilcktheCheckInChanges( )buttontocheckinchangestotherepository.When


promptedtocheckglobalconsistency,clickYes.

22. VerifythatConsistencyCheckManagerisdisplayedwithnoerrors.Ifyoureceiveerrors,correctthem
beforeproceedingtothenextstep.

23. CloseConsistencyCheckManager.

24. SelectFile,andthenSavetosavetherepository.

25. ClosetherepositoryandtheAdministrationTool.

CheckingVerticalFederationinOracleBIEE

1. LogintoOracleBusinessIntelligencewithanadministratorusernameandpassword.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 60/67
3/8/2017 Document1633146.1

2. SelectNew,andthenAnalysis.

TheSelectSubjectAreaboxisdisplayed.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 61/67
3/8/2017 Document1633146.1

3. ClickBISAMPLE#1.

AnalysisEditorisdisplayed.

4. Createthefollowingquery:Months.Months(hierarchy),Sample.GrossRevenue.

5. SelecttheResultstabtodisplaytheanalysis.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 62/67
3/8/2017 Document1633146.1

6. Expand2010,then2010HY1,andthen2010Q1.

7. ClicktheSaveAnalysis( )button,andsavetheanalysisasVertical.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 63/67
3/8/2017 Document1633146.1

ClickOKtoclosetheSaveAsdialogbox.

8. AtthetopoftheOracleBIpage,selectAdministration.

9. UnderSessionManagement,selectManageSessions.

10. Foryourquery,selectViewLogtoopenthelogfile.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 64/67
3/8/2017 Document1633146.1

11. Checkthelog.Itmaybenecessarytoscrolltothebottomtolocateyourquery.Asexpected,thedatais
retrievedfromtheEssbasecube.

12. ClicktheBackbuttonforyourbrowsertoreturntotheManageSessionsscreen.ClickOpen,andthenin
theRecentlist,selectVerticaltoreturntotheVerticalanalysis.

13. Expand2010/01,andthen2010Week2toviewdailydetail.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 65/67
3/8/2017 Document1633146.1

14. OpentheManageSessionspageagainandviewthelogfileforthemostrecentquery.Asexpected,the
dataisretrievedfromtherelationalsource.

ThisanalysisdemonstratesverticalfederationbetweenEssbaseandarelationaldatasource.Ifyoudonot
expandthetimehierachycolumnbelowthemonthlevel,theOracleBIserveronlygeneratesqueriestothe

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 66/67
3/8/2017 Document1633146.1

Essbasecube.Assoonasyouexpanddetailbelowthemonthlevel(week,day),thentheserverretrieves
datafromtherelationalsource.

Summary
ThistutorialcovershowtofederatedatabetweenEssbaseandrelationaldatasourcesinOracleBIEE.

Inthistutorial,youhavelearnedhowto:

CreateabusinessmodelinOracleBIAdministrationToolthathorizontallyfederatesdatabetweenEssbaseand
relationaldatabases
CreateabusinessmodelinOracleBIAdministrationToolthatverticallyfederatesdatabetweenEssbaseandrelational
databases.

Resources
TolearnmoreaboutOracleBIEEandEssbase,visittheOracleLearningLibraryandsearchforEssbaseorOracleBI
EE.

Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=xzugvxkj4_564&id=1633146.1 67/67

Anda mungkin juga menyukai