11 1 2 essbase adv

Upload: ghazouani

Post on 03-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 11 1 2 Essbase Adv

    1/88

    Writtenby: MikeNader&DaveCollins

    DocumentbasedontheBIG2G:EPMBETAMARCH2010TrainingDemoImage

    ORACLE CORPORATION

    Essbase Advanced

    Building Quick Cubes for Demos and POCsOracle Essbase Edition 11.1.2

    March14,2010

    BroughttoyoubytheEPMGlobalProductSalesSupportTeamhttp://my.oracle.com/epm

  • 7/28/2019 11 1 2 Essbase Adv

    2/88

    Summary

    2 OracleEssbase11.1.2

    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

    Enterprise

    Manager

    (OEM),

    Oracle

    Diagnostic

    Logging

    (ODL)

    and

    Oracle

    Identity

    Management

    (OIM).

    Thesupportfortheseinfrastructurecomponentsdeliversontheenterprisereadinessthemeby

    deliveringunmatchedreliability,performance,scalabilityandsecurity.Customersbenefitfromlower

    totalcostofownership(TCO)andhigherreturnoninvestment(ROI).

    IntegrationwithOPMNallowsforfailingoverofEssbaseagentandserversfromonephysicalnodeto

    anotherduetohardware/softwarefailure.Supportedfeaturesinclude:activepassivefailover,

  • 7/28/2019 11 1 2 Essbase Adv

    3/88

    Summary

    OracleEssbase11.1.2 3

    automaticdetectionofEssbaseagent/serverstateandmanagingstartup/shutdown,sharedstorageand

    readwritesupporttoshareddisk.IntegrationwithOEMsimplifiesadministrationbyprovidingrealtime

    monitoring,reportingandadministrationofEssbasedeployments.

    Integrationwith

    ODL

    simplifies

    administration

    by

    providing

    centralized

    logging,

    error

    identification

    and

    resolutioncapabilities.IntegrationwithOIMsimplifiesadministrationanddeploymentsbyenabling

    singlesignon,authenticationandauthorizationcapabilities.

    EnhancementsrelatedtoUsability

    OracleEssbasehasbeensignificantlyenhancedandnumerousnewfeatureshavebeenaddedto

    significantlyimproveusabilityanddelivermarketleadinginnovation.Newfeaturesincludeallocations&

    customcalculationsonASO,EssbaseADFcontrols,webservicessupport,ASOMDXformulaeditor,

    HyperionSharedServicessecuritysynchronizationremovalandSQLNetsupportetc.

    Allocationrefer

    to

    the

    process

    of

    taking

    avalue

    and

    splitting

    it

    across

    aset

    of

    targets

    based

    on

    a

    criterione.g.splittingtheCEOssalaryacrossbusinessfunctionslikefinance,marketing,salesetc.

    Customcalculationsrefertotheabilitytoperformcalculationslikeaddition,subtraction,divisionand

    multiplication.Thesupportforallocationsandcustomcalculationswillbeavailableprogrammaticallyvia

    APIslikeCAPI,JavaApi,MaxLandalsothroughCalculationManager,aneasytousegraphicalinterface

    fordefiningcalculations.

    ASOMDXformulaeditorprovidesagraphical,easytouseinterfacefordefiningandmanagingMDX

    formulas.Theeditorstemplatedrivenapproachdeliversproductivityenhancementsbyautomatingthe

    repeatabletasksduringformuladefinition.

    HSSsynchronization

    removal

    simplifies

    and

    streamlines

    the

    user

    authentication

    process

    by

    not

    having

    to

    storeandmanageusercredentialsinmultipleplaces.ThestreamlinedprocessusesHSSsolelyforuser

    authenticationreducingmultiplepointsoffailure.

    SQLNetsupportdeliversimprovedEssbasedataloadperformanceagainstOracledatabases.In

    addition,OracledatabasefeatureslikeRAC,Clusteringetc.canalsobesupported.

    EnhancementsrelatedtoEssbaseStudio

    TheEssbaseStudioofferinghasbeensignificantlyenhancedandnumerousnewfeatureshavebeen

    addedtosimplifytheadministrationandapplicationdevelopmenttasks.Majorenhancementsinclude

    abilityto

    move/copy/

    backup

    studio

    catalog

    via

    import/export,

    improvements

    around

    data

    source

    handlingviaabilitytoadd/removesourcedatatable/columns,supportforODBCDSNsources,support

    fornamedlevel/generations,betterhandlingoftextmeasuresviacustomtextlistmappings,tighter

    OBIEEintegrationwithStudiobeingabletoreadthehierarchydefinitionsviadirectaccesstoOBIEE

    businessmodelingandmappinglayerandaccessibilitysupportviasection508support.

  • 7/28/2019 11 1 2 Essbase Adv

    4/88

    Summary

    4 OracleEssbase11.1.2

    EnhancementsrelatedtoCrossPortfoliosupport

    OracleEssbasehasbeensignificantlyenhancedtosupportanumberofFusionERPapplications

    includingFinancials,CRMandProjects.OracleEssbaseisakeyinfrastructurecomponentoftheFusion

    Middleware

    stack

    and

    is

    used

    to

    delivers

    reporting

    and

    analytics

    capabilities

    for

    a

    number

    of

    Oracles

    ERP,CRMandEPMapplications.EnhancementsincludenewfeatureslikeissuingMDXqueriesvia

    PL/SQL,EPMArelatedenhancements,HyperionPlanningrelatedenhancementsetc.

  • 7/28/2019 11 1 2 Essbase Adv

    5/88

    TableofContents

    OracleEssbase11.1.2 5

    ExecutiveSummary..............................................................................................................................................2

    Key New Features ............................................................................................................................................................... 2

    Enhancements related to Reliability, Performance and Security ........................................................ 2

    Enhancements related to Usability .................................................................................................................. 3

    Enhancements related to Essbase Studio ...................................................................................................... 3

    Enhancements related to Cross Portfolio support ..................................................................................... 4

    Lesson1: BuildingQuickEssbaseCubes......................................................................................................6

    Building Quick Essbase Cubes ....................................................................................................................................... 7

    Lesson2: CreatinganEssbaseCubewithStudio....................................................................................16

    Overview & Objective ...................................................................................................................................................... 17

    Exercise 1 Data Source and Mini Schema Creation ...................................................................................... 17

    Exercise 2 Creating Folder Structures ............................................................................................................... 25

    Exercise 3 Managing Hierarchies ........................................................................................................................ 29

    Exercise 4 Cube Schema Creation ....................................................................................................................... 39

    Exercise 5 Setting Essbase Properties ............................................................................................................... 48

    Exercise 6 Essbase Alias Table ............................................................................................................................. 63

    Exercise 7

    Drill Through Reports ........................................................................................................................ 69

    Lesson3: EssbaseIronChef...........................................................................................................................78

    Overview & Objective ...................................................................................................................................................... 79

    Exercise 8 Adding Quick Value with Oracle Essbase ................................................................................... 79

    Exercise 9 Creating a Cube from a Customer Report .................................................................................. 80

    Lesson4: Date-Time,Text,andVBA...........................................................................................................81

    Overview & Objective Working with Date Time Dimensions ..................................................................... 82

    Exercise 10 Expanding Essbase with Date Logic ............................................................................................. 85

    Exercise 11 Optimizing MDX Formulae............................................................................................................... 85

    Exercise 12 Creating Smart View Templates with VBA ................................................................................ 86

  • 7/28/2019 11 1 2 Essbase Adv

    6/88

    Lesson1BuildingQuickEssbaseCubes

    6 OracleEssbase11.1.2

    Lesson1: BuildingQuickEssbaseCubes

    Aftercompletingthislessonthestudentshouldbeableto:

    IdentifykeytoolsforquicklybuildingEssbasecubes IdentifykeyreportingcomponentsforeffectivelyhighlightingEssbasecubes Summarizethekeynewfeaturesinthe11.1.2release

  • 7/28/2019 11 1 2 Essbase Adv

    7/88

    Lesson1: BuildingQuickEssbaseCubes

    OracleEssbase11.1.2 7

    BuildingQuickEssbaseCubes

    Thissectiondoesnotcontainanyexercises.Thesectionispresentedasa

    PowerPointpresentation

    that

    summarizes

    tips

    and

    tricks

    for

    creating

    and

    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

    Advanced calculations

    Scenario modeling(what-if)

    Essbase OLAP modes:

    Stored OLAP (MOLAP)

    Hybrid OLAP (HOLAP)

    Relation OLAP (ROLAP)

    Essbase Cube End User

    Warehouse

    SQLData

  • 7/28/2019 11 1 2 Essbase Adv

    8/88

    Lesson1: BuildingQuickEssbaseCubes

    8 OracleEssbase11.1.2

    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 viastandards

    Expanded hierarchies

    Alternate hierarchies

    Hierarchies in all dimensionsGreater 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 memorycalculations as desired

    Incremental data loading while maintaining user access

    Essbase Advantages over Standard ROLAP

  • 7/28/2019 11 1 2 Essbase Adv

    9/88

    Lesson1: BuildingQuickEssbaseCubes

    OracleEssbase11.1.2 9

    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

    Essbase Advantages over Other OLAP

    Extreme Performance

    294

    162

    0

    50

    100

    150

    200

    250

    300

    350

    CompetingVendor

    Essbase

    11.9

    0

    2

    4

    6

    8

    10

    12

    14 83

    7

    0

    10

    20

    30

    40

    50

    60

    70

    80

    90

    0.01

    CompetingVendor

    Essbase CompetingVendor

    Essbase

    Identical HardwareLoad & Calculation

    Time in Minutes

    50 Concurrent UsersQuery Response

    Time in Seconds

    50 Concurrent UsersCPU

    Utilization %

  • 7/28/2019 11 1 2 Essbase Adv

    10/88

    Lesson1: BuildingQuickEssbaseCubes

    10 OracleEssbase11.1.2

    Standards Based

    Query access

    MDX SQL

    Multiple and cross platform deployment

    Unix, Linux, and Windows

    32 / 64 bit

    Optimization

    Partitioning

    Clustering

    Tuning

    Trickle Feed

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

    Pervasive, Multipurpose BI & Analytics

    BUSINESS INTELLIGENCE FOUNDATION

    Essbase BI Server Predictive Analytics

    Common Enterprise Information Model

    EPM Workspace

    OLTP & ODSSystems

    Data WarehouseData Mart

    SAP, Oracle, Siebel,PeopleSoft, Custom

    BusinessProcess

    OLAP

    ETL, Data Source Security, Clustering, DRM

    Common Enterprise Information Model(semantic layer)

    ExcelXML

    Applications Q&R Ad-Hoc / AnalyticsScenarioModeling

  • 7/28/2019 11 1 2 Essbase Adv

    11/88

    Lesson1: BuildingQuickEssbaseCubes

    OracleEssbase11.1.2 11

    Oracles BI Platform - Leveraging the Warehouse

    Advanced calculation engine

    Simple aggregations to complex cross-

    dimensional allocations

    Relationship awareApplication wide or subset specificConditional and procedural logic

    Data WarehouseOraclePeopleSoft, Siebel, SAPCustom Apps

    BusinessProcess

    Essbase OBIEE

    DataIntegration

    Ad-hocAnalysis

    InteractiveDashboards

    Reporting &Publishing

    ProactiveDetectionand Alerts

    Disconnected& MobileAnalytics

    MS Office& OutlookIntegration

    OLTP & ODSSystems

    DesktopGadgets

    Analytic Modeling and Analysis

    Intelligent Request Generation and

    Optimized Data Access Services

    Hierarchy-based navigation

    Centralized dimensional maintenanceFinancial and time intelligenceScenario-based and what-if analysis

    Scalability

    Multi-user read writeIncremental data loadingHigh user concurrencyMulti-platform 32/64 bitsupport

    Open APIs

    Tools of the Trade Making the Quick Meal

  • 7/28/2019 11 1 2 Essbase Adv

    12/88

    Lesson1: BuildingQuickEssbaseCubes

    12 OracleEssbase11.1.2

    The Data Equivalent of a Food Processor Visual

    Explorer

    Who: Hard core analyst Power user

    Dynamic, adaptivevisualization of data

    Advanced insight throughdrag-and-drop

    Maintain insight withincreasing businessdimensions

    Statistical Analysis Dashboard Display

    Customizable UI

    The Ultimate Mixer (move over Kitchen Aid) -

    Advanced Off ice 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

  • 7/28/2019 11 1 2 Essbase Adv

    13/88

    Lesson1: BuildingQuickEssbaseCubes

    OracleEssbase11.1.2 13

    The Blast Chiller Essbase Application Manager

    Quick prototyping

    Copy and paste to and from Excel

    Disconnected outlineand rule creation

    Notes:

    BSO only

    Save outlineconvert to ASO

    Essbase 6.5.x

    No new features

    Save as into newerserver

    Not supported, not for

    customers

    DataWarehouses

    Oracle

    SAP

    Flat-files

    MDM

    OBIEE

    Drill through

    Marketing

    Finance

    Inventory

    CustomerProfitability

    SalesPayroll

    HR

    Planning

    Scripts

    The Double Oven Essbase Studio

    Make muffins and p izza at the same time- amazing!

    Proliferation of data sources

    Inter-related and dependent applications

    Source-type specific modeling & construction environments

  • 7/28/2019 11 1 2 Essbase Adv

    14/88

    Lesson1: BuildingQuickEssbaseCubes

    14 OracleEssbase11.1.2

    Going from Source to Essbase

    1. Map data source2. Map Essbase target

    3. Model data source(s)

    4. Create hierarchies

    5. Create cube schema

    6. Deploy Essbase model

    Essbase Studio - Layout

    Minischema tab in the DataSource Navigator

    Data Sources tab in the DataSource Navigator

    Metadata Navigator A tree view ofthe metadata repository

    Folders created by user to organizecontents in the repository

    A dimension element of that is of ameasure type

    A dimension element that is bound toa physical column in the database

    Hierarchy -A higher level metadataelement that has been created frombase dimensional elements

    Cube schema A higher levelmetadata element that consists ofhierarchies and measures.

    Essbase Model A cube schema thathas all the properties necessary to

    create an Essbase application

    Thumbnail navigator to obtain aminiaturized view of the minische

  • 7/28/2019 11 1 2 Essbase Adv

    15/88

    Lesson1: BuildingQuickEssbaseCubes

    OracleEssbase11.1.2 15

    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 cubemanagement

  • 7/28/2019 11 1 2 Essbase Adv

    16/88

    Lesson2

    CreatinganEssbaseCubewithStudio

    16 OracleEssbase11.1.2

    Lesson2: CreatinganEssbaseCubewithStudio

    Uponcompletionofthissessionthestudentshouldbeableto:

    Createarelationalsourcedatabase MapconnectionsintoEssbaseStudio Completeallstepsrequiredtodeployacubefromarelationaldatasource

  • 7/28/2019 11 1 2 Essbase Adv

    17/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 17

    Overview&Objective

    TheobjectiveofthisseriesofexercisesistoprovideabroadoverviewofEssbase

    Studiocapabilities

    that

    can

    be

    used

    in

    the

    creation

    of

    custom

    demonstrations

    andPOCs.Theseexercisesfocusonarelationalmodel,butthemajorityofthem

    canbeusedwithflatfilesaswell.Theoneexceptionisthecreationofthemini

    schema.ThedriverusedbyEssbaseStudioonlyallowsselfjoinsforparent/child

    buildsonafile.Youcannotcreatejoinsbetweenfiles.

    Exercise1DataSourceandMiniSchemaCreation1) OpentheEssbaseStudioConsoleandlogin.2) Createanewdatasource. RightclickonDataSourcesandselectNew>DataSource

  • 7/28/2019 11 1 2 Essbase Adv

    18/88

    Lesson2: CreatinganEssbaseCubewithStudio

    18 OracleEssbase11.1.2

    3) GivethenewsourceanameofTBC_newandauser/passwordofTBC.

  • 7/28/2019 11 1 2 Essbase Adv

    19/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 19

    4) Selectthefollowingtables,asshown:

  • 7/28/2019 11 1 2 Essbase Adv

    20/88

    Lesson2: CreatinganEssbaseCubewithStudio

    20 OracleEssbase11.1.2

    5) CreateanewminischemathenamewilldefaulttoTBC_newschema.

  • 7/28/2019 11 1 2 Essbase Adv

    21/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 21

    6) Populatetheschemawithallthetables:

  • 7/28/2019 11 1 2 Essbase Adv

    22/88

    Lesson2: CreatinganEssbaseCubewithStudio

    22 OracleEssbase11.1.2

    7) Wedonotwanttocreateanymetadataelementsatthistime:

    8) WhenyouselectFinishthenewconnectioniscreated:

  • 7/28/2019 11 1 2 Essbase Adv

    23/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 23

    9) Theminischemaopens:

  • 7/28/2019 11 1 2 Essbase Adv

    24/88

    Lesson2: CreatinganEssbaseCubewithStudio

    24 OracleEssbase11.1.2

    10)DoubleclicktheTBC_newSchematabatthetopofthescematomaximisethedisplay

    11)Addthejoinsasshownbelow,includingtherecursive(parent/child)joinintheMeasurestable.

  • 7/28/2019 11 1 2 Essbase Adv

    25/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 25

    Note:IamdisplayingCrowsFeet,ratherthatarrow,thisisanoptioninStudio(Edit

    >Preferences);also,afterjoiningthetablesIhaveaskedStudiotolaythemoutto

    getthisdisplay.

    12)ReturntheSchemadisplaytoitsstartingsize(doubleclickthetabagain)andthencloseitbyclickingontheXinthetab.Savethechanges,whenprompted.

    Thenewdatasourceisnowreadytobeusedtocreatethedimensionelementswe

    need.

    EndofExercise

    Exercise2 CreatingFolderStructuresItisnotalwaysnecessarytomanuallypositiontheelements,butthisgivesus

    controloverwheretheyarestored,sowecancreatealogicalstructureandfind

    everythingeasily.

  • 7/28/2019 11 1 2 Essbase Adv

    26/88

    Lesson2: CreatinganEssbaseCubewithStudio

    26 OracleEssbase11.1.2

    1) CreateanewfolderunderDimensionElements,calledTBC_new. RightclickonDimensionElementsandselectNew>Folder.

    2) NamethefolderTBC_new.

  • 7/28/2019 11 1 2 Essbase Adv

    27/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 27

    3) ExpandthetablesintheTBC_newdatasourceanddragthefollowingelementsintothenewfolderyoujustcreated.

    TableName

    Column

    Name

    Sales Amount

    Transdate

    Measures Parent

    Child

    Product SKU

    Ounces

    Market State

    Family Family

    Region Region

    Scenario Scenario

    4) Wewanttoaddcolumnsbasedonthedate(suchasmonth),tocreatetherequireddateelements,rightclickonTransdateintheTBC_newfolderandselectCreate

    DateElements

  • 7/28/2019 11 1 2 Essbase Adv

    28/88

    Lesson2: CreatinganEssbaseCubewithStudio

    28 OracleEssbase11.1.2

    5) Selecttheelementsrequired,asbelow:

  • 7/28/2019 11 1 2 Essbase Adv

    29/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 29

    6) Notethattheelementsarecreatedforusautomatically. WecouldhavedonethismanuallybyselectingNew>DataElement. DoubleclickonYeartoseewhathas

    beencreated.

    7) WehavenowcreatedalltheDimensionElements weneedandcanproceedontoEssbaseStudioWorkshopStage3.docxtocreatethehierarchies.

    EndofExercise

    Exercise3ManagingHierarchies1) CreateanewfolderunderthefolderHierarchiesalsocalledTBC_new.

  • 7/28/2019 11 1 2 Essbase Adv

    30/88

    Lesson2: CreatinganEssbaseCubewithStudio

    30 OracleEssbase11.1.2

    2) Createanewhierarchyunderthisfolder

    3) TypeTimeintotheNamefielditrenamesthetab.

  • 7/28/2019 11 1 2 Essbase Adv

    31/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 31

    4) DragtheYearfieldfromtheTBC_newDimensionElementsfolderintotheHierarchycolumn:

    5) DragtheQuarterfieldovertheYearfieldinthehierarchywindow,soitwillbeaddedasachild:

  • 7/28/2019 11 1 2 Essbase Adv

    32/88

    Lesson2: CreatinganEssbaseCubewithStudio

    32 OracleEssbase11.1.2

    6) RepeatforMonth.

    Donotcreatethishierarchydowntothedateleveltheformatusedtobuild

    thedimensionand thedataaredifferent,sonothingwillload.Assoonaswe

    havesortedoutthereasonand/oraworkaround,thisdocumentwillbe

    updated.

    7) Save&thenselectPreview.

    8) Thesequenceisabitrandom! Weneedtofixthis. PressOKandthenClose.

    9) OpentheMonthDimensionElementbydoubleclickingit,orrightclickandselectEdit.

  • 7/28/2019 11 1 2 Essbase Adv

    33/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 33

    10)SelecttheTRANSDATEfieldfromtheTBC_newconnectionSALEStableandaddtotheSortSequenceandthenselectOK.

    11)RightClicktheTimehierarchyandselectPreview.

  • 7/28/2019 11 1 2 Essbase Adv

    34/88

    Lesson2: CreatinganEssbaseCubewithStudio

    34 OracleEssbase11.1.2

    Youwillnoticethatitnolongerdisplaysalltheelements,sowecannotfullycheck

    thesortingthisappearstobeafeature,butdoesmakesense:wedonotwantto

    sort/selectthewholefacttable.

    12)Repeatsteps3.1to3.6tocreatehierarchiesforthefollowingmembersandaddtheindicatedsorting(as3.9):

    HierarchyName Member MemberSortField(table.column)

    Measures Parent

    Child Measures.Sortkey

    Product Family

  • 7/28/2019 11 1 2 Essbase Adv

    35/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 35

    SKU Product.SKU

    Region Region Region.Region

    State Market.State

    Scenario Scenario

    13)OpentheProducthierarchyandaddtheelementOuncesasasiblingofFamilyandthenaddSKUagainasachildofOunces.

    14)OpentheScenariohierarchyandselectAdd>Adduserdefinedsiblingfromthebuttoninthebottomrightofthescreen. NametheitemForecast.

  • 7/28/2019 11 1 2 Essbase Adv

    36/88

    Lesson2: CreatinganEssbaseCubewithStudio

    36 OracleEssbase11.1.2

    15)RepeatfortheitemsVarianceandVariance%.

  • 7/28/2019 11 1 2 Essbase Adv

    37/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 37

    16)SaveandPreview

    Note:thatthedisplayappearstoshowmultiplehierarchiesthisisnothowit

    willbebuiltinEssbase.

    17)ClosetheSampleandthehierarchy.

  • 7/28/2019 11 1 2 Essbase Adv

    38/88

    Lesson2: CreatinganEssbaseCubewithStudio

    38 OracleEssbase11.1.2

    18)Inasimilarway,wenowcreateaViewHierarchywiththeelementsDaily,QTD,YTD.

    19)Youmayhavenoticedthatasweaddedtheseuserdefinedelements,theywereautomaticallyaddedintothefolderwecreatedthehierarchyin.

    WecouldhavecreatedtheseelementsmanuallyinStage2andthenwewould

    havebeenabletopositionthemwherewewanted. Similarly,whencreating

    hierarchies,youcandragelementsdirectlyfromthedatasourcesintheright

    handviewpaneandtheywouldagainhavebeenaddedautomaticallytothe

    folderwherethehierarchyis.

    EndofExercise

  • 7/28/2019 11 1 2 Essbase Adv

    39/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 39

    Exercise4 CubeSchemaCreation1) RightclickontheCubeSchemasfolderandselectNew>CubeSchema.

    2) NametheSchemaTBC_new.3) SelecttheAMOUNTcolumnfromDimensionElements\TBC_newfolderandaddto

    theMeasuresGroup:

  • 7/28/2019 11 1 2 Essbase Adv

    40/88

    Lesson2: CreatinganEssbaseCubewithStudio

    40 OracleEssbase11.1.2

    4) AddthehierarchiesshownbelowtotheHierarchiessection:

    Note:thattheorderinwhichtheyareaddedwilldeterminetheorderinwhichthey

    appearwithinyourEssbasecubeandthereisnowaytoresequencethemhere.

    5) SelectNextandchecktheboxtocreateanEssbaseModel. SelectMeasuresastheAccountsDimension.

  • 7/28/2019 11 1 2 Essbase Adv

    41/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 41

    Note:AnEssbasemodelisalocalrepresentationofthestructure.AnEssbase

    outlinewillNOTbecreatedatthisstage.

  • 7/28/2019 11 1 2 Essbase Adv

    42/88

    Lesson2: CreatinganEssbaseCubewithStudio

    42 OracleEssbase11.1.2

    6) PressFinish.

  • 7/28/2019 11 1 2 Essbase Adv

    43/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 43

    7) CreateanEssbasecube. Rightclickablankareaofthemodelworkspace(orthemodelnameintheNavigatorpane)andselectCubeDeploymentWizard.

  • 7/28/2019 11 1 2 Essbase Adv

    44/88

    Lesson2: CreatinganEssbaseCubewithStudio

    44 OracleEssbase11.1.2

    8) SelecttheEssbaseServer,ApplicationandDatabasenameandpressFinish.

    Notethestandardoptionsforoutlinebuild,dataloadorboth,asinEIS. Thereis

    alsoanewoptiontoCreateandsaverulefileonly. Thiswillpopulatetheloadrules

    ontheEssbaseserver,wheretheycanbescriptedviaMaxL.

    Theprogresswindowdisplays.

  • 7/28/2019 11 1 2 Essbase Adv

    45/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 45

    9) Hopefully,youwillseeasuccessmessage! PressOK. (Sometimesitdoesnotdisplay.)

    10)SelectCancelTheFinishbuttonwillcauseittoregeneratethecube!

  • 7/28/2019 11 1 2 Essbase Adv

    46/88

    Lesson2: CreatinganEssbaseCubewithStudio

    46 OracleEssbase11.1.2

    11)WecanlaunchEssbaseAdministrationServicesdirectlyfromStudio.

    12)SingleSignonasusual!(ensuretheUsernameiscorrect,thedefaultisadmin.)

    13)EASopens,notethatthisisadifferentskintoEASthanwhenlaunchednormally(Iprefer

    it,

    but

    there

    are

    acouple

    of

    places

    where

    it

    displays

    white

    text

    on

    awhite

    background!).

  • 7/28/2019 11 1 2 Essbase Adv

    47/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 47

    14)NavigatetotheApplication/databaseyoucreatedandopentheoutline.

    15)Confirmthedimensionshavebuiltcorrectlyandthesequenceiscorrect.

    16)Closetheoutline.

  • 7/28/2019 11 1 2 Essbase Adv

    48/88

    Lesson2: CreatinganEssbaseCubewithStudio

    48 OracleEssbase11.1.2

    17)WehavesuccessfullycreatedanEssbaseoutline,buthavenotspecifiedanyofthepropertiesweneed:Time;Alias;DynamicCalc,etc. Also,wehavecreatedaBSO

    cubeandwewanttocreateanASOone,sodeletethisapplicationbefore

    proceeding.

    EndofExerciseExercise5 SettingEssbaseProperties

    1) WecangettotheEssbasePropertiesinavarietyofways. RightclickonthefieldMeasures>ChildandselectEssbaseProperties. Alternatively,wecouldhave

    doubleclickedthefield,orrightclickedontheEssbaseModelintheNavigator

    window.

  • 7/28/2019 11 1 2 Essbase Adv

    49/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 49

    2) TheEssbaseModelPropertiesopenswithfocusontheelementwehadselected.

  • 7/28/2019 11 1 2 Essbase Adv

    50/88

    Lesson2: CreatinganEssbaseCubewithStudio

    50 OracleEssbase11.1.2

    3) HerewecanspecifyallthestandardEssbasepropertiesthatweneed,dividedintoappropriatetabs.

    4) AddthefollowingselectionstotheCHILDelementasExternalSource. NotethatwearenotaddinginformationthatrelatestoBSOmodels(TwoPass,DataStorage,etc.)

    as

    we

    are

    creating

    an

    ASO

    model.

    Tab Field Value

    Info Consolidation CONSOLIDATION

    Formula Formula FORMULA_ASO

    UDAs UDAValue VARIANCEREPORTING

    TIMEBALANCE

    UDA

    5) Fromherewecancontrolallmembers,aswellastheoverallmodelpropertiesbyselectingadifferentelementinthelefthandwindow. Setthefollowingproperties

    forthespecifiedelements.

  • 7/28/2019 11 1 2 Essbase Adv

    51/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 51

    Member Tab Field Setting

    TBC_newModel General ASOStorage

    Model

    Yes

    Time General NameinCube Year

    Info Dimension

    Type

    Time

    Measures Info Storage LabelOnly

    Outline

    Build

    Hierarchy

    Settings

    DynamicatDimensionLevel

    Scenario Info Storage LabelOnly

    Outline

    Build

    Hierarchy

    Settings

    DynamicatDimensionLevel

    Variance Formula Formula IIF(

    IsUda([Measures].Cu

    rrentMember,"E"),

    [Budget]

    [Actual],

    [Actual]

    [Budget]

    )

  • 7/28/2019 11 1 2 Essbase Adv

    52/88

    Lesson2: CreatinganEssbaseCubewithStudio

    52 OracleEssbase11.1.2

    Variance% Formula Formula IIF(

    IsUda([Measures].Cu

    rrentMember,"E"),

    ([Budget]

    [Actual])/[Budget]*100,

    ([Actual]

    [Budget])/[Budget]*100

    )

    View Outline

    Build

    Hierarchy

    Settings

    DynamicatDimensionLevel

    Info Storage LabelOnly

    QTD Formula Formula Sum(

    CrossJoin(

    PeriodsToDate(

    [Year].Generations(3))

    ,{[Daily]}

    )

    )

    YTD Formula Formula Sum(

    CrossJoin(

    PeriodsToDate(

    [Year].Generations(2))

    ,{[Daily]}

    )

    )

  • 7/28/2019 11 1 2 Essbase Adv

    53/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 53

    Ounces General Essbase

    attributefor

    SKU

    Trueselectthecheckbox

    Attributetype Numeric

    6) 5.6ClickApply,thenCloseandyouwillgetthismessage

    7) SelectYestogetthismessage. WearebuildinganASOcubeandthesystemistellingusnottomakeTimeSparse. Donotdothisinfrontofcustomersalways

    maketheTimedimensionDensebeforerunningthis!

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

    timeitwillclose!

  • 7/28/2019 11 1 2 Essbase Adv

    54/88

    Lesson2: CreatinganEssbaseCubewithStudio

    54 OracleEssbase11.1.2

    9) RightclickthemodelnameandselecttheCubeDeploymentwizard.

    10)EnterthedatabasenameofTBC_newifitcomesupwithanameintheDatabasefield,italreadyexistsinwhichcaseyoushoulddeletethisapplicationfromEAS

    beforecontinuing(youcanupdateadatabasehere,butifTBC_newalreadyexistsit

    isprobablytheBSOmodelwecreatedearlierandcannotbeconvertedtoASO).

  • 7/28/2019 11 1 2 Essbase Adv

    55/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 55

    11)SelecttoBuildoutlineandloaddataandOverwriteexistingdata.

    12)5.12PressFinish

  • 7/28/2019 11 1 2 Essbase Adv

    56/88

    Lesson2: CreatinganEssbaseCubewithStudio

    56 OracleEssbase11.1.2

    13)Theloadwill(probably!)fail. SelectOKandthenCancel.

    14)LaunchEASfromtheToolsmenu.

    15)NavigatetotheTBC_newapplicationandviewtherulesfiles.

    Onerulehasbeencreatedforeachdimension(includingattributedimensions).

    Thesecannotbemodifiedoropenedinthisinterface(thisisbecausetherule

    maybesetforVaryingAttributes,whicharenotsupportedintheLoadRule

    GUI).

    Thereisalsoaruleforthedataload,thatwillbenamedafterthedatabase,

    whichcanbeopened.

  • 7/28/2019 11 1 2 Essbase Adv

    57/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 57

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

    17)Therulelookscorrectalldimensionsarelistedandnamedcorrectly. Validatetherule.

  • 7/28/2019 11 1 2 Essbase Adv

    58/88

    Lesson2: CreatinganEssbaseCubewithStudio

    58 OracleEssbase11.1.2

    18)Savetheruleandthenexecuteit(rightclickonthedatabasenameandselectLoadData).

  • 7/28/2019 11 1 2 Essbase Adv

    59/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 59

    19)ChangethedatasourcetoSQL,selecttherulesfileandentertheUsername/passwordandselectOK.

  • 7/28/2019 11 1 2 Essbase Adv

    60/88

    Lesson2: CreatinganEssbaseCubewithStudio

    60 OracleEssbase11.1.2

    20)Therulehascompletedwithwarnings,buthasloadeddata. Confirmthisbylookingatthedatabasepropertieswehaveloaded21thousandcells.

    21)RightclickontheModelnameandselectShowDeploymentHistory.

    22)Thiswillshowacompletehistoryofalldeployments.

  • 7/28/2019 11 1 2 Essbase Adv

    61/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 61

    23)Followthedeploymentsuggestionaboveandtwosuccessfulentrieswillbeaddedtotheend.

    Ifyougetthewarningthatadministrativetasksarebeingcarriedoutsothe

    deploymentcannotbecompleted,stoptheapplicationinEAS. Thiswillensure

    alllocksarecleared.

    24)Rightclickonanyoftheelements,hierarchiesorthemodelandselectShowlineage.

  • 7/28/2019 11 1 2 Essbase Adv

    62/88

    Lesson2: CreatinganEssbaseCubewithStudio

    62 OracleEssbase11.1.2

    25)Fromherewecandoubleclickonanyelementtomakeitthefocus.

    26)OpenExcelandconnecttothecubetoshowSmartViewcapabilities(ifrequired).EndofExercise

  • 7/28/2019 11 1 2 Essbase Adv

    63/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 63

    Exercise6 EssbaseAliasTable1) FromtheToolsmenu,selectAliasSetManager.

    2) Selecttoaddanewset.

  • 7/28/2019 11 1 2 Essbase Adv

    64/88

    Lesson2: CreatinganEssbaseCubewithStudio

    64 OracleEssbase11.1.2

    3) NamethenewAliassetTBC_new.

    4) Selecttoaddanewbinding.

  • 7/28/2019 11 1 2 Essbase Adv

    65/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 65

    5) Wecannowlinktheelementsweareusing(theSource)toaspecificdatabasecolumn(theBindingexpression). LinkSKUtoProduct.SKU_ALIAS.

    6) SelectOKtosavethisbindingandtobeabletoaddmore.

    7) SelectOKagaintosavethisAliasSet.

  • 7/28/2019 11 1 2 Essbase Adv

    66/88

    Lesson2: CreatinganEssbaseCubewithStudio

    66 OracleEssbase11.1.2

    8) ThisAliasSetcannowbelinkedtomanyEssbasemodels,ratherthanhavingtosetupthelinkageindividually. OpentheEssbasepropertiesscreen(see5.1ifstuck).

    AgainsttheAliastabforthemodel,youcanaddeachaliastablerequired.

    9) Closethisscreen(savingthechanges)andredeploythemodel.

  • 7/28/2019 11 1 2 Essbase Adv

    67/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 67

    10)Selecttobuildtheoutlineonly.

  • 7/28/2019 11 1 2 Essbase Adv

    68/88

    Lesson2: CreatinganEssbaseCubewithStudio

    68 OracleEssbase11.1.2

    11)OpentheoutlineinEASandexpandtheProductdimension.

    12)Noaliasesaredisplayed. ThealiastablewehavecreatedisnamedaftertheAliasSet. Undertheoutlineproperties,wecanseethatouraliastablehasbeencreated,

    butisnotactive.

    13)Ifrequired,makethetableactiveandshowinEASorSmartView.EndofExercise

  • 7/28/2019 11 1 2 Essbase Adv

    69/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 69

    Exercise7DrillThroughReports1) RightclickontheDrillThroughreportsfolderandselecttocreateanewone.

    2) RenamethereportDetailandselecttoaddintersectionlevels.

  • 7/28/2019 11 1 2 Essbase Adv

    70/88

    Lesson2: CreatinganEssbaseCubewithStudio

    70 OracleEssbase11.1.2

    3) ExpandthehierarchiesnodeandthenTBC_newtogettoourhierarchies. (Notethatonlythosefoldersthatcontainahierarchystructurearedisplayed.)

    4) SelectTime,Product,ScenarioandRegionandpressOK.

  • 7/28/2019 11 1 2 Essbase Adv

    71/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 71

    5) Wecannowselecttheintersectionlevelsthatareapplicableforthisreport.

    6) SelecttheReportContentsTab.

  • 7/28/2019 11 1 2 Essbase Adv

    72/88

    Lesson2: CreatinganEssbaseCubewithStudio

    72 OracleEssbase11.1.2

    7) Addthecolumnsrequiredforthisreport. Selectallrequiredcolumns(usingcontrolclick)wecanreorderthemafterwards.

    8) Usetheupanddownarrowsontherighttogettherequiredsequencetogetaselectionsimilartothis(notethatIhaveaddedAMOUNTtwice).

    9) SelecttoSumtheAmountcolumn.

  • 7/28/2019 11 1 2 Essbase Adv

    73/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 73

    10)Thenrenamethesecondamount(AMOUNT_1)andselecttoshowtheCount.

    11)Addanysortingrequired.

    12)PresstheTestbuttonandfillintheparametersandselectShowResult.

  • 7/28/2019 11 1 2 Essbase Adv

    74/88

    Lesson2: CreatinganEssbaseCubewithStudio

    74 OracleEssbase11.1.2

    13)GototheAssociationstab. Alldatabasesthatusethecombinationofdimensionswehaveselectedaredisplayed.

    14)Checktherequireddatabase(s)andsave. Notethatnofurtheractionisrequired.This

    report

    is

    immediately

    available

    for

    these

    databases

    without

    any

    other

    change/update.

    15)OpenExcelandconnecttothedatabaseinSmartViewandstartanadhocquery.Foreaseofvisibility,setyourstylestohighlightdrillthroughreports.

  • 7/28/2019 11 1 2 Essbase Adv

    75/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 75

    16)Drilltoalevelwherereportsareavailableandselectadatacellwhereitishighlighted. Notethatthedrillthroughreportisshownasacomment.

  • 7/28/2019 11 1 2 Essbase Adv

    76/88

    Lesson2: CreatinganEssbaseCubewithStudio

    76 OracleEssbase11.1.2

    17)Toexecutethedrillthroughreport,rightclickthecellandselectHyperion>AdHocAnalysis>DrillThroughReports.

    18)Selecttheappropriatereport(ifmorethanone)andselectLaunch.

  • 7/28/2019 11 1 2 Essbase Adv

    77/88

    Lesson2: CreatinganEssbaseCubewithStudio

    OracleEssbase11.1.2 77

    19)Anewtabopenswiththereport.

    Endof

    Exercise

  • 7/28/2019 11 1 2 Essbase Adv

    78/88

    Lesson3

    EssbaseIronChef

    78 OracleEssbase11.1.2

    Lesson3: EssbaseIronChef

    Uponcompletionofthislessonthestudentshouldbeableto:

    CreateanEssbasecubefromaflatfiledatadump CreateanEssbasecubefromacustomerreport

  • 7/28/2019 11 1 2 Essbase Adv

    79/88

    Lesson3: EssbaseIronChef

    OracleEssbase11.1.2 79

    Overview&Objective

    Quiteoften,acustomerwillgiveyouadatadumporareportandaskyoutoprovevaluewithEssbase.

    Other

    times,

    you

    need

    to

    proactively

    seek

    thee

    data

    sources.

    Regardless

    of

    how

    you

    obtain

    the

    data

    gettingeitheralimiteddatadumporareportisanidealwaytosourceanEssbasecube.Essbaseisall

    aboutthedata,allaboutthereport.Thesesourcesprovide:

    Dimensionality Seeddata Hierarchies Reportingrequirements

    Takingoneofthesedatasourcesandshowingthecustomervaluewiththeirowndataisthebestwayto

    drive

    home

    the

    value

    that

    Essbase

    can

    provide

    to

    an

    organization.

    Exercise8 AddingQuickValuewithOracleEssbaseTheStateofCalifornianeedsarecipebettermanagefunds.Giventhecurrent

    economicclient,itisimperativethattheymanageaninevitablyshrinkingbudget

    byoptimizingfundsspentonStateprogramsandcontracts.Theyneedtobeable

    toanswerthefollowingquestions:

    Wherearewespendingthemajorityofourcontractdollars? Ofthosecontracts,howmanyarecompetitive? DowehavecontractswithopenPOvalue?Ifso,whatdepartmentsare

    thesein?

    Ofthecontractdollarswhatpercentagearespentondemographicgroups(smallbusinesses,veteransgroups,etc)?

    Ifwetakea10%budgetcutshouldthisbeappliedacrosstheboard,oraretheircontractualareasthatwecouldeliminatealltogethertobetter

    absorbthebudgetshortfall?

    Whatpercentageofcontractsareamended?Assumingtheseaccountforanincreasedbudgetimpact,whatareasareamendedmostoften?

    Whichvendorisgettingthemajorityofcontractdollars?Doesthisholdtrueacrossallcontracttypes?Arethesecontractscontestedclosed?How

    oftendoesthestateacceptabidthatisnotthelowestspend?

  • 7/28/2019 11 1 2 Essbase Adv

    80/88

    Lesson3: EssbaseIronChef

    80 OracleEssbase11.1.2

    Whatpercentageisagivencontractofthetotalspend?Whilethisprojectisaimedathelpingthestate,thesourceinformationis

    publicallyavailable.Wecouldeasilyusethisinformationtohelpvendors

    understandhow

    the

    state

    spends

    money

    and

    how

    to

    better

    position

    their

    productsandservices.

    Youcanbuildthecubeusinganymethodyouchoose.Youwillbejudgedon

    tastefuldesign,executionoftechniques,andoriginality.However,please

    completesteps13withina90minuteperiod.Thesecretingredientsforthis

    challenge:

    1) UsetheSCPRS.txtfiletocreateanEssbasecubetoanswerthequestionslistedabove.

    2) Createatleasttworeportstosupportansweringthequestionslistedabove.3) ForthisexerciseyouonlyneedtocreatetheEssbasecube.However,amore

    completesolutionmayincludeadditionalcomponents.Listanyadditional

    components,analyticcapabilitieswemightbeabletousetoshowvalueinthis

    demo.

    EndofExerciseExercise9 CreatingaCubefromaCustomerReport

    Forthis

    case

    study

    you

    should

    complete

    the

    following

    steps:

    1) ReviewtheDailyOperationsSnapshot 09202006.xlsspreadsheetfoundintheEssbaseAdvanced/VanguardPOCfolder.

    2) Basedonyourreviewdothefollowing:a. CreateanEssbasecubethatcouldbeusedtoreplicatethereportsb. LoaddatafromtheDailyOperationsSnapshot 09202006.xlsspreadhseetc. CreateatleasttworeportsfromtheEssbasecube

    Youcanbuildthecubeusinganymethodyouchoose.Youcanalsochooseany

    mediumforpresentationofthereports.Completesteps13withina90minute

    period.

    EndofExercise

  • 7/28/2019 11 1 2 Essbase Adv

    81/88

    Lesson4

    DateTime,Text,andVBA

    OracleEssbase11.1.2 81

    Lesson4: Date-Time,Text,andVBA

    Uponcompletionofthislessonthestudentshouldbeableto:

    CreateaDatetimedimensioninandASOoutline CreatesimpleVBAtemplatesinSmartView BuilddateandtextmeasurecapabilitiesintoEssbase

  • 7/28/2019 11 1 2 Essbase Adv

    82/88

    Lesson4: Date-Time,Text,andVBA

    82 OracleEssbase11.1.2

    Overview&ObjectiveWorkingwithDateTimeDimensions

    Date-time Dimensions

    Automated Time Dimensions

    Gregorian

    Manufacturing

    ISO

    Fiscal

    Retail

    Expanded Functionality

    Understanding time as acontinuum

    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(,[,])Givenadate(representedasanumberinAnalyticServicesMDX),thisfunctionwouldreturnthe

    memberfrom

    adate

    hierarchy

    of

    the

    input

    dimension

    from

    the

    specified

    generation.

    Default

    hierarchyisprimaryone,defaultGenerationislowestgeneration.

    DateRoll(,,)SupporteddatepartsarethestandardTimeperiodssuchasDP_Year,DP_Month,DP_Quarter,

  • 7/28/2019 11 1 2 Essbase Adv

    83/88

    Lesson4: Date-Time,Text,andVBA

    OracleEssbase11.1.2 83

    DP_Week,DP_Day.Thisfunctionrolls(addsorsubtracts)ndatepartstotheinputdateand

    returnsadateintermsofthestandardGregoriancalendar.

    DateDiff(,,)Thisfunctionreturnsthedifference(number)betweentwoinputdatesintermsofspecified

    dateparti.e.DP_Year,DP_Quarter,DP_Month,DP_Week,DP_Day.

    DatePart(,)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(,internaldateformat)Thisfunctionreturnstheformatteddatestringforinputdate.Ifthedateorthedateformat

    stringsareinvalid,anerrorwillbereturnforeithercondition.Thefunctioniscapsensitive,so

    typinginaMonthwithlowercasesuchasaprisnotallowed,extrawhitespaceisalsonot

    allowed(errorwillbereturned)

    GetFirstDate(),GetLastDate()Thesefunctionsreturnthestart/enddate(numeric)forinputdatehierarchymember,

    otherwisereturns#MISSING(suchaswhenmemberisnotfromthetimedimension).

    Aggregate([,])AggregatesameasurebasedonitTimeBalanceProperties(TBFirst,TBLast,TBAvg).Behaveslike

  • 7/28/2019 11 1 2 Essbase Adv

    84/88

    Lesson4: Date-Time,Text,andVBA

    84 OracleEssbase11.1.2

    SUMwhenthemeasuredoesnthaveanyTimeBalanceproperty.UsefulinwritingMDX

    formulasforPeriodsToDatecalculationsacrossanytypeofmetric(E.gSales/HeadCount)

    Notethatmanyoftheprecedingfunctionsreferenceadateformat.Theformatssupportedbythedate

    timetype

    are

    as

    follows:

    "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*/

  • 7/28/2019 11 1 2 Essbase Adv

    85/88

    Lesson4: Date-Time,Text,andVBA

    OracleEssbase11.1.2 85

    Exercise10 ExpandingEssbasewithDateLogicTheEdenElectronicsCorporationneedstoreportonaseriesoftimebased

    metrics.This

    exercise

    has

    you

    add

    those

    metrics

    to

    your

    model.

    1) CreateanewASOcubeusingtheTIME.OTL.2) LoadtheTIME.TXTdatafileintothecube.Itdoesnotrequirealoadrule.3) Addthefollowingmetrics aschildrenoftheAnalysismemberintheAccounts

    dimension:

    a. Rolling5Period Avg Salesb. DateLastSoldc. DaysSinceLastSoldd. Day#ofCurrentFiscalYeare. DateoutofStock(hint:considerusingtheTailfunction)f. DayoutofStock(hint:considerusingtheTailfunction)

    4) OpentheTIME.XLSspreadsheettovalidateyourformulae.TheAnswerssheetcontainsdatacalculatedproperly.ConnecttheRetrievesheettoyourcubeand

    refreshto

    compare

    your

    results

    to

    the

    proper

    answers.

    5) YoucanusetheTIMEC.OTLtoseecompletedformulaforthedesiredmetrics.EndofExercise

    Exercise11 OptimizingMDXFormulaeThis exercise presents a case study for optimizing and MDX formulae. The solution presented in

    this exercise represents one possible soution to this optimization question.

    1) MakeacopyoftheASOSampapplication.2) AddamemberintheAccountsdimensionnamed3MonthContribution.Thegoalis

    tocalculateaproducts3monthaverageTransactionscontribution%toall

    products3monthaverage.

    3) Enterthismemberformulafor3MonthContribution:

  • 7/28/2019 11 1 2 Essbase Adv

    86/88

    Lesson4: Date-Time,Text,andVBA

    86 OracleEssbase11.1.2

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

    EndofExercise

    Exercise12 CreatingSmartViewTemplateswithVBA

    This exercise walks you through the process of creating a simple VBA template leveraging the

    Smart View for Office VBA toolkit.

    1) Ifnotalreadyopen,openExcel.

  • 7/28/2019 11 1 2 Essbase Adv

    87/88

    OracleE

    sbase11.1

    2) Inap

    3) Se4) Br

    Vi

    Am

    5) U

    6) Te7) O

    al

    2

    Excel,selectplication.lectFile>Imowsetotheew.bas.

    newmoduleodulenumbeethefollowia. HYPREb. HYPCOc. HYPMd. HYPMe. HYPM

    styourtempentheVBAousethiste

    L

    Tools,then

    potFile.

    indirectory

    isdisplayedr,ifyouhavngfunctionsRESHNNECTNUVZOOMI

    NUVZOOMO

    NUVPIVOTlateusingthSimple.xlswmplatetohe

    esson4

    acro,then

    oftheSmart

    ithalabelealreadyinsetocreateat

    UT

    Sample.Bas

    orksheet.Colpwithyour

    Date-

    isualBasicE

    Viewclienti

    Module1(ortedoneormplateons

    icdatabase.pareyourtamplecode.

    ime,Te

    ditortoope

    nstallationa

    rlabeledwitoremoduleeet1:

    emplatetot

    t,and

    theVisualB

    dselectSma

    thenexthis).

    isone.Youc

    BA

    87

    asic

    rt

    hest

    an

  • 7/28/2019 11 1 2 Essbase Adv

    88/88

    Lesson4: Date-Time,Text,andVBA

    8) Iftime,expandtheVBAtemplateasfollows(usetheSample.Basicdatabase):a. AddadropdownlisttothesheetthatfillswiththechildrenofMarkets.b. Basedontheactivememberinthedropdownlist,createabuttonthat

    takesthechildrenofthatmemberandplacesthemonthegridasrow

    headersforasalesreport.

    c. CreateabuttonthattakestheattributesofaselectedproductandshowsthemintheExcelcellcommentforthatmember.

    9) TestyourtemplateusingtheSample.Basicdatabase.10)OpentheVBA_Extend.xlsworksheet.Compareyourtemplatetothisone.Youcan

    alsousethistemplatetohelpwithyoursamplecode.

    EndofExercise