+ All Categories
Home > Documents > Moore Advanced Calculations in Calc Manager OW 20151015

Moore Advanced Calculations in Calc Manager OW 20151015

Date post: 15-Apr-2017
Category:
Upload: ron-moore
View: 152 times
Download: 6 times
Share this document with a friend
44
Advanced Calculations in Calc Manager Ron Moore TopDown Consulting, Inc.
Transcript
Page 1: Moore Advanced Calculations in Calc Manager  OW 20151015

Advanced Calculationsin Calc Manager

Ron Moore

TopDown Consulting, Inc.

Page 2: Moore Advanced Calculations in Calc Manager  OW 20151015
Page 3: Moore Advanced Calculations in Calc Manager  OW 20151015

�Solution Architect at TopDown Consulting

�Certified in Essbase and Planning

�Over 20 years experience with Essbase

�Over 30 years experience in forecasting, financial

modeling and predictive analytics

Ron Moore

Page 4: Moore Advanced Calculations in Calc Manager  OW 20151015

�Use simple rolling forecast and driver based budgeting

examples

�Automate repetitive calculation development tasks

using Custom Defined Templates (CDTs)

�Answer some common CM questions

Objective

Page 5: Moore Advanced Calculations in Calc Manager  OW 20151015

�Quick review of CDTs (for more keystrokes see

http://www.odtug.com/p/do/sd/sid=5349&type=0)

�Develop a conceptual framework for CDT

implementation

�Apply CDTs to a Driver Based Budgeting application

�Use Calc Manager to create a calculation in ASO

�Demonstrate some tricks with variables

Agenda

Page 6: Moore Advanced Calculations in Calc Manager  OW 20151015

�CDTs are like wizards

● Executed during rule development

�Drag in Components

● Formula, Script, Condition, Member Block, Member Range, Fixed

Loop, Metadata Loop, DTP Assignment

�Design Time Prompts

● Prompt the designer for rule parameters

�CDT prompts

● Questions in the wizard pages

�Steps

● Pages in the wizard

Custom Defined Templates

Page 7: Moore Advanced Calculations in Calc Manager  OW 20151015

�Categorize static and customized elements

�Create script components for static elements

�Parameterize the customizations

●Design Time Prompts : Outline /one time customizations

●Run Time Prompts: End user customizations

Conceptual Framework Design Steps

Page 8: Moore Advanced Calculations in Calc Manager  OW 20151015

Conceptual framework

Question Answer Examples

What’s static? Patterns in the code Baseline Fixes

Mathematical logic

What’s

customized?

Dimension names

Member names

Slices

Accounts v Measures

Members to forecast

History years v Forecast years

Page 9: Moore Advanced Calculations in Calc Manager  OW 20151015

Identify predictable common elements that can be packaged

Common Dimension types

Page 10: Moore Advanced Calculations in Calc Manager  OW 20151015

Run Time Prompt v. Design Time Prompt Customizations

Prompt Design Time Run Time

Measure to Calculate vPctGrowthMember

Growth Percent vGrowthPct

Year dimension dtpYearDim

Period Dimension dtpPeriodDim

First Month dtpFirstMonth

Page 11: Moore Advanced Calculations in Calc Manager  OW 20151015

Parameterize Slices Forecast Slice (user

rtp)

Business

Units Slice

(user rtp)

Stored Data Types Slice

(rule designer dtp)

Page 12: Moore Advanced Calculations in Calc Manager  OW 20151015

CODE DESIGN CHOICES : PIVOTING THE CODE

Page 13: Moore Advanced Calculations in Calc Manager  OW 20151015

CONVERT TO IF

Page 14: Moore Advanced Calculations in Calc Manager  OW 20151015

Drivers on Accounts v. Drivers on View Dimension

“Forecast” = “Sales” * “Drivers”;

“COGS” = “Sales” * “COGS Driver”;

“Rent” = “Sales” * “Rent Driver”;

“Payroll” = “Sales” * “Payroll Driver”;

EtcD.

Page 15: Moore Advanced Calculations in Calc Manager  OW 20151015

PUT DRIVERS ON THE VIEW DIMENSION

Strengths Weaknesses

Drivers on Accounts Dim • One less dimension • More maintenance

• Harder code

Drivers on View Dim • Easier maintenance

• Easier code

• One more dimension

Page 16: Moore Advanced Calculations in Calc Manager  OW 20151015

TARGET CODE

Page 17: Moore Advanced Calculations in Calc Manager  OW 20151015

PROMPT ANALYSIS

Code element Prompt

Business Unit Slice vBusUnits

Forecast Years Slice vFCYears

Stored Data Types Slice dtpStoredSlice

FCLeftSide dtpFCLeftSide

Method 1 Accounts vM1Accounts

Method 2 Accounts VM2Accounts

Year Dim dtpYearDim

Periods Dim dtpPeriodsDim

Driver Dim dtpDriverDim

Driver Member/s dtpDriverMb

Page 18: Moore Advanced Calculations in Calc Manager  OW 20151015

�Create the variables

�Create the Custom Defined Template

●Drag in script component (Rolling Forecast code)

●Drag in member range components (FIXes)

●Create the DTPs

●Create steps

●Substitute RTPs/DTPs

�Create the rule

●Drag in the CDT

●Additional member ranges (FIXes)

CDT Workflow

Page 19: Moore Advanced Calculations in Calc Manager  OW 20151015

Create the Template

• System View | APP/DB

• Right Click Templates |New• Drag in the FCLogic Script

Page 20: Moore Advanced Calculations in Calc Manager  OW 20151015

SUBSTITUTE THE DPTS

Page 21: Moore Advanced Calculations in Calc Manager  OW 20151015

SUBSTITUTE THE TIME FRAME DTPS

Page 22: Moore Advanced Calculations in Calc Manager  OW 20151015

�Create the new rule

�Drag in the Custom Defined Template

�Execute the wizard

�Create additional Member Ranges

�Save

�Launch

Create the rule

Page 23: Moore Advanced Calculations in Calc Manager  OW 20151015

FINAL RULE

Page 24: Moore Advanced Calculations in Calc Manager  OW 20151015

WRITE A CALC MANAGER RULE

TO COPY DATA IN ASO

Page 25: Moore Advanced Calculations in Calc Manager  OW 20151015

�Create a new rule

�Drag in the Point of View object

�Drag in the formula object inside the POV object

Create the rule

Page 26: Moore Advanced Calculations in Calc Manager  OW 20151015

�Click the left node of the POV object

�Make the following selections

Configure the POV

Measures "Price Paid", "Original Price", "Transactions", "Returns", "Units"

Years Leave this blank

Time @Level0Descendants("MTD")

Transaction

Type

@Level0Descendants("Transaction Type")

Payment Type @Level0Descendants("Payment Type")

Promotions @Level0Descendants("Promotions")

Age @Level0Descendants("Age")

Income Level @Level0Descendants("Income Level")

Products @Level0Descendants("Products")

Stores @Level0Descendants("Stores")

Geography @Level0Descendants("Geography")

Page 27: Moore Advanced Calculations in Calc Manager  OW 20151015
Page 28: Moore Advanced Calculations in Calc Manager  OW 20151015

�Click the formula object

�Enter the formula :

�“Prev Year” = “Curr Year”

�Validate

�Save

Create the formula

Page 29: Moore Advanced Calculations in Calc Manager  OW 20151015

Results

• Spreadsheet before the calc

• Launch the rule

Page 30: Moore Advanced Calculations in Calc Manager  OW 20151015

�You must address every dimension. That is, any

dimension not addressed on the left side of the

formula/s must be addressed in the POV

�You cannot use any dynamic members in the POV or

formula.

What to watch out for:

Page 31: Moore Advanced Calculations in Calc Manager  OW 20151015

DESIGN TIME PROMPTS

Setting Description

Type 14 types, we will use Member Range, Member and Dimension

Dependency Inclusive, Exclusive, None

Limits Dense/Sparse, Accounts/Time, Planning :required dimensions

Prompt it? Yes/No

Mandatory? Yes/No

Read Only Yes/No

DTP Text Custom text

Default value Depends on type

Page 32: Moore Advanced Calculations in Calc Manager  OW 20151015

BUILT-IN DTPS

DTP Purpose

Application Type Project Planning or Public Sector Planning

Application Single or Multi currency

Upper POV Capture all upper fix dimensions to exclude or include in downstream DTPs

Page 33: Moore Advanced Calculations in Calc Manager  OW 20151015

�Select the Design Time Prompt tab

�Click the + sign to create a new row

Create the Design Time Prompts

Page 34: Moore Advanced Calculations in Calc Manager  OW 20151015

CREATE THE STEPS

Page 35: Moore Advanced Calculations in Calc Manager  OW 20151015

Steps

1. Time Frame

−dtpYearDim

−dtpPeriodDim

−dtpFirstMonth

2. Input Data Types

−dtpInputDataTypes

Page 36: Moore Advanced Calculations in Calc Manager  OW 20151015

SELECT DTP FOR MEMBER RANGE

Page 37: Moore Advanced Calculations in Calc Manager  OW 20151015

Drag in the Template

Create the Rule

Page 38: Moore Advanced Calculations in Calc Manager  OW 20151015

CODE AFTER CDT WIZARD EXECUTION

Page 39: Moore Advanced Calculations in Calc Manager  OW 20151015

ADD BUSINESS UNITS MEMBER RANGE

Page 40: Moore Advanced Calculations in Calc Manager  OW 20151015

ADD FORECAST SLICE MEMBER RANGE

Page 41: Moore Advanced Calculations in Calc Manager  OW 20151015

CODE

Page 42: Moore Advanced Calculations in Calc Manager  OW 20151015

1. Rollup driver denominator

2. Calculate driver %

3. Multiply driver % by total value to be allocated

Simple Allocation Code

Page 43: Moore Advanced Calculations in Calc Manager  OW 20151015

Allocate Marketing based on Units driver

Calc Objective

Page 44: Moore Advanced Calculations in Calc Manager  OW 20151015

Q & A


Recommended