What the Map View canvas is for
The Semantic Model → Map tab, whose tooltip reads Map View, is the picture of your model: each table you have brought in, drawn as a box of its fields, with a line for every join between them. The editor opens on it because it answers the first question about a model you did not build — what is in here, and what is joined to what.
It is also where the structural work happens: tables arrive here, joins are drawn here, and a measure or dimension can be started from the field it reads.
What you are looking at
Section titled “What you are looking at”
Map View draws each table as a box of its fields, with a line for every join between them, labelled with its cardinality. The three buttons at the top left open the database browser, the dimensions and the measures.

Searching dims everything that does not match and counts the fields and tables that do; Fit matching tables, or Enter, brings them into view.

Table actions on a box header opens the rest of what you can do to that table, from how much of it is drawn to changing its source or removing it.

Add is the one way into everything the model can hold, in four sections: data to bring in, the semantic model, business context, and governance.
A table box carries the table’s name and its fields, with key fields marked and small badges showing where a field is already used — as a dimension, in a measure, in a pre-filter, or under a security rule. Select a badge to open the thing that uses the field. Select a table to open its details, select a join line to open the join, and select empty canvas to clear the selection.
A layer with nothing in it yet says Start with the tables your questions need, offers the Add menu’s Data entries as tiles, and has Add data, which opens the same database list.

Bring tables and model items in
Section titled “Bring tables and model items in”Add opens one menu for everything that can go into the model, in four sections.
- Data — Tables & Views opens the database browser, Upload a CSV file turns a file into a table, and Custom SQL Query and Inline table are the two kinds of data kept in the model itself rather than read from your warehouse. A custom SQL query can take parameters.
- Semantic Model — Join, UDF, and Custom field, which first asks which table the field belongs to. Add a custom field covers what it can hold.
- Business Context — Dimension and Measure, each opening a list of the kinds you can create.
- Governance — Security Rule.
The menu only offers what your connection supports. Custom field is left out where the data source cannot carry one, so a shorter menu is not a broken one. Whichever editor opens, it submits with Create.
Security Rule is the odd one out: it opens no editor. It is headed Show each person only their own rows, because a rule is a condition on a table’s pre-filter rather than an object of its own — see Restrict rows with a security rule.

Three buttons float over the canvas. Browse tables & views opens the database list; the two beside it browse the dimensions and measures already in the layer, each with a count.

Parameters in a custom SQL query
Section titled “Parameters in a custom SQL query”A custom SQL table can take values instead of hard-coding them. Write a {name:type} token where
the value belongs, and the table’s panel lists it under Parameters with an input for its
default:
SELECT * FROM users WHERE age > {min_age:int} AND status = {user_status:string}
The types are string, int, float, boolean, date, int_list and string_list, read in
any case, so {n:INT} and {n:int} are the same parameter. A name starts with a letter or an
underscore. The same token used twice is one parameter. Until the statement has a token, the
section reads No parameters detected.
Every parameter needs a default. The value is substituted into the SQL, so an empty one would
make the statement invalid or quietly wrong, and saving is refused with
Set a default value for SQL parameter "min_age" before saving. The default must fit the type: a
whole number for int, true or false for boolean, a real date written YYYY-MM-DD for
date, and comma-separated values for the two list types. Validate SQL and
Run SQL preview run the statement with these defaults, and so does the check for upstream
changes.
A parameter belongs to the table, not to the place that mentions it. A custom SQL field on the same table can use the same token, and it is the same parameter, with one type and one default. Declaring it again with a different type is refused, because it would change the parameter for everything that reads it.
A query that does not set a parameter runs with its default. An assistant connected over MCP can set one for a single query; see the tool reference.
A custom SQL table has no Pre-filter section, so a security rule cannot be added to it; see Where a rule cannot go.
Draw a join
Section titled “Draw a join”Drag from a field in one table and drop it on a field in another. The canvas hints as you drag, and if the drop is refused it says why rather than quietly doing nothing. Dragging a whole table onto another asks for join suggestions between the two instead.

A dropped field makes a many-to-one join from the table you dragged from, matching the two fields with =. Dropping another pair of fields between two tables that are already joined adds a condition to that join rather than drawing a second one. Which way a join should point, and how to check it returns the rows you expect, is covered under join direction and quality.
Suggestions reads your model and proposes measures, dimensions and joins; Get suggestions from your data covers what it offers.

