Level 2: AI layer

What the model reads

The semantic catalog: what the AI should see instead of your schema.

Point an AI tool at the warehouse and it reads hundreds of cryptic columns. Point it at a catalog and it reads a few governed metrics, their dates, their dimensions and the rules.

Updated November 2026Example data, not from a client.
On this page
  1. What the model sees is the prompt
  2. Write the catalog
  3. Small at scale, not always small
  4. Where it lives in Power BI
  5. Test what it can't see
  6. What I check

An AI tool can only work with what it's shown. Show it your warehouse schema and it sees columns named amt, dt1 and flag_2, with no idea which one is revenue, which date counts, or which tables must never be joined. Every question becomes a guess about meaning.

A semantic catalog is the alternative: a short, reviewed description of what can be asked. It's guide 4's naming and description pass, aimed at the model instead of a person scrolling a field list.

What the model sees is the prompt

Diagram · The semantic catalog: what the AI should see instead of your schema

The semantic catalog: what the AI should see instead of your schema Top: raw DDL for a made-up warehouse, with column lines such as tbl_017.amount_rate_4 DECIMAL(18,4), 840 columns in 40 tables, measured at 10,100 tokens. A funnel labeled names, descriptions, hidden fields and AI data schema narrows it to a catalog: metrics such as net_revenue on reporting_date and net_revenue_by_booking on accounting_date, 10 more metrics, 15 dimensions and two rules (a period is required; term amount is not revenue). The 12 metrics plus the tool schema measured 550 tokens. A to-scale bar compares 10,100 and 550. Counts measured with tiktoken o200k_base on made-up DDL. Example data, not from a client. WHAT THE AI SEES: RAW DDL tbl_017.amount_rate_4 DECIMAL(18,4) tbl_017.dt1 DATE tbl_017.flag_2 CHAR(1) tbl_018.amt DECIMAL(18,2) tbl_018.cust_ref VARCHAR(20) … 835 more columns, 40 tables 840 columns 10,100 tokens names · descriptions hidden fields · AI data schema WHAT THE AI SEES: CATALOG net_revenue reporting_date net_revenue_by_booking accounting_date … 10 more metrics dims: customer, product, month … (15) rule: a period is required rule: term amount is not revenue 12 metrics + tool schema 550 tokens TO SCALE 10,100 550 Measured with tiktoken (o200k_base) on made-up DDL. Your schema will differ. Example data, not from a client.
Raw DDL grows with every column. A catalog of governed metrics stays short. Token counts measured on made-up DDL; measure your own. Example data, not from a client. Open full size

Everything a model reads competes for its attention. Raw DDL tells it what columns exist. It doesn't say that amount means two different things in two tables, that reporting_date and accounting_date answer different questions, or that a period is required. A catalog says exactly those things, and leaves out the staging tables, load timestamps and helper columns nobody should query.

Write the catalog

For one subject area, write: each governed metric with a one-line meaning and its date, the dimensions it can be cut by, and one rule per line. Here's the full catalog for the example model:

Metrics (name: meaning; date; dimensions)
- net_revenue: recognized revenue incl.
  adjustments; reporting_date; customer,
  product, month
- net_revenue_accounting: the same entries
  by accounting date; accounting_date;
  customer, product, month
Rules
- A period [start, end) is required. There
  is no default period.
- Contract terms are never revenue. Never
  sum a term amount as revenue.
- Each answer comes with a status. Report
  the status; never fill in a withheld
  value.

Every line traces back to something earlier in this series: the concept cards from part 1, the typed keys from part 2, the contract and statuses from part 3. The catalog doesn't invent meaning. It packages meaning that was already reviewed and signed.

Two habits keep it useful. Name metrics so the date is part of the name when there's more than one, so the model never has to guess. And write rules as instructions the model can follow (“never sum a term amount as revenue”), not as background it might ignore.

Small at scale, not always small

It's tempting to sell the catalog as a way to send fewer tokens. On a tiny model it isn't. I counted both versions with tiktoken:

Token counts
What the model readsTokens
Raw DDL, the four example tables68
Catalog for the example, above119
Raw DDL, made-up warehouse: 40 tables, 840 columns10,100
Catalog for that warehouse: 12 metrics, 15 dimensions, plus the tool schema550

Counted with tiktoken (o200k_base) on example data. Other tokenizers and tool formats give different counts. Example data, not from a client.

On the four example tables, the catalog is longer than the DDL. Four short CREATE TABLE statements don't take many tokens. The catalog takes more because it carries the meaning the DDL leaves out.

At warehouse scale the picture flips. Raw DDL grows with every column: about 12 tokens per column in the made-up warehouse I generated. The catalog grows with the number of governed metrics and dimensions you choose to expose, not with the size of the warehouse. 840 columns came to 10,100 tokens; the catalog for the same made-up warehouse, with its tool schema, came to 550.

Those are my counts on made-up DDL with synthetic names. Real DDL with longer names and comments can run to more tokens per column. Measure your own before you quote a number. Part 8 goes through where the rest of the tokens go.

Where it lives in Power BI

Power BI groups its controls for this under Prep data for AI Preview. Three pieces map onto the catalog:

  • AI data schema. A subset of fields for Copilot to prioritize. That's the catalog's metric and dimension list.
  • AI instructions. Business context and rules written on the semantic model. That's the catalog's rules.
  • Verified answers. Approved visuals tied to trigger phrases. That's tier 0 in part 5.

One prerequisite to watch: these features require Q&A to be enabled on the semantic model, and Microsoft has announced that Q&A experiences are going away in February 2027. Check the current docs before you build a process around it.

In dbt, the semantic models and metrics from parts 2 and 3 already hold the catalog: names, labels and descriptions that tools reach through the Semantic Layer or the dbt MCP server. Write those descriptions for a reader who has never seen your warehouse.

Test what it can't see

Microsoft's own test for the AI data schema is a good habit anywhere: ask a question about a field you left out. Copilot shouldn't answer it. Then ask about a field you kept, and it should.

I add one more: ask the reference question from part 3, April 2025 revenue for C-001 and P-01, and confirm the answer is 100.00, using the reporting date. If the tool picks the accounting date, the catalog didn't make the default clear enough.

What I check before an AI tool reads a model

  1. Is there a written catalog of governed metrics, each with a meaning and a date?
  2. Are the rules written as instructions, one per line?
  3. Are staging tables, keys and helper columns left out of what the tool can see?
  4. Does a question about an excluded field get no answer, and the reference question get 100.00?

Show the model the meaning, not the plumbing.

About to put AI on a Power BI model?

I review one model, fixed scope, and tell you what to fix first.

See the model review

Related