Skip to content

What is an OLAP Cube?

When working with RevoGrid Pivot, you will often hear the term OLAP (Online Analytical Processing) or OLAP Cube. While the name sounds complex, the concept is fundamental to modern business intelligence.

In a traditional spreadsheet, data is 2-dimensional (Rows and Columns). In an OLAP Cube, data is Multidimensional.

Think of a “Cube” where each side represents a different category (a Dimension):

  1. Product (what we sold)
  2. Time (when we sold it)
  3. Geography (where we sold it)

Inside the cube, at the intersection of these three dimensions, lies the Measure (e.g., Sales Amount).

By “rotating” this cube, you can view the data from any angle. In RevoGrid Pivot, this “rotation” happens when you move fields between the Rows and Columns axes.

Interactive example

OLAP concepts

Slice, dice, drill and rotate the same analytical data

The example loads when visible.

OLAP cubes are designed to support four primary analytical operations, all of which are supported by RevoGrid:

Slicing is like taking a single “slice” of the cube.

  • Concept: Picking one value for a dimension.
  • Example: “Show me sales only for the Year 2024.”
  • In RevoGrid: This is achieved through Filtering.

Dicing is like cutting a smaller “sub-cube” out of the big one.

  • Concept: Picking specific values across multiple dimensions.
  • Example: “Show me sales for Electronics in the North Region during Q1.”
  • In RevoGrid: This is achieved by combining filters and row/column grouping.

Moving through the levels of a hierarchy.

  • Concept: Going from summarized data to detailed data (Drill-Down) or back (Drill-Up).
  • Example: Looking at sales by Year, then clicking to see Quarters, then Months.
  • In RevoGrid: Enabled via the collapsed property in Drill-Down.

Changing the orientation of the axes.

  • Concept: Swapping Rows and Columns to see the data differently.
  • Example: Moving “Region” from the Row axis to the Column axis to compare regions side-by-side.
  • In RevoGrid: Performed via the Configurator or by updating the rows and columns arrays in your code.

A cube is a way to describe analytical questions across several fields. It does not require a particular database, and it does not guarantee that results are precomputed.

ViewWhat it containsExample
Source recordsIndividual eventsEvery order with Region, Product and Sales
Pivot reportGrouped summariesTotal Sales for each Region and Quarter
Analytical backendA service that calculates the requested summariesYour authorized SQL or OLAP endpoint

SQL engines can calculate grouped summaries directly. Dedicated analytical engines may add precomputation or specialized storage. Performance depends on the data, query, indexes and backend design; the label “cube” alone does not make a query faster.

RevoGrid displays and lets users explore the analytical report.

  • Client-side: Pivot groups an array of source records in the browser.
  • Server-side: Pivot sends the report request to your application API. Your backend authorizes the request and calculates the summaries using its chosen engine.

Use the server-side introduction for a first connection, then the remote contract for the request and response. An adapter connects your service to that contract; naming a database is not an out-of-the-box integration.

Return to Prepare Your Data for local reports, or continue with server-side setup when calculation belongs on your backend.