Article

# What belongs in the semantic layer, and what belongs in a settings screen

Some changes should need a pull request. Most should not. A three-tier split for governed analytics, and the product decision that sets where each change lives.

**Decision Foundry** · November 27, 2026 · 8 min read

Every team that builds a governed data chatbot runs into the same question a few weeks in. Someone asks for a small change:

- a new word for an existing metric
- a different fiscal year
- one extra column in a report

The answer is "that needs a deployment." The second time it happens, somebody suggests putting the whole thing behind a UI.

Both instincts are right, and the argument usually goes badly because nobody separates them. The semantic layer should be hard to change, and the things around it should not be. Deciding which is which depends less on architecture than on the kind of product you are building.

## Three tiers of change

A better split than "semantic layer versus UI" is three tiers, each with its own change rate and its own editors.

Three tiers with different change rates and different editors. The dots show how often each tier changes.

### The core: what a metric means

The core holds the definitions. Two examples:

- **Revenue** is the sum of net amount on the orders model. It is aggregated by order date and joins to customers through a customer key.
- **Return on ad spend** is conversion revenue divided by spend.

A definition also carries rules that nobody thinks of as part of it until they go wrong:

- **Additivity.** Whether the metric can be summed. You can add up spend, but you cannot add up a rate.
- **Units of change.** Whether a change is reported in percent or in percentage points.
- **Allowed dimensions.** Which dimensions the metric can be sliced by.

This tier changes a few times a year, through a pull request reviewed by someone who knows the data model. It is the same for every client, and that sameness is the point. The test is simple. If changing it for one client would make their revenue mean something different from another client's, it belongs in the core, and nobody edits it from a screen.

### The configuration: how one client uses the core

The configuration is everything about how one client uses the core:

- their own words for things
- their fiscal year and reporting currency
- which metrics they can see, since not every client buys every channel
- default filters, such as excluding test campaigns
- how many rows to show before an answer becomes a download
- the tone of the response

None of this touches a formula. A synonym does not change what revenue is. It only points at the name. A fiscal calendar does not change the measure either. It changes which rows fall into a quarter.

This tier changes weekly, and often daily during onboarding. It should never need a deploy.

### The exceptions: when a client needs different SQL

Exceptions are the cases where a client really does need different SQL. For example:

- a metric only they have, because only their data carries a qualification flag
- a revenue figure that leaves out a fee line nobody else has
- a funnel or retention model, which a metric layer cannot express at all

How often this tier comes up depends on your product. It is rare if the product is standardized, and constant if it is not. The rest of this article is about that difference.

## The examples that make it concrete

Tier two is bigger than most people expect. Everything below can be changed safely without a deploy.

Vocabulary

Several words can point at one metric. Turnover, top line and bookings can all mean revenue. EMEA can mean the Europe value of a region dimension. One client's reports may say "media investment" where the metric is spend.

Time and money

An April fiscal year changes what Q2 means. A week that starts on Monday instead of Sunday changes every weekly number on every dashboard. The reporting currency belongs here too.

Scope

Each client sees only the metrics they use. Roles can see different metrics, so the media team sees spend and finance sees margin. A standing filter can remove an internal test account.

Behavior

How sure the system must be before it answers, rather than asking a clarifying question. The row count at which a table becomes a download. How many rows it describes in a sentence before it switches to a table.

Four kinds of per-client configuration. Every one of them changes how an answer is labeled, filtered or shown, and none of them changes a formula.

## What actually decides the split

How much of your variation sits in tier two rather than tier three depends on how similar your clients are. That is a product decision, not a technical one.

### A standardized product

In a standardized product, every client's data lands in the same pre-modeled schema. The semantic layer is a constant.

Campaign analytics is a good example. Spend is spend, and impressions are impressions. The platforms differ, but the model you load them into does not. Onboarding a new client takes three things:

- a warehouse connection
- a source mapping
- a set of tier two settings

The semantic layer is not touched at all, and tier three comes up only a few times a year. This is where a configuration UI pays off quickly, because it does nearly all the per-client work.

### Bespoke solutions

In bespoke work, each client has a different warehouse, different source systems and different business definitions. The semantic layer is not shared. Each deployment has its own.

Here clients differ in the model itself. A UI for synonyms is still worth having as a convenience, but onboarding happens in the repo and is done by an engineer. Pretending otherwise only moves the complexity to a place where it cannot be reviewed.

The same three tiers, two very different products. How similar your clients are decides whether a settings screen does most of the onboarding or only some of it.

Teams get into trouble when they build for one case while running the other. A configuration screen that cannot express what a client needs is worse than no screen. People start putting definitions into synonym fields to work around it.

## Why the UI should not write SQL

The tempting idea is to let the UI write SQL. Give the operations team a text box, let them define a metric and ship it.

That undoes the reason a semantic layer exists. Its whole value is that no number comes from something unreviewed, untested or impossible to reproduce. A form that writes SQL without review brings that problem straight back, only with a nicer interface.

Two narrower tools work instead:

- **A restricted metric builder.** It combines existing certified metrics with arithmetic. Someone can create profit per click from revenue, spend and clicks without touching a table name.
- **A request flow for everything else.** The UI captures what is wanted and opens a reviewable change for an engineer to finish. Ops gets a tracked request instead of a Slack message. The engineer gets context. The change is still reviewed.

A builder over certified metrics and a request flow cover the same needs and keep review in place.

## A test you can apply

When something new needs to be configurable, ask three questions in order.

-

Does changing it alter what a number means?

**Yes** It is core. It belongs in version control, however inconvenient that is.

-

Does it differ between clients?

**No** It is core, even if it feels like a setting.

-

Does it change more often than your release cycle?

**Yes** It belongs in the configuration tier, on a settings screen with an audit trail.

The three questions, in order. Only something that passes all three becomes a settings screen.

So anything that does not change a meaning, does differ between clients and changes faster than your releases belongs on a settings screen. Most of what people want to change turns out to be exactly that, which is good news. The formulas stay where they can be reviewed, and the hundred small things that vary per client stop needing a deployment.

## See it on your own warehouse.

We will map your models to definitions and show where the gaps are.

[Book a demo](https://memosight.com/index.html#contact)

## Keep reading

[

Article10 min read

### Semantic, vector and graph: what each layer is for

Each layer answers a kind of question the other two cannot. Where each one earns its place, what it is bad at, and the order to build them in.

Read article

](https://memosight.com/resources/three-layers.html) [

Article8 min read

### The model is guessing at raw tables

Text to SQL on a warehouse returns confident numbers that nobody can verify. Here is why it happens, what a semantic layer changes, and what it still does not fix.

Read article

](https://memosight.com/resources/model-is-guessing.html)

---
Source: https://memosight.com/resources/semantic-layer-vs-settings-screen.html
