Few things erode planner trust faster than a total that does not match its parts. A margin percentage that averages to 41% at the region level but shows 38% at the company level, a headcount that sums across months, a price that adds up across products: these are almost always summary method problems, and they are easy to introduce and easy to miss. This tutorial covers how summary methods work in Anaplan and how to set them so roll-ups stay correct.
How summaries work
Every line item has a summary method for each dimension it is rolled up over: list hierarchies and time. Anaplan applies the summary when it aggregates parent items in a list, and for time, when it aggregates to quarters, years, or the totals columns. The options you will use most are:
- Sum: adds the children. Right for flows such as revenue, cost, and units sold.
- Average: the arithmetic mean of the children. Rarely right for anything that has a natural weight.
- Ratio: divides the summed numerator by the summed denominator. Right for percentages and unit prices.
- Opening Balance / Closing Balance: first or last period value over time. Right for stocks such as headcount, inventory, and cash.
- None: shows nothing. Right for text, dates, and anything that should not be aggregated.
- Formula: applies a formula at the summary level. The most flexible, and the one to use with care.
Step 1: Classify each line item as a flow, a stock, or a rate
Before touching a setting, decide what the number is:
- Flow (amounts over a period): Sum across both hierarchy and time.
- Stock (a position at a point in time): Sum across the hierarchy, but Closing Balance (or Opening Balance) across time.
- Rate or price (a ratio of two other things): use Ratio, or compute it at the summary level with a Formula.
The mistake to look for is a mixed case: headcount should sum across departments but not across months. Because the summary method can be set separately for time and for lists, you can express this exactly.
Step 2: Build a ratio line item properly
Suppose a module has Revenue, COGS, and Gross Margin % by Product and Month. The tempting setup is:
- Gross Margin = Revenue - COGS (Sum)
- Gross Margin % = Gross Margin / Revenue (Average)
The Average summary gives every product equal weight, so a tiny product with a 90% margin pulls up a large product at 20%. Instead, set Gross Margin % to the Ratio summary, with Gross Margin as the numerator and Revenue as the denominator. Anaplan then sums the numerator and denominator over the hierarchy and time, then divides, which is the figure the CFO expects.
The same pattern fits average selling price (revenue over units), cost per hire (spend over hires), and attrition rate (leavers over average headcount). Keep the numerator and denominator as separate line items in the same module so the ratio setting can reference them.
Step 3: Weighted averages
When the weight is not the denominator of a natural ratio, build the weight in explicitly. For a weighted average discount:
- Add a line item Discount x Weight = Discount % * List Revenue, set to Sum.
- Add Weight = List Revenue, set to Sum.
- Set Weighted Discount % to Ratio, with Discount x Weight over Weight.
The leaf-level value is unchanged, and every parent now shows a correctly weighted value. Hide the two helper line items from dashboards with a Display module or by leaving them off the grid.
Step 4: Summary Formula for harder cases
Some rollups cannot be a ratio. For example, you may want the number of products with negative margin at each parent level. Set the summary to Formula and reference line items in the same module, for instance a count of children below zero. Be aware of two cautions:
- Summary formulas are evaluated at each aggregation level, so a formula that is cheap at leaf level can add calculation time on large hierarchies. Test it with realistic data volumes.
- Document them. A reviewer who sees a leaf value and a parent value that do not follow the same logic needs to know why. Put a note in the line item description.
Step 5: Time summaries and the totals columns
Check the time scale used in each module. A closing balance summary behaves correctly when you view quarters and years, but only if the module's time settings are right. If the module has a time range shorter than the model range, or has no time dimension, behavior differs. Verify each stock line item by comparing the year column to the final month.
For percentages across time, use the same Ratio approach: a yearly churn rate should be total churned over average or opening customers, not the average of twelve monthly rates.
Step 6: Audit an existing model
Use this checklist on a model you inherit:
- Filter or list every line item formatted as a percentage or a price and confirm none use Sum or Average where Ratio is needed.
- List every stock-type line item (headcount, balances, inventory) and confirm that the time summary is a balance, not Sum.
- Check that text and date line items have the summary set to None.
- Select three parents at different levels and recompute their values by hand, or in a test module, from the leaf data.
- Review any line item with a Formula summary for performance and documentation.
- Look at calculated line items at the top level: where a number reads zero or blank at a parent but is populated at leaf level, a summary setting is likely the cause.
For regression safety, put a few of these reconciliations into your test module so that a future change that alters a summary shows up as a failed check.
Common pitfalls
- Leaving the default. New line items default to Sum, which silently misstates every rate and price.
- Averaging averages. Compute from totals, not from already-averaged values.
- Boolean line items. A Boolean summarized with Sum, Any, or All behaves very differently. Pick the one that answers your business question.
- Fixing it on the dashboard. Do not hide a bad total behind formatting. Fix the line item so every consumer of the module sees the same figure.
Summary
Treat the summary method as part of the line item's definition, not an afterthought. Classify each as a flow, stock, or rate, use Ratio for percentages and prices, build weights explicitly, and reserve Formula summaries for the cases that really need them. If you want an experienced second pair of eyes on an inherited model, QuanticPlanning's Anaplan consultants can run a roll-up audit and fix what they find. Get in touch through our contact page.