An OLAP cube is a way of storing figures by several dimensions at once, typically product, location and time, with totals at each level worked out in advance. In retail planning it lets a planner move from company sales for a season down to one department, store and week, and back up, without waiting for a report to be rebuilt.
- OLAP stands for online analytical processing.
- A cube holds measures, such as sales and stock, at the intersection of dimensions.
- The usual retail dimensions are product, location and time, each with its own levels.
- In Pyramid, every plan is converted into a cube in the same warehouse as actuals.
How does an OLAP cube work?
A cube has dimensions and measures. Dimensions are the ways the business is cut: which product, which location, which period. Measures are the numbers held at each intersection, such as sales, markdowns or stock.
For example, one cell of a cube might hold sales value for the Dresses department, in one store, in week 12. The cube also holds the totals above that cell: all departments in that store, all stores for that department, the whole season. Because those totals are aggregated in advance, moving between levels is quick.
"Cube" is a figure of speech. Three dimensions make a cube that can be pictured, but a planning cube often has more, for instance a version dimension that separates plan from last year.
Which dimensions and levels does a retail cube use?
The Pyramid Method describes the warehouse behind its applications as holding the history of transaction metrics, such as sales, purchases and markdowns, along three dimensions. Each retailer configures the hierarchies to match how it classifies its own business.
| Dimension | Levels |
|---|---|
| Time | Year, season, month and week |
| Location | Store, grade and channel |
| Product | Company, division, department, class, style, colour and SKU |
Why do cubes suit retail planning?
Planning questions are questions about levels. A merchandise director asks about a division for a season. A buyer asks about a class for a month. An allocator asks about a style in a store this week. A cube answers all three from the same data, so the totals agree.
The common operations have names. Drill-down moves to a lower level, roll-up moves to a higher one, and slicing fixes one dimension, such as a single week, to look across the others.
How does Pyramid use OLAP cubes?
All plans created in Pyramid’s Planning application are converted into multidimensional OLAP cubes. Because they sit in the same warehouse as actuals, they can be queried, reported on and shown in dashboards alongside them. The cubes are pre-aggregated for drill-down across products, locations and time.
The Analytics module lists SSAS as its OLAP engine. Cubes can be queried from Excel and Power BI with no export step, and SSRS provides scheduled and on-demand reports. Allocation Manager can also allocate from measures held in the cube, such as sales, receipts or stock on hand, or from a custom formula.
Frequently asked questions
What does OLAP stand for?
Online analytical processing. It describes systems built for analysing data across several dimensions, as opposed to systems built for recording individual transactions.
How is a cube different from a spreadsheet?
A spreadsheet has rows and columns, so a third dimension needs extra tabs or files that must be kept in step by hand. A cube holds all the dimensions and their totals in one structure.
Does a planner need to know how to build a cube?
No. Planners use a cube through plans, pivot tables, reports and dashboards. Building and refreshing it is a system task.
Can plans and actuals sit in the same cube structure?
Yes, and it is a main benefit for planning. In Pyramid, plans are held in the same warehouse as actuals so the two can be reported together.