SlideShare a Scribd company logo
Advanced Calculations
in Calc Manager
Ron Moore
TopDown Consulting, Inc.
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
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
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
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
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
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
Identify predictable common elements that can be packaged
Common Dimension types
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
Parameterize Slices Forecast Slice (user
rtp)
Business
Units Slice
(user rtp)
Stored Data Types Slice
(rule designer dtp)
CODE DESIGN CHOICES : PIVOTING THE CODE
CONVERT TO IF
Drivers on Accounts v. Drivers on View Dimension
“Forecast” = “Sales” * “Drivers”;
“COGS” = “Sales” * “COGS Driver”;
“Rent” = “Sales” * “Rent Driver”;
“Payroll” = “Sales” * “Payroll Driver”;
Etc .
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
TARGET CODE
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
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
Create the Template
• System View | APP/DB
• Right Click Templates |New
• Drag in the FCLogic Script
SUBSTITUTE THE DPTS
SUBSTITUTE THE TIME FRAME DTPS
Create the new rule
Drag in the Custom Defined Template
Execute the wizard
Create additional Member Ranges
Save
Launch
Create the rule
FINAL RULE
WRITE A CALC MANAGER RULE
TO COPY DATA IN ASO
Create a new rule
Drag in the Point of View object
Drag in the formula object inside the POV object
Create the rule
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")
Moore Advanced Calculations in Calc Manager  OW 20151015
Click the formula object
Enter the formula :
“Prev Year” = “Curr Year”
Validate
Save
Create the formula
Results
• Spreadsheet before the calc
• Launch the rule
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:
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
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
Select the Design Time Prompt tab
Click the + sign to create a new row
Create the Design Time Prompts
CREATE THE STEPS
Steps
1. Time Frame
−dtpYearDim
−dtpPeriodDim
−dtpFirstMonth
2. Input Data Types
−dtpInputDataTypes
SELECT DTP FOR MEMBER RANGE
Drag in the Template
Create the Rule
CODE AFTER CDT WIZARD EXECUTION
ADD BUSINESS UNITS MEMBER RANGE
ADD FORECAST SLICE MEMBER RANGE
CODE
1. Rollup driver denominator
2. Calculate driver %
3. Multiply driver % by total value to be allocated
Simple Allocation Code
Allocate Marketing based on Units driver
Calc Objective
Q & A

More Related Content

PDF
rmoore.smartquery KScope15
PPT
Business Intelligence Portfolio
PPT
Introduction to mdx query ppt
PDF
2012 Acura MDX Brochure | DCH Acura of Temecula
PDF
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
PDF
Multidimensional expressions mdx - reference
PPTX
Ssis sql ssrs_sp_ssas_mdx_hb_li
PPTX
Mdx university dubai courses
rmoore.smartquery KScope15
Business Intelligence Portfolio
Introduction to mdx query ppt
2012 Acura MDX Brochure | DCH Acura of Temecula
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Multidimensional expressions mdx - reference
Ssis sql ssrs_sp_ssas_mdx_hb_li
Mdx university dubai courses

Viewers also liked (18)

PDF
Getting Started with MDX 20140625a
PDF
SQL Server Analysis Services and MDX
PDF
Mdx complex-queries-130019
PDF
Unlocking the Mystery of MDX
PDF
Citrix MDX Technologies Feature Brief
PDF
MDX 2015-2019 Work Program Overview presentation, October 22, 2014
PDF
IBM Cognos Dimensional Dashboarding Techniques
PPT
Mdx Basics
PPTX
Mdx 2nddraft
PPTX
MDX (Multi Dimensional Expressions) Introduction
PDF
MDX - What BI Developers Need To Know
PPTX
Ssis sql ssrs_ssas_sp_mdx_hb_li
PPTX
SSRS for DBA's
PDF
Big Data MDX with Mondrian and Apache Kylin
PDF
Essbase Calculations A Visual Approach KScope 2010
PPTX
SSAS and MDX
PDF
Geo spatial analytics using Microsoft BI
PDF
Improve Mondrian MDX usability with user defined functions
Getting Started with MDX 20140625a
SQL Server Analysis Services and MDX
Mdx complex-queries-130019
Unlocking the Mystery of MDX
Citrix MDX Technologies Feature Brief
MDX 2015-2019 Work Program Overview presentation, October 22, 2014
IBM Cognos Dimensional Dashboarding Techniques
Mdx Basics
Mdx 2nddraft
MDX (Multi Dimensional Expressions) Introduction
MDX - What BI Developers Need To Know
Ssis sql ssrs_ssas_sp_mdx_hb_li
SSRS for DBA's
Big Data MDX with Mondrian and Apache Kylin
Essbase Calculations A Visual Approach KScope 2010
SSAS and MDX
Geo spatial analytics using Microsoft BI
Improve Mondrian MDX usability with user defined functions
Ad

