You are on page 1of 88

ORACLECORPORATION

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

Further,thecoursefocusesontwoprimarytoolsforpresentationofinformation: SmartView VisualExplorer

AkeycomponentofthiscourseisthecreationofEssbasecubesduringthesession.Tothatendthere arethreeexercisegroups: EssbaseStudiobasicskills CaseStudy1CreatingandEssbaseCubefromaflatfile CaseStudy2CreatinganEssbaseCubefromanExcelReport

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

Lesson3:EssbaseIronChef...........................................................................................................................78 Overview&Objective ......................................................................................................................................................79 Exercise8 Exercise9 AddingQuickValuewithOracleEssbase...................................................................................79 CreatingaCubefromaCustomerReport..................................................................................80

Lesson4:DateTime,Text,andVBA...........................................................................................................81 Overview&ObjectiveWorkingwithDateTimeDimensions.....................................................................82 Exercise10 ExpandingEssbasewithDateLogic.............................................................................................85 Exercise11 OptimizingMDXFormulae ...............................................................................................................85 Exercise12 CreatingSmartViewTemplateswithVBA................................................................................86

OracleEssbase11.1.2

Lesson1

BuildingQuickEssbaseCubes

Lesson1:BuildingQuickEssbaseCubes
Aftercompletingthislessonthestudentshouldbeableto:

IdentifykeytoolsforquicklybuildingEssbasecubes IdentifykeyreportingcomponentsforeffectivelyhighlightingEssbasecubes Summarizethekeynewfeaturesinthe11.1.2release

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

Essbase OLAP modes:


Stored OLAP (MOLAP) Hybrid OLAP (HOLAP) Relation OLAP (ROLAP)
Essbase Cube End User

OracleEssbase11.1.2

Lesson1:BuildingQuickEssbaseCubes

Value of Essbase in the Enterprise

Unsurpassed ad-hoc/analytic capabilities Scenario Modeling (what-if analysis) Simplify and accelerate BI Process (self-service analysis) Open access and deployment via standards

Essbase Advantages over Standard ROLAP Expanded hierarchies


Alternate hierarchies Hierarchies in all dimensions

Greater breath of analytic ability


Purpose built dimensional calculation engine Hundreds of prebuilt functions, extensible calculator

Speed and simplification


Optimize for analytics Eliminates or minimizes need for aggregate tables Simplified build process minimizes ETL requirements Rapid aggregation of intersections and derived in memory calculations as desired Incremental data loading while maintaining user access

OracleEssbase11.1.2

Lesson1:BuildingQuickEssbaseCubes

Essbase Advantages over Other OLAP Multi-platform support Scalability:


User concurrency Data volumes Calculation capability

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

50 Concurrent Users Query Response Time in Seconds


90 80 70

50 Concurrent Users CPU Utilization %


83

Competing Vendor

Essbase

Competing Vendor

Essbase

Competing Vendor

Essbase

OracleEssbase11.1.2

Lesson1:BuildingQuickEssbaseCubes

Standards Based Query access


MDX SQL

Multiple and cross platform deployment


Unix, Linux, and Windows 32 / 64 bit

Optimization
Partitioning Clustering Tuning Trickle Feed

Pervasive, Multipurpose BI & Analytics Scenario Q&R EPM Workspace Ad-Hoc / Analytics Modeling

Applications

Common Enterprise Information Model (semantic layer)


BUSINESS INTELLIGENCE FOUNDATION Common Enterprise Information Model BI Server Predictive Analytics

Essbase

ETL, Data Source Security, Clustering, DRM

OLTP & ODS Systems

Data Warehouse Data Mart

OLAP

SAP, Oracle, Siebel, PeopleSoft, Custom

Excel XML

Business Process

Copyright 2008, Oracle and/or its affiliates. All rights reserved.

10

OracleEssbase11.1.2

Lesson1:BuildingQuickEssbaseCubes

Oracles BI Platform - Leveraging the Warehouse


Data Integration Ad-hoc Analysis Interactive Dashboards Desktop Gadgets Reporting & Publishing Proactive Detection and Alerts Disconnected & Mobile Analytics MS Office & Outlook Integration

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

OLTP & ODS Systems

Data Warehouse

Oracle PeopleSoft, Siebel, SAP Custom Apps

Business Process

