Define your metrics in one data model to unify insights

Defining mission-critical business metrics inconsistently leads to miscommunication, misalignment, and error. Keep everyone on the same page with data modeling upstream of every app.

Data ModelingData Modeling
Access ControlAccess Control
Centralized Caching and Data PerformanceCaching
APIsAPIs

Centralize your data models upstream, so that you only have to define them once

Whether you’re building an internal application, a dashboard, or an embedded analytics application, ensure they’ll all be powered by consistent data—and skip manually orchestrating metrics for each presentation layer. Combined with Cube’s advanced caching and pre-aggregation capabilities, this ensures that every downstream app stays updated with the latest information—cost-effectively and with low latency.

Reduce time-to-value with development tools

Cube Cloud enables team collaboration and rapid data model prototyping with a development toolkit that includes Data Model IDE, Cube Copilot, Playground, Development Mode, and more. Reduce time authoring and debugging the data model—and more time with your actionable insights.

Turn clicks into code within a shared workspace

Choose between the original code-first approach and visual data modeling with Cube's Visual Model Editor. Define data models collaboratively among data engineers and data analysts, bringing diverse perspectives to the table. Create and modify cubes and views, joins, relationships, dimensions, and measures visually.

How does the Cube data modeling technique work?

Building Your Data Model

Cube is a dataset-oriented semantic layer. When building your data model, you’ll deal with two types of objects: cubes and views.

Cubes represent business entities such as customers, line items, and orders. In cubes, you define all the hierarchies, calculations, and folders using dimensions and measures.

All cubes within your data model constitute your data graph.

  • YAML
  • JS
views:
- name: active_users
description: 14 days rolling count of active users
includes:
# Measure
- users.rolling_count
# Dimensions
- users.is_paying
- users.signup_date
- name: company.name
alias: company_name

Views expose slices of your data graph.

You have full control over which measures and dimensions are exposed to BIs or data apps and the direction of joins between exposed cubes.

Cube’s core data modeling concepts can be easily grasped by former Looker users, familiar with LookML syntax.

  • YAML
  • JS
views:
- name: active_users_view
public: COMPILE_CONTEXT.security_context.is_finance
cubes:
- join_path: active_users
includes:
- weekly_active
- time
- join_path: accounts
includes:
- pricing_plan

Data Modeling - Two Types of Objects

Canvas, formerly known as Data Graph, visualizes cubes and views with joins and relationships between them as an entity-relationship diagram (ERD). Get a a bird's-eye view of the data model, with the added capabilities of adding and modifying them visually.

Canvas - Improve collaboration across teams, while modeling your data visually

Ready to upgrade your data stack?

Check out the rest of Cube's four-part semantic layer

Data APIs

Make your data accessible and your stack compatible.

Read More

Data Access Control

Robust governance begins with centralized permissions management.

Read More

Caching and Data Performance

Rely on uniformly performant data with centralized caching.

Read More

Related Case Studies

See Cube's data access control in action