ERPClimb logoERPClimb
Key Figures
Integrated Business Planningadvanced 6 min read

Advanced Key Figure Design: Calculation Levels, Aggregation and Performance (Part 4)

Free sample lesson · open to everyone

Key takeaway

Design IBP key figures with explicit calculation level, aggregation/disaggregation and storage choices so planning semantics remain correct and performant across levels.

In this lessonShow sections

Visual overview

Advanced Key Figure Design: Calculation Levels, Aggregation and Performance (Part 4) — learning sheetIn one line: Design IBP key figures with explicit calculation level, aggregation/disaggregation and storage choices so planning semantics remain correct and performant across levels.ERPClimb.com / IBP / LESSON 4/4 / LEARNING SHEETAdvanced Key Figure Design: Calculation Levels,Aggregation and Performance (Part 4)1 · IN ONE LINEDesign IBP key figures with explicit calculation level, aggregation/disaggregation andstorage choices so planning semantics remain correct and performant across levels.2 · KEY IDEAS EXPLAINED1Key figures are the numerical measures of an IBPplanning area. Their behavior depends on baseplanning level, storage/calculation design andaggregation/disaggregation rules.2A value meaningful at customer-product-week maynot be valid to sum across every dimension.Ratios, percentages and inventory coverage requirecarefully designed calculations rather thandefault SUM behavior. Calculated key figuresshould reference other key figures at compatible…3Stored key figures support editable or persistedplanning data; calculated key figures derivevalues at runtime. Overly complex nested formulascan affect planning-view performance and maketroubleshooting difficult.4Disaggregation controls how a value entered at anaggregate level is distributed to lower-levelcombinations. The chosen method should reflectbusiness meaning, not just system convenience.3 · DO · AVOIDBest practice!Common mistakeDesign semantics before formulas.Keep planning levels minimal.Document aggregation/disaggregation.✕Treating every key figure as additive.✕Deep nested formulas with unclear levels.✕Adding unnecessary planning dimensions.4 · IN A REAL PROJECTA planner entered a 10% growth assumption at region level, but a poorly designed calculated key figure summedpercentages across customers. Correct calculation-level design produced the intended weighted result.Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

A planner entered a 10% growth assumption at region level, but a poorly designed calculated key figure summed percentages across customers. Correct calculation-level design produced the intended weighted result.

Explanation

Key figures are the numerical measures stored or calculated within an IBP planning area, and their correctness depends entirely on the base planning level, the storage/calculation method, and the aggregation/disaggregation rules attached to them — getting these three decisions wrong produces numbers that look plausible but are mathematically invalid.

A value that is meaningful at one combination of dimensions, such as customer-product-week, is not automatically valid when summed across every other dimension. Quantities are generally additive, but ratios, percentages, and derived measures like inventory coverage or days-of-supply are not: summing a percentage across customers, for example, produces a number with no business meaning. Calculated key figures must reference other key figures at a compatible calculation level, or the formula will silently aggregate or disaggregate incorrectly.

Stored key figures hold editable or persisted planning data entered by planners or loaded from source systems. Calculated key figures derive their values at runtime from formulas referencing other key figures. Calculated key figures are more flexible but add runtime cost; deeply nested calculated key figures with unclear dependency chains are harder to performance-tune and harder for a new team member to troubleshoot.

Disaggregation determines how a value entered at an aggregate level (say, entering a regional growth percentage) is distributed down to the lower-level combinations the system actually plans at. The disaggregation method — even, proportional to history, or driven by another key figure — must reflect how the business actually wants that value spread, not just whatever the system defaults to.

Performance tuning for a slow planning view should start by simplifying formula logic and calculation levels and reducing unnecessary planning dimensions, before reaching for Excel Add-in settings or hardware. Adding a dimension to a planning area "just in case it's needed later" permanently increases the data volume and calculation complexity for every key figure in that area, so it should be justified by a concrete current requirement.

How the SAP process fits together

SAP PROCESS EXPLORER · Integrated Business Planning

ERPClimb.com

Key Figures — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

Selected process stage

Define

Choose planning area, dimension and time profile

Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.

Watch out

Common mistakes

Treating every key figure as additive by default: summing a percentage, ratio or coverage metric across a dimension (like customers or time) produces a number with no business meaning — explicitly mark and calculate non-additive measures with level-aware formulas.

Writing deeply nested calculated key figures with unclear calculation levels: when a formula references several other calculated key figures several layers deep, no one can quickly tell what level it's valid at, which makes both debugging and performance tuning far harder than it needs to be — break complex logic into named intermediate steps.

Adding planning dimensions to the model speculatively, "in case it's needed later": every additional dimension increases storage and calculation cost for every key figure in the area permanently, often for a requirement that never materializes — add dimensions only against a confirmed current need.

Choosing a disaggregation method with no business rationale (leaving the system default in place): this silently misallocates planner-entered aggregate values down to the detail level in a way that doesn't match how the business actually wants volume or value spread.

Jumping straight to Excel Add-in or hardware tuning when a planning view is slow, instead of first simplifying the underlying key figure formulas and reducing unnecessary planning levels — the root cause of most performance problems is model complexity, not client performance.

Do this

Best practices

Design the semantic meaning of a key figure — what level it is valid at, whether it's additive — before writing the formula; a formula built before the semantics are clear tends to calculate something that looks right but isn't.

Keep the number of planning levels in a planning area to the minimum the business actually needs; every added dimension multiplies the data volume and calculation cost for every key figure defined on it.

Document aggregation and disaggregation behavior for every key figure, especially non-additive ones like ratios and percentages, so the next person modifying the model doesn't assume default SUM behavior is correct.

Build complex calculations as a chain of clear, reusable intermediate key figures rather than one deeply nested formula; this makes the logic traceable and easier to performance-tune later.

Test every key figure at multiple aggregation levels (not just the level it was designed for) before go-live, since a formula that is correct at one level can silently misbehave at another.

In the interview

Interview angle

Typical question: "Why would summing a key figure across customers give a wrong answer, and how do you fix it?"

A strong answer explains that only additive measures like quantities can be safely summed across dimensions; ratios, percentages and coverage metrics require a weighted or re-derived calculation at the target level, not a simple SUM. It also covers the difference between stored key figures (persisted, planner-editable) and calculated key figures (formula-derived at runtime), and explains that disaggregation rules control how an aggregate-level entry is distributed to detail and must match business intent.

A weak answer only says "use a formula" without identifying why percentages break under naive aggregation, or cannot explain the practical difference between stored and calculated key figures.

Practice this lesson

Quick check

0 of 3 questions attempted

Question 1 of 3

Scenario — A planner entered a 10% growth assumption at region level, but a poorly designed calculated key figure summed percentages across customers. In this Key Figures situation, which response best addresses the underlying design risk?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1A senior architect is reviewing Key Figures. The project situation is: A planner entered a 10% growth assumption at region level, but a poorly designed calculated key figure summed percentages across customers. What design changes, validation evidence and production controls would you require before approving the solution?

2A project encounters this situation while working on Configuring Key Figures: Storage, Calculation, and Aggregation Design: In a supply planning rollout, planners reported that adjusting a monthly total supply number at the product family level produced illogical weekly splits that did not match known seasonal patterns. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Was this lesson helpful?

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.