Tools of the Trade Making the Quick Meal

OracleEssbase11.1.2

11

Lesson1:BuildingQuickEssbaseCubes

The Data Equivalent of a Food Processor Visual Explorer


Who:
Hard core analyst Power user

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

Planning Finance Inventory

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

Going from Source to Essbase


1. 2. 3. 4. 5. 6.

Map data source Map Essbase target Model data source(s) Create hierarchies Create cube schema Deploy Essbase model

Essbase Studio - Layout


Metadata Navigator A tree view of the metadata repository Minischema tab in the Data Source Navigator

A dimension element that is bound to a physical column in the database Folders created by user to organize contents in the repository

Data Sources tab in the Data Source Navigator

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

Looking toward the Future


Essbase in the Middle Embedded fusion application engine Financials CRM Projects Enterprise Readiness Oracle Process Manager Multi-node failover and High availability Automated detection of service state Read/write support of shared disk Oracle Enterprise Manager Oracle Diagnostic Logging Oracle Identity Manager

Looking toward the Future


Analytic Capability and Usability Aggregate Storage allocations and procedural logic Analytic Data Framework toolkit Web services support SQL .NET support Open Access
MDX via PL SQL query access to Essbase cubes 508 compliance for Essbase administrative UI Thin client dimension modeling, editing, and cube management

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

11) Addthejoinsasshownbelow,includingtherecursive(parent/child)joininthe Measurestable.

24

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

Note:IamdisplayingCrowsFeet,ratherthatarrow,thisisanoptioninStudio(Edit >Preferences);also,afterjoiningthetablesIhaveaskedStudiotolaythemoutto getthisdisplay.

12) ReturntheSchemadisplaytoitsstartingsize(doubleclickthetabagain)andthen closeitbyclickingontheXinthetab.Savethechanges,whenprompted. Thenewdatasourceisnowreadytobeusedtocreatethedimensionelementswe need. EndofExercise

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

6) Notethattheelementsarecreatedforusautomatically.Wecouldhavedonethis manuallybyselectingNew>DataElement.DoubleclickonYeartoseewhathas beencreated.

7) WehavenowcreatedalltheDimensionElementsweneedandcanproceedonto EssbaseStudioWorkshopStage3.docxtocreatethehierarchies. EndofExercise

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.

Donotcreatethishierarchydowntothedateleveltheformatusedtobuild thedimensionandthedataaredifferent,sonothingwillload.Assoonaswe havesortedoutthereasonand/oraworkaround,thisdocumentwillbe updated. 7) Save&thenselectPreview.

8) Thesequenceisabitrandom!Weneedtofixthis.PressOKandthenClose. 9) OpentheMonthDimensionElementbydoubleclickingit,orrightclickandselect Edit.

32

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

10) SelecttheTRANSDATEfieldfromtheTBC_newconnectionSALEStableandaddto theSortSequenceandthenselectOK.

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

14) OpentheScenariohierarchyandselectAdd>Adduserdefinedsiblingfromthe buttoninthebottomrightofthescreen.NametheitemForecast.

OracleEssbase11.1.2

35

Lesson2:CreatinganEssbaseCubewithStudio
15) RepeatfortheitemsVarianceandVariance%.

36

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

16) SaveandPreview

Note:thatthedisplayappearstoshowmultiplehierarchiesthisisnothowit willbebuiltinEssbase. 17) ClosetheSampleandthehierarchy.

OracleEssbase11.1.2

37

Lesson2:CreatinganEssbaseCubewithStudio
18) Inasimilarway,wenowcreateaViewHierarchywiththeelementsDaily,QTD,YTD.

19) Youmayhavenoticedthatasweaddedtheseuserdefinedelements,theywere automaticallyaddedintothefolderwecreatedthehierarchyin.

WecouldhavecreatedtheseelementsmanuallyinStage2andthenwewould havebeenabletopositionthemwherewewanted.Similarly,whencreating hierarchies,youcandragelementsdirectlyfromthedatasourcesintheright handviewpaneandtheywouldagainhavebeenaddedautomaticallytothe folderwherethehierarchyis. EndofExercise

38

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

Exercise4 CubeSchemaCreation
1) RightclickontheCubeSchemasfolderandselectNew>CubeSchema.

