Skip to content

Create a semantic layer

3 min read · Updated 23 Oct 2026

In Data & AI → Semantic Layers, select Create at the right of the toolbar. The menu is shown if you can create content, and it offers four ways to start a layer:

The Create menu open, listing New Semantic Layer and Duplicate existing Semantic Layer under Create, and Snowflake Semantic View and Semantic Layer (YAML) under Import

Section Entry What you get
Create New Semantic Layer An empty layer on the data connection you choose.
Create Duplicate existing Semantic Layer A copy of a layer you can edit.
Import Snowflake Semantic View A layer built from a Snowflake semantic view. Listed only when your workspace has a Snowflake connection.
Import Semantic Layer (YAML) A layer built from a file exported from the editor’s Developer View.

Each entry opens a panel beside the list. Only one panel is open at a time.

  1. Select Create, then New Semantic Layer.
  2. Choose the Datasource the layer reads from.
  3. Optionally enter a Name. Left empty, the layer is called Untitled followed by the date, the time and your name.
  4. Select Create. The empty layer opens in the editor, ready for tables, joins, dimensions and measures.
  1. Select Create, then Duplicate existing Semantic Layer.

  2. In Semantic layer to copy, choose the layer. The list holds the layers you can edit.

    The Duplicate semantic layer panel with the Semantic layer to copy list

  3. Select Duplicate.

The copy has everything the original has, its business questions included, on the same data connection. Astrato names it after the original with the time it was made, for example Sales-copy (2026-10-19 13:15:00). The copy appears in the list with its properties open, so you can rename it straight away.

You can also duplicate a layer from the actions menu on its row.

Select Create, then Snowflake Semantic View, choose the Snowflake connection and the semantic view, and review what comes across before you select Import. See Import a Snowflake semantic view for the steps and for what the warnings mean.

The Import Snowflake semantic view panel with Datasource, Semantic view and optional Name fields

The entry is listed only when your workspace has at least one Snowflake data connection.

Use this to bring in a layer exported with Export YAML or Export JSON in the editor’s Developer View, for example to make a layer in another workspace from a saved file.

  1. Select Create, then Semantic Layer (YAML).

  2. Drop the file on the panel, or select the panel to browse for it. YAML and JSON files are accepted. The panel shows what the file holds: its tables, joins, dimensions, measures and business questions.

    The Import semantic layer panel with a file drop area, a Datasource list and an optional Name field

  3. Check the Datasource. The connection the file was exported from is chosen for you when your workspace has it; otherwise choose one. On a different connection, the layer looks for the file’s tables there, so check its sources once it is made.

  4. Optionally change the Name. It defaults to the name in the file. If another layer already has that name, Astrato adds a copy suffix.

  5. Select Import. The new layer opens in the editor with the file’s whole model, business questions included.

The file is checked before anything is created. A file that is not valid YAML, or that does not hold a semantic layer in the format Developer View exports, is refused with the problems listed. An Apache Ossie export is a different format and cannot be imported here.

An AI assistant connected over MCP creates an empty layer or a copy of one with astrato_semantic_layer_create, and imports a Snowflake semantic view with astrato_semantic_layer_import_snowflake_view. There is no MCP tool that takes a YAML file. See Semantic layer workflows.