In November Microsoft added semantic views to Fabric as a preview. Snowflake has semantic views too, and Databricks has metric views. The names differ slightly, but the idea is the same: store tables, relationships, dimensions and metrics as definitions in the data platform, so a Power BI report, a SQL query and an AI agent all calculate "revenue" the same way. Here is how each works and how to start.
Why every platform is shipping them
Metrics used to live inside BI tools: a DAX measure in Power BI, a calculated field in Tableau. That works while people only look at reports. Now AI agents write SQL, chat assistants answer questions and notebooks need the same numbers. If "revenue" is defined only inside one report file, every other tool has to guess. A semantic view moves the definition down to the platform, where every tool can read it. Our guide to semantic layers for AI agents covers the wider idea.
The three side by side
| Fabric semantic views | Snowflake semantic views | Databricks metric views | |
|---|---|---|---|
| Status | Preview (November 2026) | Generally available | Generally available |
| Where it lives | Definition files in a lakehouse in OneLake | A schema-level object in Snowflake | A view in Unity Catalog |
| How you write it | Authoring in Fabric, stored as YAML files | SQL: CREATE SEMANTIC VIEW | YAML inside CREATE VIEW ... WITH METRICS |
| How you query it | Through the generated Direct Lake model (DAX, Power BI) | SELECT * FROM SEMANTIC_VIEW(...) | MEASURE(metric) in SQL |
| Used by AI | Data agents, Microsoft Copilot | Cortex Analyst and Cortex agents | Genie |
| Sharing | OneLake shortcuts to the view folder | Grants, data sharing | Unity Catalog grants, Delta Sharing |
Snowflake: a semantic view in SQL
A semantic view names its tables and keys, the relationships between them, and the facts, dimensions and metrics built on top:
CREATE OR REPLACE SEMANTIC VIEW sales_sv
TABLES (
orders AS shop.public.orders PRIMARY KEY (order_id),
customers AS shop.public.customers PRIMARY KEY (customer_id)
)
RELATIONSHIPS (
orders_to_customers AS orders (customer_id) REFERENCES customers
)
FACTS (
orders.order_amount AS amount
)
DIMENSIONS (
customers.customer_region AS region,
orders.order_month AS DATE_TRUNC('month', order_date)
)
METRICS (
orders.total_revenue AS SUM(orders.order_amount),
orders.order_count AS COUNT(orders.order_id)
);
SELECT * FROM SEMANTIC_VIEW(
sales_sv
DIMENSIONS customers.customer_region
METRICS orders.total_revenue
);You ask for dimensions and metrics; Snowflake writes the joins and the GROUP BY. In November Snowflake made materializations generally available for faster queries and added many-to-many relationships in preview, as covered in our Snowflake November update.
Databricks: a metric view in YAML
A metric view wraps a YAML definition in a SQL statement. Dimensions and measures are expressions over one source table, and joins can be declared in the YAML too:
CREATE VIEW main.sales.orders_metrics
WITH METRICS
LANGUAGE YAML
AS $$
version: 1.1
source: main.sales.orders
dimensions:
- name: Region
expr: region
- name: Order month
expr: DATE_TRUNC('MONTH', order_date)
measures:
- name: Revenue
expr: SUM(amount)
- name: Orders
expr: COUNT(1)
$$;
SELECT `Order month`, MEASURE(Revenue) AS revenue
FROM main.sales.orders_metrics
GROUP BY ALL;The MEASURE() function makes ratios safe: a measure such as average order value is recalculated at whatever level you group by, instead of averaging averages. Genie spaces and AI/BI dashboards can use metric views directly.
Fabric: semantic views in OneLake (preview)
Fabric's version is the newest. You create a semantic view in a lakehouse, describing datasets, relationships, business metrics and their meaning. When you publish it, Fabric creates a managed, read-only Direct Lake on OneLake semantic model, which Power BI reports and data agents use like any other model.
What to know about the preview
- Lakehouses only
- In this preview, semantic views can only be created in lakehouses.
- Definitions, not data
- The view stores definitions; each team supplies its own data and publishes the view in its own lakehouse.
- Sharing
- Share a view folder through OneLake shortcuts, without copying its YAML.
- Permissions
- You need Write permission on the lakehouse and Contributor or higher on the workspace; the generated model inherits access from the lakehouse.
- Limits
- The generated model is read-only: Power BI Desktop can connect to build reports but not edit it, and XMLA endpoint access is not supported.
- Costs
- Definition files use OneLake storage; queries use the normal Direct Lake meters.
How to start
- 1
Pick five metrics
Choose the numbers people argue about most: revenue, active customers, margin, churn, orders.
- 2
Write the definitions in plain English first
Which table, which filter, which date, which currency.
- 3
Build one semantic view
On whichever platform holds the data, with only those five metrics.
- 4
Point one report and one agent at it
Check that both give the same answer to the same question.
- 5
Retire the copies
Remove the duplicate calculations from reports once the view is trusted.
Check your understanding
1/3What does a semantic view store?
The data stays in the tables; the view describes how to use it.
2/3How do you query a Databricks metric view?
MEASURE() recalculates each measure at the level you group by.
3/3What does publishing a Fabric semantic view create?
Reports and data agents then use that generated model.
You got 0 out of 3.
More: star schema data modelling, the Power BI November update and Snowflake vs Databricks for AI agents.
Sources: Microsoft Learn "Semantic views (preview)" (updated 17 November 2026) and the Power BI November 2026 feature summary; Snowflake documentation for CREATE SEMANTIC VIEW and its November 2026 release notes; Databricks documentation for metric views. Check each platform's documentation for the exact syntax supported by your version.