2) NametheSchemaTBC_new. 3) SelecttheAMOUNTcolumnfromDimensionElements\TBC_newfolderandaddto theMeasuresGroup:

OracleEssbase11.1.2

39

Lesson2:CreatinganEssbaseCubewithStudio
4) AddthehierarchiesshownbelowtotheHierarchiessection:

Note:thattheorderinwhichtheyareaddedwilldeterminetheorderinwhichthey appearwithinyourEssbasecubeandthereisnowaytoresequencethemhere. 5) SelectNextandchecktheboxtocreateanEssbaseModel.SelectMeasuresasthe AccountsDimension.

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.

Notethestandardoptionsforoutlinebuild,dataloadorboth,asinEIS.Thereis alsoanewoptiontoCreateandsaverulefileonly.Thiswillpopulatetheloadrules ontheEssbaseserver,wheretheycanbescriptedviaMaxL. Theprogresswindowdisplays.

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.)

13) EASopens,notethatthisisadifferentskintoEASthanwhenlaunchednormally(I preferit,butthereareacoupleofplaceswhereitdisplayswhitetextonawhite background!).

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

Info Outline Build Info Outline Build Formula

LabelOnly DynamicatDimensionLevel

Scenario

LabelOnly DynamicatDimensionLevel

Variance

IIF( IsUda([Measures].Cu rrentMember,"E"), [Actual], [Budget] ) [Budget]

[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

LabelOnly Sum( CrossJoin(

PeriodsToDate( [Year].Generations(3)) ) YTD Formula Formula Sum( CrossJoin( ) ,{[Daily]}

PeriodsToDate( [Year].Generations(2)) ) ) ,{[Daily]}

52

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

Ounces General Essbase attributefor SKU Trueselectthecheckbox

Attributetype Numeric

6) 5.6ClickApply,thenCloseandyouwillgetthismessage

7) SelectYestogetthismessage.WearebuildinganASOcubeandthesystemis tellingusnottomakeTimeSparse.Donotdothisinfrontofcustomersalways maketheTimedimensionDensebeforerunningthis!

8) Closethisbox.NotethatyouhavebeenreturnedtotheModelPropertiesscreen (incaseyouwanttodoanythingaboutthewarnings),soselectCloseagain.This timeitwillclose!

OracleEssbase11.1.2

53

Lesson2:CreatinganEssbaseCubewithStudio
9) RightclickthemodelnameandselecttheCubeDeploymentwizard.

10) EnterthedatabasenameofTBC_newifitcomesupwithanameintheDatabase field,italreadyexistsinwhichcaseyoushoulddeletethisapplicationfromEAS beforecontinuing(youcanupdateadatabasehere,butifTBC_newalreadyexistsit isprobablytheBSOmodelwecreatedearlierandcannotbeconvertedtoASO).

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.

Onerulehasbeencreatedforeachdimension(includingattributedimensions). Thesecannotbemodifiedoropenedinthisinterface(thisisbecausetherule maybesetforVaryingAttributes,whicharenotsupportedintheLoadRule GUI). Thereisalsoaruleforthedataload,thatwillbenamedafterthedatabase, whichcanbeopened.

56

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

16) Openthedataloadrule(Main)andopen/runtheSQLsavedwithit(note:Data source,userandpasswordareallTBC).

17) Therulelookscorrectalldimensionsarelistedandnamedcorrectly.Validatethe rule.

OracleEssbase11.1.2

57

Lesson2:CreatinganEssbaseCubewithStudio
18) Savetheruleandthenexecuteit(rightclickonthedatabasenameandselectLoad Data).

58

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

19) ChangethedatasourcetoSQL,selecttherulesfileandentertheUser name/passwordandselectOK.

OracleEssbase11.1.2

59

Lesson2:CreatinganEssbaseCubewithStudio
20) Therulehascompletedwithwarnings,buthasloadeddata.Confirmthisbylooking atthedatabasepropertieswehaveloaded21thousandcells.

21) RightclickontheModelnameandselectShowDeploymentHistory.

22) Thiswillshowacompletehistoryofalldeployments.

60

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

23) Followthedeploymentsuggestionaboveandtwosuccessfulentrieswillbeadded totheend.

