Professional Documents
Culture Documents
EssbaseAdvanced
BuildingQuickCubesforDemosandPOCs OracleEssbaseEdition11.1.2
March14,2010 BroughttoyoubytheEPMGlobalProductSalesSupportTeam http://my.oracle.com/epm
Writtenby:MikeNader&DaveCollins DocumentbasedontheBIG2G:EPMBETAMARCH2010TrainingDemoImage
Summary
ExecutiveSummary
ThiscourseisintendedtoprovideanoverviewofthetoolsandskillsnecessarytobuildquickEssbase cubesforPOCsandcustomdemonstrations.Theclassfocusesontechniquesandtoolsnecessaryto buildcubes,theseinclude: EssbaseApplicationManager EssbaseStudio Excel AdministrationServices
Participantswillalternatecasestudiesandexercisesduringtheday.Allparticipantsshouldgetan opportunitytocompleteallthreeexercisegroupsandpresentatleastonesolutionbacktothegroup.
KeyNewFeatures
The11.1.2releaseofOracleEssbaseisfocusedmoreonenterprisereadiness.Assuch,therearefewer marqueefeaturesinthisrelease.However,thereareanumberofkeycapabilitiesthatenableEssbaseto betterscaleacrossanenterprise.Thefollowinginformationisasummaryofthe11.1.2release.
EnhancementsrelatedtoReliability,PerformanceandSecurity
OracleEssbasehasbeensignificantlyenhancedtosupportanumberofOracleFusionmiddleware infrastructurecomponentsincludingOracleProcessManager&NotificationServer(OPMN),Oracle EnterpriseManager(OEM),OracleDiagnosticLogging(ODL)andOracleIdentityManagement(OIM). Thesupportfortheseinfrastructurecomponentsdeliversontheenterprisereadinessthemeby deliveringunmatchedreliability,performance,scalabilityandsecurity.Customersbenefitfromlower totalcostofownership(TCO)andhigherreturnoninvestment(ROI). IntegrationwithOPMNallowsforfailingoverofEssbaseagentandserversfromonephysicalnodeto anotherduetohardware/softwarefailure.Supportedfeaturesinclude:activepassivefailover,
OracleEssbase11.1.2
Summary
automaticdetectionofEssbaseagent/serverstateandmanagingstartup/shutdown,sharedstorageand readwritesupporttoshareddisk.IntegrationwithOEMsimplifiesadministrationbyprovidingrealtime monitoring,reportingandadministrationofEssbasedeployments. IntegrationwithODLsimplifiesadministrationbyprovidingcentralizedlogging,erroridentificationand resolutioncapabilities.IntegrationwithOIMsimplifiesadministrationanddeploymentsbyenabling singlesignon,authenticationandauthorizationcapabilities.
EnhancementsrelatedtoUsability
OracleEssbasehasbeensignificantlyenhancedandnumerousnewfeatureshavebeenaddedto significantlyimproveusabilityanddelivermarketleadinginnovation.Newfeaturesincludeallocations& customcalculationsonASO,EssbaseADFcontrols,webservicessupport,ASOMDXformulaeditor, HyperionSharedServicessecuritysynchronizationremovalandSQLNetsupportetc. Allocationrefertotheprocessoftakingavalueandsplittingitacrossasetoftargetsbasedona criterione.g.splittingtheCEOssalaryacrossbusinessfunctionslikefinance,marketing,salesetc. Customcalculationsrefertotheabilitytoperformcalculationslikeaddition,subtraction,divisionand multiplication.Thesupportforallocationsandcustomcalculationswillbeavailableprogrammaticallyvia APIslikeCAPI,JavaApi,MaxLandalsothroughCalculationManager,aneasytousegraphicalinterface fordefiningcalculations. ASOMDXformulaeditorprovidesagraphical,easytouseinterfacefordefiningandmanagingMDX formulas.Theeditorstemplatedrivenapproachdeliversproductivityenhancementsbyautomatingthe repeatabletasksduringformuladefinition. HSSsynchronizationremovalsimplifiesandstreamlinestheuserauthenticationprocessbynothavingto storeandmanageusercredentialsinmultipleplaces.ThestreamlinedprocessusesHSSsolelyforuser authenticationreducingmultiplepointsoffailure. SQLNetsupportdeliversimprovedEssbasedataloadperformanceagainstOracledatabases.In addition,OracledatabasefeatureslikeRAC,Clusteringetc.canalsobesupported.
EnhancementsrelatedtoEssbaseStudio
TheEssbaseStudioofferinghasbeensignificantlyenhancedandnumerousnewfeatureshavebeen addedtosimplifytheadministrationandapplicationdevelopmenttasks.Majorenhancementsinclude abilitytomove/copy/backupstudiocatalogviaimport/export,improvementsarounddatasource handlingviaabilitytoadd/removesourcedatatable/columns,supportforODBCDSNsources,support fornamedlevel/generations,betterhandlingoftextmeasuresviacustomtextlistmappings,tighter OBIEEintegrationwithStudiobeingabletoreadthehierarchydefinitionsviadirectaccesstoOBIEE businessmodelingandmappinglayerandaccessibilitysupportviasection508support.
OracleEssbase11.1.2
Summary
EnhancementsrelatedtoCrossPortfoliosupport
OracleEssbasehasbeensignificantlyenhancedtosupportanumberofFusionERPapplications includingFinancials,CRMandProjects.OracleEssbaseisakeyinfrastructurecomponentoftheFusion MiddlewarestackandisusedtodeliversreportingandanalyticscapabilitiesforanumberofOracles ERP,CRMandEPMapplications.EnhancementsincludenewfeatureslikeissuingMDXqueriesvia PL/SQL,EPMArelatedenhancements,HyperionPlanningrelatedenhancementsetc.
OracleEssbase11.1.2
TableofContents
ExecutiveSummary..............................................................................................................................................2 KeyNewFeatures...............................................................................................................................................................2 EnhancementsrelatedtoReliability,PerformanceandSecurity........................................................2 EnhancementsrelatedtoUsability..................................................................................................................3 EnhancementsrelatedtoEssbaseStudio......................................................................................................3 EnhancementsrelatedtoCrossPortfoliosupport.....................................................................................4 Lesson1:BuildingQuickEssbaseCubes......................................................................................................6 BuildingQuickEssbaseCubes.......................................................................................................................................7 Lesson2:CreatinganEssbaseCubewithStudio....................................................................................16 Overview&Objective ......................................................................................................................................................17 Exercise1 Exercise2 Exercise3 Exercise4 Exercise5 Exercise6 Exercise7 DataSourceandMiniSchemaCreation......................................................................................17 CreatingFolderStructures ...............................................................................................................25 ManagingHierarchies........................................................................................................................29 CubeSchemaCreation.......................................................................................................................39 SettingEssbaseProperties ...............................................................................................................48 EssbaseAliasTable.............................................................................................................................63 DrillThroughReports........................................................................................................................69
OracleEssbase11.1.2
Lesson1
BuildingQuickEssbaseCubes
Lesson1:BuildingQuickEssbaseCubes
Aftercompletingthislessonthestudentshouldbeableto:
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
BuildingQuickEssbaseCubes
Thissectiondoesnotcontainanyexercises.Thesectionispresentedasa PowerPointpresentationthatsummarizestipsandtricksforcreatingand presentingEssbasecubes.Theslidesthatfollowarethesameusedbythe instructor.Allnewfeaturesforthe11.1.2releasearesummarizedinthe precedingsection.Thereareslidessummarizingthenewfeaturesincluded below.
Essbase Provides a Recipe for Quick Value Multi-dimension and Hybrid OLAP engine:
Robust ad-hoc interactivity Drill-down Multi-dimensional Navigation Synthesizing information Warehouse Advanced calculations Scenario modeling (what-if) Data SQL
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
Unsurpassed ad-hoc/analytic capabilities Scenario Modeling (what-if analysis) Simplify and accelerate BI Process (self-service analysis) Open access and deployment via standards
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
Enterprise Management:
Session management Fewer cubes
Analytic Breadth:
No measure group requirement Write-back and scenario based analysis
Lower TCO
Extreme Performance
Identical Hardware Load & Calculation Time in Minutes
350 300 250 200 162 150 100 50 0 6 4 20 2 0.01 0 0 10 7 294 14 11.9 12 10 60 8 50 40 30
Competing Vendor
Essbase
Competing Vendor
Essbase
Competing Vendor
Essbase
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
Optimization
Partitioning Clustering Tuning Trickle Feed
Pervasive, Multipurpose BI & Analytics Scenario Q&R EPM Workspace Ad-Hoc / Analytics Modeling
Applications
Essbase
OLAP
Excel XML
Business Process
10
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
Essbase
Advanced calculation engine Analytic Modeling and Analysis Scalability
OBIEE
Intelligent Request Generation and
Optimized Data Access Services
Simple aggregations to complex crossdimensional allocations Relationship aware Application wide or subset specific Conditional and procedural logic
Hierarchy-based navigation Centralized dimensional maintenance Financial and time intelligence Scenario-based and what-if analysis
Multi-user read write Incremental data loading High user concurrency Multi-platform 32/64 bit
support
Open APIs
Data Warehouse
Business Process
OracleEssbase11.1.2
11
Lesson1:BuildingQuickEssbaseCubes
Dynamic, adaptive visualization of data Advanced insight through drag-and-drop Maintain insight with increasing business dimensions Statistical Analysis Dashboard Display Customizable UI
The Ultimate Mixer (move over Kitchen Aid) Advanced Office Integration
Who:
Power user End user
Capabilities across:
Excel Word PowerPoint Outlook
Ad-hoc and free form analysis Function-based grids Dynamic data points Multi-source reporting Application forms
12
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
The Blast Chiller Essbase Application Manager Quick prototyping Copy and paste to and from Excel Disconnected outline and rule creation Notes:
BSO only Save outline convert to ASO Essbase 6.5.x No new features Save as into newer server Not supported, not for customers
The Double Oven Essbase Studio Make muffins and pizza at the same time- amazing!
Data Warehouses
HR
Payroll Sales
MDM Oracle Scripts Flat-files SAP
Customer Profitability
OBIEE
Marketing
Drill through
Proliferation of data sources Inter-related and dependent applications Source-type specific modeling & construction environments
OracleEssbase11.1.2
13
Lesson1:BuildingQuickEssbaseCubes
Map data source Map Essbase target Model data source(s) Create hierarchies Create cube schema Deploy Essbase model
A dimension element that is bound to a physical column in the database Folders created by user to organize contents in the repository
A dimension element of that is of a measure type Thumbnail navigator to obtain a miniaturized view of the minischem Cube schema A higher level metadata element that consists of hierarchies and measures.
Hierarchy - A higher level metadata element that has been created from base dimensional elements Essbase Model A cube schema that has all the properties necessary to create an Essbase application
14
OracleEssbase11.1.2
Lesson1:BuildingQuickEssbaseCubes
OracleEssbase11.1.2
15
Lesson2
CreatinganEssbaseCubewithStudio
Lesson2:CreatinganEssbaseCubewithStudio
Uponcompletionofthissessionthestudentshouldbeableto: Createarelationalsourcedatabase MapconnectionsintoEssbaseStudio Completeallstepsrequiredtodeployacubefromarelationaldatasource
16
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Overview&Objective
TheobjectiveofthisseriesofexercisesistoprovideabroadoverviewofEssbase Studiocapabilitiesthatcanbeusedinthecreationofcustomdemonstrations andPOCs.Theseexercisesfocusonarelationalmodel,butthemajorityofthem canbeusedwithflatfilesaswell.Theoneexceptionisthecreationofthemini schema.ThedriverusedbyEssbaseStudioonlyallowsselfjoinsforparent/child buildsonafile.Youcannotcreatejoinsbetweenfiles.
Exercise1 DataSourceandMiniSchemaCreation
1) OpentheEssbaseStudioConsoleandlogin. 2) Createanewdatasource.RightclickonDataSourcesandselectNew>DataSource
OracleEssbase11.1.2
17
Lesson2:CreatinganEssbaseCubewithStudio
3) GivethenewsourceanameofTBC_newandauser/passwordofTBC.
18
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
4) Selectthefollowingtables,asshown:
OracleEssbase11.1.2
19
Lesson2:CreatinganEssbaseCubewithStudio
5) CreateanewminischemathenamewilldefaulttoTBC_newschema.
20
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
6) Populatetheschemawithallthetables:
OracleEssbase11.1.2
21
Lesson2:CreatinganEssbaseCubewithStudio
7) Wedonotwanttocreateanymetadataelementsatthistime:
8) WhenyouselectFinishthenewconnectioniscreated:
22
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
9) Theminischemaopens:
OracleEssbase11.1.2
23
Lesson2:CreatinganEssbaseCubewithStudio
10) DoubleclicktheTBC_newSchematabatthetopofthescematomaximisethe display
24
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Exercise2 CreatingFolderStructures
Itisnotalwaysnecessarytomanuallypositiontheelements,butthisgivesus controloverwheretheyarestored,sowecancreatealogicalstructureandfind everythingeasily.
OracleEssbase11.1.2
25
Lesson2:CreatinganEssbaseCubewithStudio
1) CreateanewfolderunderDimensionElements,calledTBC_new.Rightclick onDimensionElementsandselectNew>Folder.
2) NamethefolderTBC_new.
26
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
3) ExpandthetablesintheTBC_newdatasourceanddragthefollowingelementsinto thenewfolderyoujustcreated. TableName Sales Measures Product Market Family Region Scenario 4) Wewanttoaddcolumnsbasedonthedate(suchasmonth),tocreatetherequired dateelements,rightclickonTransdateintheTBC_newfolderandselectCreate DateElements ColumnName Amount Transdate Parent Child SKU Ounces State Family Region Scenario
OracleEssbase11.1.2
27
Lesson2:CreatinganEssbaseCubewithStudio
5) Selecttheelementsrequired,asbelow:
28
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Exercise3 ManagingHierarchies
1) CreateanewfolderunderthefolderHierarchiesalsocalledTBC_new.
OracleEssbase11.1.2
29
Lesson2:CreatinganEssbaseCubewithStudio
2) Createanewhierarchyunderthisfolder
3) TypeTimeintotheNamefielditrenamesthetab.
30
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
4) DragtheYearfieldfromtheTBC_newDimensionElementsfolderintotheHierarchy column:
5) DragtheQuarterfieldovertheYearfieldinthehierarchywindow,soitwillbe addedasachild:
OracleEssbase11.1.2
31
Lesson2:CreatinganEssbaseCubewithStudio
6) RepeatforMonth.
32
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
11) RightClicktheTimehierarchyandselectPreview.
OracleEssbase11.1.2
33
Lesson2:CreatinganEssbaseCubewithStudio
Youwillnoticethatitnolongerdisplaysalltheelements,sowecannotfullycheck thesortingthisappearstobeafeature,butdoesmakesense:wedonotwantto sort/selectthewholefacttable. 12) Repeatsteps3.1to3.6tocreatehierarchiesforthefollowingmembersandaddthe indicatedsorting(as3.9): HierarchyName Measures Product Member Parent Child Family MemberSortField(table.column) Measures.Sortkey
34
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Region Scenario 13) OpentheProducthierarchyandaddtheelementOuncesasasiblingofFamilyand thenaddSKUagainasachildofOunces. SKU Region State Scenario Product.SKU Region.Region Market.State
OracleEssbase11.1.2
35
Lesson2:CreatinganEssbaseCubewithStudio
15) RepeatfortheitemsVarianceandVariance%.
36
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
16) SaveandPreview
OracleEssbase11.1.2
37
Lesson2:CreatinganEssbaseCubewithStudio
18) Inasimilarway,wenowcreateaViewHierarchywiththeelementsDaily,QTD,YTD.
38
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Exercise4 CubeSchemaCreation
1) RightclickontheCubeSchemasfolderandselectNew>CubeSchema.
OracleEssbase11.1.2
39
Lesson2:CreatinganEssbaseCubewithStudio
4) AddthehierarchiesshownbelowtotheHierarchiessection:
40
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Note:AnEssbasemodelisalocalrepresentationofthestructure.AnEssbase outlinewillNOTbecreatedatthisstage.
OracleEssbase11.1.2
41
Lesson2:CreatinganEssbaseCubewithStudio
6) PressFinish.
42
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
7) CreateanEssbasecube.Rightclickablankareaofthemodelworkspace(orthe modelnameintheNavigatorpane)andselectCubeDeploymentWizard.
OracleEssbase11.1.2
43
Lesson2:CreatinganEssbaseCubewithStudio
8) SelecttheEssbaseServer,ApplicationandDatabasenameandpressFinish.
44
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
9) Hopefully,youwillseeasuccessmessage!PressOK.(Sometimesitdoesnot display.)
10) SelectCancelTheFinishbuttonwillcauseittoregeneratethecube!
OracleEssbase11.1.2
45
Lesson2:CreatinganEssbaseCubewithStudio
11) WecanlaunchEssbaseAdministrationServicesdirectlyfromStudio.
12) SingleSignonasusual!(ensuretheUsernameiscorrect,thedefaultisadmin.)
46
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
14) NavigatetotheApplication/databaseyoucreatedandopentheoutline.
15) Confirmthedimensionshavebuiltcorrectlyandthesequenceiscorrect.
16) Closetheoutline.
OracleEssbase11.1.2
47
Lesson2:CreatinganEssbaseCubewithStudio
17) WehavesuccessfullycreatedanEssbaseoutline,buthavenotspecifiedanyofthe propertiesweneed:Time;Alias;DynamicCalc,etc.Also,wehavecreatedaBSO cubeandwewanttocreateanASOone,sodeletethisapplicationbefore proceeding.
EndofExercise
Exercise5 SettingEssbaseProperties
1) WecangettotheEssbasePropertiesinavarietyofways.Rightclickonthefield Measures>ChildandselectEssbaseProperties.Alternatively,wecouldhave doubleclickedthefield,orrightclickedontheEssbaseModelintheNavigator window.
48
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
2) TheEssbaseModelPropertiesopenswithfocusontheelementwehadselected.
OracleEssbase11.1.2
49
Lesson2:CreatinganEssbaseCubewithStudio
3) HerewecanspecifyallthestandardEssbasepropertiesthatweneed,dividedinto appropriatetabs.
4) AddthefollowingselectionstotheCHILDelementasExternalSource.Notethatwe arenotaddinginformationthatrelatestoBSOmodels(TwoPass,DataStorage,etc.) aswearecreatinganASOmodel. Tab Info Formula UDAs 5) Fromherewecancontrolallmembers,aswellastheoverallmodelpropertiesby selectingadifferentelementinthelefthandwindow.Setthefollowingproperties forthespecifiedelements. Field Consolidation Formula UDAValue Value CONSOLIDATION FORMULA_ASO VARIANCEREPORTING TIMEBALANCE UDA
50
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Member TBC_newModel Tab General Field ASOStorage Model NameinCube Dimension Type Storage Hierarchy Settings Storage Hierarchy Settings Formula Setting Yes
Time
General Info
Year Time
Measures
LabelOnly DynamicatDimensionLevel
Scenario
LabelOnly DynamicatDimensionLevel
Variance
[Actual]
OracleEssbase11.1.2
51
Lesson2:CreatinganEssbaseCubewithStudio
Variance% Formula Formula IIF( IsUda([Measures].Cu rrentMember,"E"), ([Budget] [Actual])/[Budget]*100, ([Actual] [Budget])/[Budget]*100 View Outline Build Info Formula Hierarchy Settings Storage Formula )
DynamicatDimensionLevel
QTD
52
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Attributetype Numeric
6) 5.6ClickApply,thenCloseandyouwillgetthismessage
OracleEssbase11.1.2
53
Lesson2:CreatinganEssbaseCubewithStudio
9) RightclickthemodelnameandselecttheCubeDeploymentwizard.
54
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
11) SelecttoBuildoutlineandloaddataandOverwriteexistingdata.
12) 5.12PressFinish
OracleEssbase11.1.2
55
Lesson2:CreatinganEssbaseCubewithStudio
13) Theloadwill(probably!)fail.SelectOKandthenCancel.
14) LaunchEASfromtheToolsmenu.
15) NavigatetotheTBC_newapplicationandviewtherulesfiles.
56
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
OracleEssbase11.1.2
57
Lesson2:CreatinganEssbaseCubewithStudio
18) Savetheruleandthenexecuteit(rightclickonthedatabasenameandselectLoad Data).
58
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
OracleEssbase11.1.2
59
Lesson2:CreatinganEssbaseCubewithStudio
20) Therulehascompletedwithwarnings,buthasloadeddata.Confirmthisbylooking atthedatabasepropertieswehaveloaded21thousandcells.
21) RightclickontheModelnameandselectShowDeploymentHistory.
22) Thiswillshowacompletehistoryofalldeployments.
60
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
OracleEssbase11.1.2
61
Lesson2:CreatinganEssbaseCubewithStudio
25) Fromherewecandoubleclickonanyelementtomakeitthefocus.
26) OpenExcelandconnecttothecubetoshowSmartViewcapabilities(ifrequired).
EndofExercise
62
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Exercise6 EssbaseAliasTable
1) FromtheToolsmenu,selectAliasSetManager.
2) Selecttoaddanewset.
OracleEssbase11.1.2
63
Lesson2:CreatinganEssbaseCubewithStudio
3) NamethenewAliassetTBC_new.
4) Selecttoaddanewbinding.
64
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
5) Wecannowlinktheelementsweareusing(theSource)toaspecificdatabase column(theBindingexpression).LinkSKUtoProduct.SKU_ALIAS.
6) SelectOKtosavethisbindingandtobeabletoaddmore.
7) SelectOKagaintosavethisAliasSet.
OracleEssbase11.1.2
65
Lesson2:CreatinganEssbaseCubewithStudio
8) ThisAliasSetcannowbelinkedtomanyEssbasemodels,ratherthanhavingtoset upthelinkageindividually.OpentheEssbasepropertiesscreen(see5.1ifstuck). AgainsttheAliastabforthemodel,youcanaddeachaliastablerequired.
9) Closethisscreen(savingthechanges)andredeploythemodel.
66
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
10) Selecttobuildtheoutlineonly.
OracleEssbase11.1.2
67
Lesson2:CreatinganEssbaseCubewithStudio
11) OpentheoutlineinEASandexpandtheProductdimension.
68
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
Exercise7 DrillThroughReports
1) RightclickontheDrillThroughreportsfolderandselecttocreateanewone.
2) RenamethereportDetailandselecttoaddintersectionlevels.
OracleEssbase11.1.2
69
Lesson2:CreatinganEssbaseCubewithStudio
3) ExpandthehierarchiesnodeandthenTBC_newtogettoourhierarchies.(Note thatonlythosefoldersthatcontainahierarchystructurearedisplayed.)
4) SelectTime,Product,ScenarioandRegionandpressOK.
70
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
5) Wecannowselecttheintersectionlevelsthatareapplicableforthisreport.
6) SelecttheReportContentsTab.
OracleEssbase11.1.2
71
Lesson2:CreatinganEssbaseCubewithStudio
7) Addthecolumnsrequiredforthisreport.Selectallrequiredcolumns(usingcontrol click)wecanreorderthemafterwards.
8) Usetheupanddownarrowsontherighttogettherequiredsequencetogeta selectionsimilartothis(notethatIhaveaddedAMOUNTtwice).
9) SelecttoSumtheAmountcolumn.
72
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
12) PresstheTestbuttonandfillintheparametersandselectShowResult.
OracleEssbase11.1.2
73
Lesson2:CreatinganEssbaseCubewithStudio
13) GototheAssociationstab.Alldatabasesthatusethecombinationofdimensions wehaveselectedaredisplayed.
74
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
OracleEssbase11.1.2
75
Lesson2:CreatinganEssbaseCubewithStudio
17) Toexecutethedrillthroughreport,rightclickthecellandselectHyperion>AdHoc Analysis>DrillThroughReports.
18) Selecttheappropriatereport(ifmorethanone)andselectLaunch.
76
OracleEssbase11.1.2
Lesson2:CreatinganEssbaseCubewithStudio
19) Anewtabopenswiththereport.
EndofExercise
OracleEssbase11.1.2
77
Lesson3
EssbaseIronChef
Lesson3:EssbaseIronChef
Uponcompletionofthislessonthestudentshouldbeableto: CreateanEssbasecubefromaflatfiledatadump CreateanEssbasecubefromacustomerreport
78
OracleEssbase11.1.2
Lesson3:EssbaseIronChef
Overview&Objective
Quiteoften,acustomerwillgiveyouadatadumporareportandaskyoutoprovevaluewithEssbase. Othertimes,youneedtoproactivelyseektheedatasources.Regardlessofhowyouobtainthedata gettingeitheralimiteddatadumporareportisanidealwaytosourceanEssbasecube.Essbaseisall aboutthedata,allaboutthereport.Thesesourcesprovide: Dimensionality Seeddata Hierarchies Reportingrequirements
Takingoneofthesedatasourcesandshowingthecustomervaluewiththeirowndataisthebestwayto drivehomethevaluethatEssbasecanprovidetoanorganization.
Exercise8 AddingQuickValuewithOracleEssbase
TheStateofCalifornianeedsarecipebettermanagefunds.Giventhecurrent economicclient,itisimperativethattheymanageaninevitablyshrinkingbudget byoptimizingfundsspentonStateprogramsandcontracts.Theyneedtobeable toanswerthefollowingquestions: Wherearewespendingthemajorityofourcontractdollars? Ofthosecontracts,howmanyarecompetitive? DowehavecontractswithopenPOvalue?Ifso,whatdepartmentsare thesein? Ofthecontractdollarswhatpercentagearespentondemographic groups(smallbusinesses,veteransgroups,etc)? Ifwetakea10%budgetcutshouldthisbeappliedacrosstheboard,or aretheircontractualareasthatwecouldeliminatealltogethertobetter absorbthebudgetshortfall? Whatpercentageofcontractsareamended?Assumingtheseaccountfor anincreasedbudgetimpact,whatareasareamendedmostoften? Whichvendorisgettingthemajorityofcontractdollars?Doesthishold trueacrossallcontracttypes?Arethesecontractscontestedclosed?How oftendoesthestateacceptabidthatisnotthelowestspend? 79
OracleEssbase11.1.2
Lesson3:EssbaseIronChef
Whatpercentageisagivencontractofthetotalspend?
Exercise9 CreatingaCubefromaCustomerReport
Forthiscasestudyyoushouldcompletethefollowingsteps:
1) ReviewtheDailyOperationsSnapshot09202006.xlsspreadsheetfoundinthe EssbaseAdvanced/VanguardPOCfolder. 2) Basedonyourreviewdothefollowing: a. CreateanEssbasecubethatcouldbeusedtoreplicatethereports b. LoaddatafromtheDailyOperationsSnapshot09202006.xlsspreadhseet c. CreateatleasttworeportsfromtheEssbasecube
80
OracleEssbase11.1.2
Lesson4
DateTime,Text,andVBA
Lesson4:DateTime,Text,andVBA
Uponcompletionofthislessonthestudentshouldbeableto: CreateaDatetimedimensioninandASOoutline CreatesimpleVBAtemplatesinSmartView BuilddateandtextmeasurecapabilitiesintoEssbase
OracleEssbase11.1.2
81
Lesson4:DateTime,Text,andVBA
Overview&ObjectiveWorkingwithDateTimeDimensions
Date-time Dimensions
Automated Time Dimensions
Gregorian Manufacturing ISO Fiscal Retail
Expanded Functionality
Understanding time as a continuum Cross-tab reporting of time MDX Functions to work with time Loading based on time stamp
TheabilitytoproperlydiscernthedatevaluefromonemembertoanotherinanEssbaseoutlineis somethingthathasbeenachallengeoftheyears.Theconceptofatruedatetimetypedidnotexistin Essbaseuntilthe9.3.xrelease.WiththisreleaseseriesASOmodelhavetheabilitytodiscernthefinite datevaluebetweenmembersinthedatetimedimension. Thedatetimedimensiontypeiscreated,usingeitherEssbaseStudioortheDateTimedimensionwizard inEssbaseAdministrationServices.TheDateTimeWizardletsyouchoosefromaseriesoftemplate basedcalendarsandrefinethescopeandspecificsofagivencalendar. Thisexerciseasksyoutoaddtimeintelligencemetricstoanoutlinethathasadatetimedimension.Use thefollowingfunctiondefinitionsasareferencetohelpyoucreatethepropermemberformulae: DateToMember(<date>,<dimensionorhierarchy>[,<genlev>]) Givenadate(representedasanumberinAnalyticServicesMDX),thisfunctionwouldreturnthe memberfromadatehierarchyoftheinputdimensionfromthespecifiedgeneration.Default hierarchyisprimaryone,defaultGenerationislowestgeneration. DateRoll(<date>,<date_part>,<number>) SupporteddatepartsarethestandardTimeperiodssuchasDP_Year,DP_Month,DP_Quarter,
82
OracleEssbase11.1.2
Lesson4:DateTime,Text,andVBA
DP_Week,DP_Day.Thisfunctionrolls(addsorsubtracts)ndatepartstotheinputdateand returnsadateintermsofthestandardGregoriancalendar. DateDiff(<date1>,<date2>,<date_part>) Thisfunctionreturnsthedifference(number)betweentwoinputdatesintermsofspecified dateparti.e.DP_Year,DP_Quarter,DP_Month,DP_Week,DP_Day. DatePart(<date>,<date_part_ex>) ThisfunctionreturnstheYear/Quarter/Month/Week/Day/DayOfYear/Weekdayasanumber, giventheinputdateandadatepart,followingthestandardGregoriancalendar Today() ThisfunctionreturnsthecurrentdateonthemachinerunningAnalyticServicesserver. TodateEx("internaldateformat","datestring") Returnsthedate(numeric)valuefrominputdatestringaccordingtothedateformatspecified. Ifthedateorthedateformatstringsareinvalid,anerrorwillbereturnforeithercondition.The functioniscasesensitive,sotypinginaMonthwithlowercasesuchasaprisnotallowed, extrawhitespaceisalsonotallowed(errorwillbereturned)Thisfunctionisanextensionof existingTodatefunction. FormatDate(<date>,internaldateformat) Thisfunctionreturnstheformatteddatestringforinputdate.Ifthedateorthedateformat stringsareinvalid,anerrorwillbereturnforeithercondition.Thefunctioniscapsensitive,so typinginaMonthwithlowercasesuchasaprisnotallowed,extrawhitespaceisalsonot allowed(errorwillbereturned) GetFirstDate(<member>),GetLastDate(<member>) Thesefunctionsreturnthestart/enddate(numeric)forinputdatehierarchymember, otherwisereturns#MISSING(suchaswhenmemberisnotfromthetimedimension). Aggregate(<set>[,<accounts_member>]) AggregatesameasurebasedonitTimeBalanceProperties(TBFirst,TBLast,TBAvg).Behaveslike
OracleEssbase11.1.2
83
Lesson4:DateTime,Text,andVBA
SUMwhenthemeasuredoesnthaveanyTimeBalanceproperty.UsefulinwritingMDX formulasforPeriodsToDatecalculationsacrossanytypeofmetric(E.gSales/HeadCount) Notethatmanyoftheprecedingfunctionsreferenceadateformat.Theformatssupportedbythedate timetypeareasfollows: "monddyyyy",/*monshortddyyyy*/ "Monddyyyy",/*monfullddyyyy*/ "mm/dd/yy",/*mm/dd/yy*/ "yy.mm.dd",/*yy.mm.dd*/ "dd/mm/yy",/*dd/mm/yy*/ "dd.mm.yy",/*dd.mm.yy*/ "ddmmyy",/*ddmmyy*/ "ddMonyy",/*ddmonfullyy*/ "ddmonyy",/*ddmonshortyy*/ "Monddyy",/*monfullddyy*/ "monddyy",/*monshortddyy*/ "mmddyy",/*mmddyy*/ "yy/mm/dd",/*yy/mm/dd*/ "yymmdd",/*yymmdd*/ "ddMonyyyy",/*ddmonfullyyyy*/ "ddmonyyyy",/*ddmonshortyyyy*/ "yyyymmdd",/*yyyymmdd*/ "yyyy/mm/dd",/*yyyy/mm/dd*/ "LongName",/*Longdateformat:Tuesday,March14,1995*/
84
OracleEssbase11.1.2
Lesson4:DateTime,Text,andVBA
Exercise10
ExpandingEssbasewithDateLogic
TheEdenElectronicsCorporationneedstoreportonaseriesoftimebased metrics.Thisexercisehasyouaddthosemetricstoyourmodel.
1) CreateanewASOcubeusingtheTIME.OTL. 2) LoadtheTIME.TXTdatafileintothecube.Itdoesnotrequirealoadrule. 3) AddthefollowingmetricsaschildrenoftheAnalysismemberintheAccounts dimension: a. Rolling5PeriodAvgSales b. DateLastSold c. DaysSinceLastSold d. Day#ofCurrentFiscalYear e. DateoutofStock(hint:considerusingtheTailfunction) f. DayoutofStock(hint:considerusingtheTailfunction)
Exercise11
OptimizingMDXFormulae
OracleEssbase11.1.2
85
Lesson4:DateTime,Text,andVBA
Round( ( ( ([Time].CurrentMember,[Products].CurrentMember,[Transacti ons]) + ([Time].CurrentMember.Lag(1),[Products].CurrentMember,[Tr ansactions]) + ([Time].CurrentMember.Lag(2),[Products].CurrentMember,[Tr ansactions]) ) / (([Time].CurrentMember,Ancestor (Products.CurrentMember, Products.Generations(2)),[Transactions]) + ([Time].CurrentMember.Lag(1),Ancestor (Products.CurrentMember, Products.Generations(2)),[Transactions]) + ([Time].CurrentMember.Lag(2),Ancestor (Products.CurrentMember, Products.Generations(2)),[Transactions]) ) ),4) 4) Savetheoutline,restrucrturealldataifprompted. 5) OpentheOptimization.xlsfile. 6) ConnecttheContributionsheettoyourcopyofASOSamp.Sampledatabase. 7) RefreshthesheetandwritedownthequeryresponsetimefromtheASOSamp applicationlog. 8) OptimizetheMDXformulafor3MonthContirbution. 9) Savetheoutlineandrestructureexistingdata. 10) RefreshtheContributionsheetinSmartViewandwritedownthequeryresponse timefromtheASOSampapplicationlog. 11) Repeatsteps810asmanytimesasnecessarytocontinuetooptimizetheretrieval time. EndofExercise
Exercise12
CreatingSmartViewTemplateswithVBA
86
OracleEssbase11.1.2
2) InExcel,selectTools,thenMacro, M thenVisual V BasicEditor E toopen ntheVisualBasic B ap pplication. 3) Se electFile>ImpotFile. 4) Br rowsetothebin b directoryoftheSmartViewclientin nstallationan ndselectSma art Vie ew.bas.
Anewmoduleisdisplayedwith w alabeled dModule1(orlabeledwith hthenexthig ghest mo odulenumbe er,ifyouhave ealreadyinse ertedoneormore m modules). 5) Us sethefollowingfunctionstocreateate emplateonsh heet1: a. HYPREF FRESH b. HYPCONNECT c. HYPME ENUVZOOMIN N d. HYPME ENUVZOOMO OUT e. HYPME ENUVPIVOT 6) Te estyourtemp plateusingthe eSample.Bas sicdatabase. 7) Op pentheVBA_ _Simple.xlswo orksheet.Com mpareyourte emplatetoth hisone.Youcan c als sousethistemplatetohelpwithyoursample s code.
ssbase11.1. .2 OracleEs
87
Lesson4:DateTime,Text,andVBA
8) Iftime,expandtheVBAtemplateasfollows(usetheSample.Basicdatabase): a. AddadropdownlisttothesheetthatfillswiththechildrenofMarkets. b. Basedontheactivememberinthedropdownlist,createabuttonthat takesthechildrenofthatmemberandplacesthemonthegridasrow headersforasalesreport. c. Createabuttonthattakestheattributesofaselectedproductandshows themintheExcelcellcommentforthatmember. 9) TestyourtemplateusingtheSample.Basicdatabase. 10) OpentheVBA_Extend.xlsworksheet.Compareyourtemplatetothisone.Youcan alsousethistemplatetohelpwithyoursamplecode. EndofExercise
88
OracleEssbase11.1.2