Similar to Moore Advanced Calculations in Calc Manager OW 20151015 (20)

PDF
PDF
My Favorite Calc Code
PDF
Cognos TM1 for Advanced Users
PDF
Advanced Analytics: Analytic Platforms Should Be Columnar Orientation
PPTX
Business Intelligence Portfolio
PDF
Step by Step design cube using SSAS
PPT
Analisys Services
PDF
Visual Approach to Essbase Calcs: 2018
PDF
Cognos TM1 Assignments
PPTX
Introduction to Microsoft’s Master Data Services (MDS)
PPT
James Colby Maddox Business Intellignece and Computer Science Portfolio
PDF
Руководство по SQL Server 2012: Многомерное моделирование шаг за шагом.
PDF
Sql server 2012 tutorials analysis services multidimensional modeling
PDF
Sql server 2012 tutorials analysis services multidimensional modeling
PDF
Analytic Platforms Should Be Columnar Orientation
PPTX
High Performance Driver Based Modelingat Att
PDF
Incremental update-with-data-driven-approach
PPTX
Making driver-based planning and budgeting work
PDF
Empowering Users with Analytical MDX
PPTX
SQL Server 2019 Master Data Service
My Favorite Calc Code
Cognos TM1 for Advanced Users
Advanced Analytics: Analytic Platforms Should Be Columnar Orientation
Business Intelligence Portfolio
Step by Step design cube using SSAS
Analisys Services
Visual Approach to Essbase Calcs: 2018
Cognos TM1 Assignments
Introduction to Microsoft’s Master Data Services (MDS)
James Colby Maddox Business Intellignece and Computer Science Portfolio
Руководство по SQL Server 2012: Многомерное моделирование шаг за шагом.
Sql server 2012 tutorials analysis services multidimensional modeling
Sql server 2012 tutorials analysis services multidimensional modeling
Analytic Platforms Should Be Columnar Orientation
High Performance Driver Based Modelingat Att
Incremental update-with-data-driven-approach
Making driver-based planning and budgeting work
Empowering Users with Analytical MDX
SQL Server 2019 Master Data Service
Ad

Moore Advanced Calculations in Calc Manager OW 20151015

  • 1. Advanced Calculations in Calc Manager Ron Moore TopDown Consulting, Inc.
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. 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
  • 9. Identify predictable common elements that can be packaged Common Dimension types
  • 10. 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
  • 11. Parameterize Slices Forecast Slice (user rtp) Business Units Slice (user rtp) Stored Data Types Slice (rule designer dtp)
  • 12. CODE DESIGN CHOICES : PIVOTING THE CODE
  • 14. Drivers on Accounts v. Drivers on View Dimension “Forecast” = “Sales” * “Drivers”; “COGS” = “Sales” * “COGS Driver”; “Rent” = “Sales” * “Rent Driver”; “Payroll” = “Sales” * “Payroll Driver”; Etc .
  • 15. 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
  • 17. 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
  • 18. 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
  • 19. Create the Template • System View | APP/DB • Right Click Templates |New • Drag in the FCLogic Script
  • 21. SUBSTITUTE THE TIME FRAME DTPS
  • 22. Create the new rule Drag in the Custom Defined Template Execute the wizard Create additional Member Ranges Save Launch Create the rule
  • 24. WRITE A CALC MANAGER RULE TO COPY DATA IN ASO
  • 25. Create a new rule Drag in the Point of View object Drag in the formula object inside the POV object Create the rule
  • 26. 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")
  • 28. Click the formula object Enter the formula : “Prev Year” = “Curr Year” Validate Save Create the formula
  • 29. Results • Spreadsheet before the calc • Launch the rule
  • 30. 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:
  • 31. 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
  • 32. 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
  • 33. Select the Design Time Prompt tab Click the + sign to create a new row Create the Design Time Prompts
  • 36. SELECT DTP FOR MEMBER RANGE
  • 37. Drag in the Template Create the Rule
  • 38. CODE AFTER CDT WIZARD EXECUTION
  • 39. ADD BUSINESS UNITS MEMBER RANGE
  • 40. ADD FORECAST SLICE MEMBER RANGE
  • 41. CODE
  • 42. 1. Rollup driver denominator 2. Calculate driver % 3. Multiply driver % by total value to be allocated Simple Allocation Code
  • 43. Allocate Marketing based on Units driver Calc Objective
  • 44. Q & A