Ifyougetthewarningthatadministrativetasksarebeingcarriedoutsothe deploymentcannotbecompleted,stoptheapplicationinEAS.Thiswillensure alllocksarecleared. 24) Rightclickonanyoftheelements,hierarchiesorthemodelandselectShow lineage.

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.

12) Noaliasesaredisplayed.ThealiastablewehavecreatedisnamedaftertheAlias Set.Undertheoutlineproperties,wecanseethatouraliastablehasbeencreated, butisnotactive.

13) Ifrequired,makethetableactiveandshowinEASorSmartView. EndofExercise

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

10) Thenrenamethesecondamount(AMOUNT_1)andselecttoshowtheCount. 11) Addanysortingrequired.

12) PresstheTestbuttonandfillintheparametersandselectShowResult.

OracleEssbase11.1.2

73

Lesson2:CreatinganEssbaseCubewithStudio
13) GototheAssociationstab.Alldatabasesthatusethecombinationofdimensions wehaveselectedaredisplayed.

14) Checktherequireddatabase(s)andsave.Notethatnofurtheractionisrequired. Thisreportisimmediatelyavailableforthesedatabaseswithoutanyother change/update. 15) OpenExcelandconnecttothedatabaseinSmartViewandstartanadhocquery. Foreaseofvisibility,setyourstylestohighlightdrillthroughreports.

74

OracleEssbase11.1.2

Lesson2:CreatinganEssbaseCubewithStudio

16) Drilltoalevelwherereportsareavailableandselectadatacellwhereitis highlighted.Notethatthedrillthroughreportisshownasacomment.

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?

Whilethisprojectisaimedathelpingthestate,thesourceinformationis publicallyavailable.Wecouldeasilyusethisinformationtohelpvendors understandhowthestatespendsmoneyandhowtobetterpositiontheir productsandservices. Youcanbuildthecubeusinganymethodyouchoose.Youwillbejudgedon tastefuldesign,executionoftechniques,andoriginality.However,please completesteps13withina90minuteperiod.Thesecretingredientsforthis challenge:


1) UsetheSCPRS.txtfiletocreateanEssbasecubetoanswerthequestionslisted above. 2) Createatleasttworeportstosupportansweringthequestionslistedabove. 3) ForthisexerciseyouonlyneedtocreatetheEssbasecube.However,amore completesolutionmayincludeadditionalcomponents.Listanyadditional components,analyticcapabilitieswemightbeabletousetoshowvalueinthis demo. EndofExercise

Exercise9 CreatingaCubefromaCustomerReport
Forthiscasestudyyoushouldcompletethefollowingsteps:
1) ReviewtheDailyOperationsSnapshot09202006.xlsspreadsheetfoundinthe EssbaseAdvanced/VanguardPOCfolder. 2) Basedonyourreviewdothefollowing: a. CreateanEssbasecubethatcouldbeusedtoreplicatethereports b. LoaddatafromtheDailyOperationsSnapshot09202006.xlsspreadhseet c. CreateatleasttworeportsfromtheEssbasecube

Youcanbuildthecubeusinganymethodyouchoose.Youcanalsochooseany mediumforpresentationofthereports.Completesteps13withina90minute period.


EndofExercise

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)

4) OpentheTIME.XLSspreadsheettovalidateyourformulae.TheAnswerssheet containsdatacalculatedproperly.ConnecttheRetrievesheettoyourcubeand refreshtocompareyourresultstotheproperanswers. 5) YoucanusetheTIMEC.OTLtoseecompletedformulaforthedesiredmetrics. EndofExercise

Exercise11

OptimizingMDXFormulae

ThisexercisepresentsacasestudyforoptimizingandMDXformulae.Thesolutionpresentedin thisexerciserepresentsonepossiblesoutiontothisoptimizationquestion. 1) MakeacopyoftheASOSampapplication. 2) AddamemberintheAccountsdimensionnamed3MonthContribution.Thegoalis tocalculateaproducts3monthaverageTransactionscontribution%toall products3monthaverage. 3) Enterthismemberformulafor3MonthContribution:

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

ThisexercisewalksyouthroughtheprocessofcreatingasimpleVBAtemplateleveragingthe SmartViewforOfficeVBAtoolkit. 1) Ifnotalreadyopen,openExcel.

86

OracleEssbase11.1.2

Lesson4: :DateTime, T Tex xt,andVBA V

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

You might also like