Upload
raymond-stevens
View
233
Download
0
Embed Size (px)
DESCRIPTION
Types of Calculation Outline calculations Calc script calculations
Citation preview
UNIT 2
Calculation Architecture
Topics
• Types of calculations
• Data storage
• Calculation order
• Dynamic Calculations
• Two-pass calculations
• Intelligent Calcs
Types of Calculation
• Outline calculations
• Calc script calculations
Outline Calculations
Calculations based on member relationships in a dimension
Default Calculation
• The default for the database is CALC ALL.
• A different default calculation can be set using Essbase Application Manager or ESSCMD.
Default Calculation Characteristics
The default calc, CALC ALL• minimizes physical passes through database.
• allows users with access to specific calc scripts to run default calc.
Calc Script Calculations
• Contents of calc scripts: commands, formulas, and functions
• Reasons for calc scripts
• Functions and commands that only work in scripts
Calculation Order
• Data storage
• Dimension types
Dense and Sparse Dimensions
Dense
Sparse
Dimension tags
Block and Index StructureIndex of sparse dimensions
Cola->New York
ProfitCOGSMarginMkt exp.PayrollMisc.Tot. Exp.Sales
JanFeb
MarQtr1
Apr
Actual Budget Var. Var%
Mea
sure
s
Time
Scenario
May
Cola->Florida
ProfitCOGSMarginMkt exp.PayrollMisc.Tot. Exp.Sales
JanFeb
MarQtr1
Apr
Actual Budget Var. Var%
Mea
sure
s
Time
Scenario
May
Mea
sure
s
Cola->East
ProfitCOGSMarginMkt exp.PayrollMisc.Tot. Exp.Sales
JanFeb
MarQtr1
Apr
Actual Budget Var. Var%
Time
Scenario
May
Generations and LevelsLevelGeneration
4
3,12
1
3
3
2
0
0
0
12
Block Types
• Input blocks
• Calculated (non-input blocks)
• Level zero blocks
• Upper-level blocks
Calculation Order
• Accounts
• Time
• Dense
• Two-pass
• Sparse
Dense Calculations
Data load from table
XXXXXX
###
###
###
XXXX XXXXXXX
Essbase calculation(CALC ALL)
Sales COGS Margin ProfitActu
al
Budge
tJan
FebMar
Qtr1
Year After calc of Time dimension
After calc ofAccountsdimension
Sparse Calculations
Vermont -> Cola New York -> Cola
East -> Cola
30
2010
Measures (Label Only)Profit (+) (7)
Margin (+) (3)Sales (+) (1)COGS (-) (2)
Expenses (-) (6)Marketing (+) (4)Misc. (+) (5)
Inventory (+) (Label Only)Opening (+) (TB First) (8)Ending (+) (TB Last) (9)
Ratios (+) (Label Only)Margin % (+) (Two Pass Calc) Margin % Sales; (10)Product Share (+) (Two Pass Calc) Sales % Sales -
>Products; (11)
Calculation Order: Dense Dimensions
Calculation Order:Sparse Dimensions
(1)
(2)
(3)
(4)
(C)
(A)
(B)
Dynamic Calculations
• Dynamic Calc (Non-Store)
• Dynamic Calc and Store
• Dynamic Time Series
Dynamic Calc Member Settings
• Dense and sparse dimensions
• Dynamic Calc restrictions
• Considerations
Calculation Order: Dynamic Calcs Versus Batch
• Batch• Dimension with
Accounts tag
• Dimension with Time tag
• Dense dimensions in outline order
• Sparse dimension in outline order
• Two-pass calculations
• Dynamic Calc• Sparse dimensions in
outline order
• Time series calculations
• Dimension with Accounts tag
• Dimension with Time tag
• Dense dimensions in outline order
• Two-pass calculations
Dynamic Calculation Limitations
• Members that cannot be dynamic
• Loading data
• Parent/child considerations
Two-Pass CalculationFirst pass
Accounts Jan Feb Mar Qtr1ProfitSales
Profit % (tagged as two-pass calc)Second pass
Accounts Jan Feb Mar Qtr1ProfitSales
Profit % (tagged as two-pass calc)
3003000
30%
1001000
10%
1001000
10%
1001000
10%
3003000
10%
1001000
10%
1001000
10%
1001000
10%
Intelligent Calculation• Introducing Intelligent Calculation
• Intelligent Calculation method
• Invoking Intelligent Calculation
Check Your Understanding