+ All Categories
Home > Documents > Essbase and Planning

Essbase and Planning

Date post: 02-Jun-2018
Category:
Upload: sen2nat5693
View: 248 times
Download: 0 times
Share this document with a friend

of 29

Transcript
  • 8/10/2019 Essbase and Planning

    1/29

    Essbase and Planning

    Calculation Basics

    John A. Booth

  • 8/10/2019 Essbase and Planning

    2/29

    About meSettings Ready set goDense / Sparse Its good to be dense

    FIX / ENDFIX Mind the focusSubstitution Variables Be flexibleBlock Creation Less is more

    A simple calculationLogs What is it doingFunctions Are your friend

    Topics

  • 8/10/2019 Essbase and Planning

    3/29

    About MeInfrastructure and Integrations PracticeLeader at Blue Stone International

    Co-author of Developing Essbase Applications: Advanced Techniques forFinance and IT Professionals

    Owner of Metavero LLC (my blog)

    Contributor to Network 54 and OracleTechnical Network forums

  • 8/10/2019 Essbase and Planning

    4/29

    Developing Essbase Applications An Essbase focused book:

    Advanced contentGood practices

    Some of the biggest EssbasenamesYou have to buy it

  • 8/10/2019 Essbase and Planning

    5/29

    CUBES A wonderland for data

    533 P r o

    d u c

    t s

    Periods

    Jan Feb Mar

    533 units of fruit soda sold in CA in Jan

    Diet ColaRoot Beer

    Cream Soda

    Fruit Soda876

    1252118

    621

    887

    1292122

    591

    894

    1343127

  • 8/10/2019 Essbase and Planning

    6/29

    Know your OutlineA modified sample basic application

  • 8/10/2019 Essbase and Planning

    7/29

    Cross Dims Mind the focusEssbase has an operator which is called a CrossDim

    The Cross Dim is usually used on the RHS (RightHand Side)

    Below we see Growth Rate is associated with No

    Product / No Market; the lack of other dimensions fora given variable on the RHS mean these are assumedand come from the FIX statement.

  • 8/10/2019 Essbase and Planning

    8/29

    FIX / ENDFIX Mind the focusProper use of fix can mean the difference between aslow calc and a fast calc.

    The less precise you are the more work the enginedoes.

    vs

  • 8/10/2019 Essbase and Planning

    9/29

    Script/Rule SettingsSET UPDATECALC OFF - Always@CALCMODE CELL As neededSET CALCPARALLEL n For AggregationsSET CALCTASKDIMS n If Pre 11.1.2.2;setting is automatic in 11.1.2.2+

  • 8/10/2019 Essbase and Planning

    10/29

    Right click on Server NameEdit / VariablesSelect App / DBEnter Variable / ValueClick Set

    NOTE: Requires admin for Global Vars

    Substitution Variables

  • 8/10/2019 Essbase and Planning

    11/29

  • 8/10/2019 Essbase and Planning

    12/29

    Common member set functions@Relative use this instead of@Levmbrs@Children

    @Idescendents

    Common boolean functions@ISMBR@ISUDA

    Functions Are your friendPrior Time Periods / Shifting@Prior@MDShift

    Common math functions@Sum@Round@Truncate

  • 8/10/2019 Essbase and Planning

    13/29

    The old adage is fix on sparse, if on dense

    I like put dense on Left Hand Side

    e.g.FIX(SOME,THINGS,HERE)DENSE_MEMBER = A * B * C;ENDFIX

    Dense / Sparse

  • 8/10/2019 Essbase and Planning

    14/29

    Block Creation

    Before our calculation we have no data in FY13

  • 8/10/2019 Essbase and Planning

    15/29

    Block Creation Less is more

    We execute the script snippet which creates blocks

  • 8/10/2019 Essbase and Planning

    16/29

    Block Creation Less is more

    Our tie sheet in Excel for this step now shows Budget FY13Equals Actual FY12

  • 8/10/2019 Essbase and Planning

    17/29

    Block Creation Some other thoughts

    The 11.1.2.3 release has a function @CREATEBLOCK

    Below is a sample macro (Business Rules) to create blocks.

    This uses an account called PL0001 which has an alias ofCreate Block. The good thing about below method is it will notover-write data. IT does require an extra account to exist.

    /* Create blocks at the lowest level

    %Macro_Alloc_CreateBlock(SOURCE,TARGET);Parm 1: Entity where sales existParm 2: Entity where blocks need to be created )*/

    FIX([AllocVersion],DEP01,@LEVMBRS(Product,0),@LEVMBRS(Distribution,0))datacopy [parm1]->"4100" to [parm2]->"PL0001";ENDFIX

    http://docs.oracle.com/cd/E40248_01/epm.1112/essbase_tech_ref/frameset.htm?createblock.htmlhttp://docs.oracle.com/cd/E40248_01/epm.1112/essbase_tech_ref/frameset.htm?createblock.html
  • 8/10/2019 Essbase and Planning

    18/29

  • 8/10/2019 Essbase and Planning

    19/29

    Viewing the logs

  • 8/10/2019 Essbase and Planning

    20/29

    Create assumptions to avoid hard coding

  • 8/10/2019 Essbase and Planning

    21/29

    A little more complexNext we setup a dense equation; notice a member from a dense dimension on theLeft Hand Side (LHS).

  • 8/10/2019 Essbase and Planning

    22/29

    A snippet of the new logThe log i s a pow erfu l too l to loc a te s low p ieces of yo urcalcula t ion

  • 8/10/2019 Essbase and Planning

    23/29

  • 8/10/2019 Essbase and Planning

    24/29

    Good Script PracticesNever make new scripts in a production environment

    It doesnt hurt to quote all members

    Always test scripts in a dev environment

    Be sure you know what it is going to do before you run it

    Use comments

    Think about reuse (macros and templates)

    Understand concept of block creation and why creating allblocks is not good

  • 8/10/2019 Essbase and Planning

    25/29

    Checking the SyntaxThe Syntax checking eng ine i s no t a lways co ns is ten tBetween pro du cts .

    My preferenc e is to u se calc sc r ip t s to c heck th e bas icsif the other tools are providing an error that doesnt quite m ake sense

  • 8/10/2019 Essbase and Planning

    26/29

    Checking the Syntax (Green Checkmark)

  • 8/10/2019 Essbase and Planning

    27/29

    Performance FactorsWhat you can control?Dense Calculations; use alwaysDynamic Sparse; use with careSettings e.g. CALCPARALLELCaches (index/data/calc)OutlineData

    Outside of your controlServer (CPUs/ RAM)Storage Throughput

  • 8/10/2019 Essbase and Planning

    28/29

  • 8/10/2019 Essbase and Planning

    29/29

    Reference and Training MaterialsEssbase Docum entat ionhttp:/ /www.oracle.com/technetwork/middleware/performance-management/documentation/index.html

    Select your version, the Essbase TabSee the Database Admin Guide (DBAG) and Technical Reference (Tech Ref)

    Essbase Forum sOracle Tech nical Netw ork (OTN)https: / /forums.oracle.com/community/developer/english/business_intel l igence/business_intel l igence_foundation/essbas

    Networ k 54http:/ /www.network54.com/Forum/58296/

    Essbase Books

    Vis i t Amazon.com and search for Essbase

    http://www.oracle.com/technetwork/middleware/performance-management/documentation/index.htmlhttps://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/essbasehttp://www.network54.com/Forum/58296/http://www.network54.com/Forum/58296/https://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/essbasehttp://www.oracle.com/technetwork/middleware/performance-management/documentation/index.htmlhttp://www.oracle.com/technetwork/middleware/performance-management/documentation/index.htmlhttp://www.oracle.com/technetwork/middleware/performance-management/documentation/index.html

Recommended