Skip to content

The semantic layer, explained for product teams

1 min read

Two dashboards show active users. They disagree by eleven percent. Both queries are correct. This is the problem a semantic layer exists to solve.

Definitions, not data

A semantic layer is where a metric is defined once — the table, the filters, the window, the edge cases — so every chart that uses it inherits the same definition instead of re-implementing it.

metric: active_users
  from: events
  where: event_type = 'session_start'
  distinct: user_id
  window: rolling_28_days
A metric defined once, used everywhere.
“Nobody stopped trusting the dashboards because the data was wrong. They stopped because two of them were right in different ways.”

Why it matters more with AI

An AI assistant answering questions about your data needs to know what your columns mean. A semantic layer is that map. Without one, the model guesses, and it guesses confidently.

FAQ

Frequently asked questions

What is a semantic layer?

A layer between raw data and dashboards where business metrics are defined once — the source table, filters, time window and edge cases — so every chart and query computes them identically.

Do we need a semantic layer for AI analytics?

It helps considerably. An AI assistant answering data questions needs to know what your fields mean; a semantic layer provides that definition instead of leaving the model to infer it.

Written by

GOAT IQ Team

Product & Engineering

We build customer-facing analytics for product teams: connect your data, embed the experience, and ship without the analytics stack becoming your product.

From the team behind the post

Ship analytics in days, not quarters.

Google Cloud Native

Beta launching soon on Google Cloud Marketplace.

Get on the Waitlist

Keep reading

Strategy

Embedded analytics: build vs. buy, honestly

Building dashboards is the easy part. The decision is really about everything around them — tenancy, permissions, embedding, and the maintenance that never ends.

3 min read