
A spend cube is a data model that arranges all your company's spend along three main dimensions: what you buy (category), who you buy from (supplier) and who buys it (business unit or cost centre), usually with time as a fourth. Each cell holds the spend for one combination, so you can slice, filter and drill into spend from any angle without rebuilding the report.
- Three axes, one question per angle. Category, supplier and business unit answer what, from whom and for whom.
- It is built on cleaned, classified data. The cube is only as good as the spend analysis underneath it.
- Hierarchies make it usable. Each dimension rolls up and drills down: item to category family, site to region, supplier to parent group.
- Measures go beyond amount. Quantity, PO count, supplier count and average unit price reveal more than spend alone.
- A good cube answers new questions without IT. If every new view needs a data request, it is a report, not a cube.
What are the dimensions of a spend cube?
A spend cube has three core dimensions: category, supplier and business unit, with time as a common fourth. Picture a cube. One edge lists your categories, another your suppliers, the third your business units. Every small block inside is the spend for one category, with one supplier, by one business unit. Add time and you can see how that block changes month by month.
| Dimension | Question it answers | Typical hierarchy |
|---|---|---|
| Category | What do we buy? | Category family, category, sub-category, item |
| Supplier | Who do we buy from? | Parent group, supplier, supplier site |
| Business unit | Who buys it? | Company, division, site, cost centre |
| Time | When did we buy it? | Year, quarter, month |
Most teams add a few more dimensions once the core works: region, currency, contract (on or off contract), payment terms and the sourcing event that set the price. Each new dimension multiplies the number of views, so add one only when someone has a question that needs it.
What can you measure in each cell?
Spend amount is the default measure, but it is rarely enough to decide anything. Store several measures for every cell:
| Measure | What it tells you |
|---|---|
| Spend amount | Money paid, in one reporting currency |
| Quantity | Units bought, where the unit of measure is consistent |
| Average unit price | Spend divided by quantity; the basis for price comparison |
| Number of POs and invoices | Transaction load; many small POs point to process cost |
| Number of suppliers | Fragmentation of a category or business unit |
| Share on contract | How much of the cell is bought at contracted prices |
What questions does a spend cube answer?
The value of the cube is that each question is just a different cut of the same data. A few examples, and the dimensions each one uses:
| Question | Dimensions used | What you do with the answer |
|---|---|---|
| Which suppliers do we use for corrugated boxes, and at what share? | Category, supplier | Consolidate and run an RFQ |
| Which sites buy IT hardware outside the framework contract? | Category, business unit, contract | Fix the requisition path for those sites |
| Is the same supplier charging our sites different prices? | Supplier, business unit, item, average unit price | Align to one contract price |
| How has freight spend moved by quarter this year? | Category, time | Check against volume and fuel index |
| Which categories have more than ten suppliers each? | Category, supplier count | Prioritise for consolidation |
| How much do we spend in a foreign currency? | Currency, category, supplier | Plan currency terms in the next negotiation |
How do you slice, dice and drill a spend cube?
Five operations cover almost everything you will do with a cube:
- Slice: fix one dimension to a single value. All spend in the packaging category, for example.
- Dice: fix several dimensions to a subset. Packaging and labels, at the two northern plants, in the last two quarters.
- Drill down: move from a total to the level below. From packaging to corrugated boxes to one item code.
- Roll up: move the other way. From supplier sites to the parent group, to see your real exposure to one company.
- Pivot: swap the rows and columns. Suppliers by site instead of sites by supplier.

How do you build a spend cube step by step?
- Run the spend analysis first. Extract, cleanse and classify invoice and PO data. Our guide to spend analysis covers this.
- Build one fact table. One row per invoice or PO line, with amount, quantity, date and keys to each dimension.
- Build the dimension tables. A category tree, a supplier table with parent groups, a business unit tree and a calendar. Each with its hierarchy levels.
- Map every fact row to every dimension. Lines with no category or no business unit go to an explicit "unclassified" member, never dropped.
- Reconcile the total. The cube total must match the ledger for the same period and entities. Show any difference with its reason.
- Define the measures. Spend, quantity, average price, counts. Write down how each is calculated.
- Choose the tool. A pivot table, a BI tool or a procurement analytics module, depending on data size and refresh needs.
- Set the refresh. Monthly at minimum. New suppliers and unclassified lines get reviewed each time.
The quality of the category tree decides the quality of the cube. Our article on spend classification covers how to design it.

What goes wrong with spend cubes?
| Problem | Cause | Fix |
|---|---|---|
| Large unclassified share | Free-text lines and GL accounts that are too broad | Classification rules by supplier and item code; review the remainder monthly |
| Same supplier counted as many | No parent group in the supplier dimension | Group by tax ID and add a parent level |
| Average price makes no sense | Mixed units of measure in one cell | Normalise units before loading; exclude lines without a unit |
| Totals do not match finance | Different period cut-off, missing entities, credit notes excluded | Reconcile every refresh and document the gaps |
| Nobody uses it | Built for analysts, not for category managers | Give each category manager a saved view of their own categories |
| Too many dimensions | Every possible field added at the start | Start with the core four and add on request |
Spend cube or dashboard: which do you need?
They do different jobs. A dashboard shows a fixed set of numbers that leadership reviews every month: total spend, savings, top suppliers. A cube is the data underneath that lets an analyst or category manager ask the next question. Most teams need both: a few stable dashboards fed by one cube. If your dashboard cannot be clicked into, you have the first without the second. The design of the monthly view is covered in our article on the procurement dashboard.
How does the spend cube work in Teradix?
In Teradix Spend Analytics, the spend cube is pre-modelled across category, supplier, business unit, region, currency, contract, source event and time. Requisitions, sourcing events, contracts and POs from Teradix map to the same dimensions as they arrive, and ERP data comes in through the Integration Platform while your ERP stays the system of record. You click a total to drill in, pivot without SQL, and trace any line back to its requisition, event, contract or PO. Reports export to PDF, Excel or CSV. Teams answer an ad-hoc spend question in 30 seconds.
Frequently asked questions
Is a spend cube the same as a pivot table?
A pivot table is one way to view a spend cube, and for a small dataset it may be enough. A full cube adds stable hierarchies, cleansed supplier groups, several measures and a regular refresh, so that the same structure serves every user and every month without being rebuilt.
How many dimensions should a spend cube have?
Start with four: category, supplier, business unit and time. Add region, currency, contract status or source event only when someone has a recurring question that needs them. Each extra dimension adds maintenance and makes the cube harder for occasional users to read.
What share of spend should be classified before the cube is useful?
There is no fixed threshold, but the largest categories and suppliers must be classified correctly before anyone acts on the numbers. Show the unclassified share openly in every view, and reduce it each month by adding rules for the biggest unclassified suppliers first.
Who maintains the spend cube?
One owner, usually a procurement analyst or excellence team, maintains the category tree, supplier groups and refresh. Category managers review their own categories and flag misclassified lines. Finance checks that the total reconciles with the ledger after each refresh.


