24
UNIT 2 Calculation Architecture

UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Embed Size (px)

DESCRIPTION

Types of Calculation Outline calculations Calc script calculations

Citation preview

Page 1: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

UNIT 2

Calculation Architecture

Page 2: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Topics

• Types of calculations

• Data storage

• Calculation order

• Dynamic Calculations

• Two-pass calculations

• Intelligent Calcs

Page 3: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Types of Calculation

• Outline calculations

• Calc script calculations

Page 4: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Outline Calculations

Calculations based on member relationships in a dimension

Page 5: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Default Calculation

• The default for the database is CALC ALL.

• A different default calculation can be set using Essbase Application Manager or ESSCMD.

Page 6: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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.

Page 7: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Calc Script Calculations

• Contents of calc scripts: commands, formulas, and functions

• Reasons for calc scripts

• Functions and commands that only work in scripts

Page 8: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Calculation Order

• Data storage

• Dimension types

Page 9: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Dense and Sparse Dimensions

Dense

Sparse

Dimension tags

Page 10: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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

Page 11: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Generations and LevelsLevelGeneration

4

3,12

1

3

3

2

0

0

0

12

Page 12: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Block Types

• Input blocks

• Calculated (non-input blocks)

• Level zero blocks

• Upper-level blocks

Page 13: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Calculation Order

• Accounts

• Time

• Dense

• Two-pass

• Sparse

Page 14: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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

Page 15: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Sparse Calculations

Vermont -> Cola New York -> Cola

East -> Cola

30

2010

Page 16: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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

Page 17: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Calculation Order:Sparse Dimensions

(1)

(2)

(3)

(4)

(C)

(A)

(B)

Page 18: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Dynamic Calculations

• Dynamic Calc (Non-Store)

• Dynamic Calc and Store

• Dynamic Time Series

Page 19: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Dynamic Calc Member Settings

• Dense and sparse dimensions

• Dynamic Calc restrictions

• Considerations

Page 20: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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

Page 21: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Dynamic Calculation Limitations

• Members that cannot be dynamic

• Loading data

• Parent/child considerations

Page 22: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

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%

Page 23: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Intelligent Calculation• Introducing Intelligent Calculation

• Intelligent Calculation method

• Invoking Intelligent Calculation

Page 24: UNIT 2 Calculation Architecture. Topics Types of calculations Data storage Calculation order Dynamic…

Check Your Understanding