Join on more than one field, or on a range
Section titled “Join on more than one field, or on a range”Select a join line to open the join. Its Fields section lists one condition per row, a field from each table with a comparator between them, and a row only matches when every condition holds.
- Add field adds another condition, for a key made of more than one column.
- The comparator symbol between the two fields, whose tooltip reads Change comparator, opens a choice of =, ≠, >, ≥, < and ≤, for a join that is not an exact match.

Update saves the change. A join started from Add → Join offers the same rows, and saves with Create. A range join is how a list of dates meets records that have a start and an end: join Opportunity to Calendar on Created Date ≤ Date and Close Date ≥ Date, and each date matches every opportunity open on it. Set Cardinality to Many → Many as well, since each opportunity spans many dates; the editor asks you to confirm with Set many-to-many, and join direction explains what that choice costs.
Find something on a large map
Section titled “Find something on a large map”The search box above the canvas matches table names, table sources and fields, highlights matching names, dims every table with no match, and counts what it found. Fit matching tables, or Enter, brings the matches into view.

When part of the model is off screen, a minimap appears over the canvas; drag inside it to move your viewport.
Arrange the map
Section titled “Arrange the map”The toolbar at the top right of the canvas holds how the map is drawn. Reading left to right: Reset zoom to 100%, Zoom out, the zoom percentage — which you can select and type an exact value into — Zoom in, Fit all tables, and then Auto-layout (star schema), which rearranges every table into a star around its facts.
The toolbar starts open. Close at its right puts it away, and Layout settings brings it back; whichever you chose is remembered for that semantic layer. The minimap carries its own Fit all and zoom buttons only while the toolbar is closed, so the two never offer the same control twice.

![]()
The display mode applies to every table at once — Expand all, Collapse all or Keys only — and Join line style draws the lines as Straight, Curved, Elbow or Step.
Moving a table is a change to the model. Positions are stored in the layer, so your arrangement is part of the draft and reaches everyone else when you publish. Save current layout saves a version you can come back to, and Reset layout to previous saved state puts every table back where it was when you opened the layer or last saved a layout — which is also the way back from an Auto-layout (star schema) you did not want.
Look at the rows
Section titled “Look at the rows”Data Preview opens a panel of sample rows along the bottom. Select a table on the canvas, or the Preview data button on its header, to fill it.

Data Preview reads the published model, not your draft. While your draft holds changes that have not been published, the panel says Publish to preview and offers Publish and preview. Like Suggestions, it is available only for a connected Astrato semantic layer.

What a table’s menu offers
Section titled “What a table’s menu offers”Table actions on a table’s header opens the rest of what you can do to it: Collapse, Show more and Show all fields for how much of the table is drawn; Toggle table drag, which pins it where it is and then reads Unlock table drag; Duplicate table, View/Edit table and Show in lineage; New custom field and New custom SQL field, both covered in Add a custom field; Change table source; Show in Tables & Views, which opens the database list at that table; and Remove table.
A field has the same idea in Field actions, or on right-click: Add dimension, Add measure, Show in lineage and Remove field. Show in lineage appears only where that table or field is in the lineage graph.

Keep only some of a table’s rows
Section titled “Keep only some of a table’s rows”A pre-filter is a condition on a table that every query reading the table applies first, so a model built for one region or one year never carries the rest. It is part of the table, not of any one question. It restricts that table alone: rows of the tables joined to it are still counted, as A table pre-filter shows.
Before you start: open the semantic layer with the table already on the map. An inline table and a custom SQL table have no Pre-filter, since a custom SQL statement carries its own filtering.
- Select the table on the canvas, or choose View/Edit table from its Table actions.
- Expand Pre-filter in the table’s panel. It starts collapsed, with one blank condition reading New filter — click to edit.
- Select the condition, then choose one of this table’s fields, an operator and a value. Add filter adds another condition and Add group a nested group. Conditions in a group must all hold, which the AND badge beside the group shows; select the badge to switch the group to OR, which keeps a row when any condition holds.
- Select Update.

The Write a security rule walkthrough steps through the same section. A condition compared with a value you type in restricts everyone alike; one compared with a user attribute is a security rule.
The table’s header then carries a funnel whose tooltip reads Pre-filter active, and Pre-filter counts its conditions. Open the section again to change them. Update stays disabled while a condition is missing its value.
Apply as global data reduction, at the foot of the section, makes the filter reach every table joined to this one as well; Reach the tables the rule does not name explains it and its Strict option.
Next: Working in the Semantic Layer Editor, for how your edits are saved and how they reach your workbooks.