Loading the documentation…

Design a model with the Warehouse Builder

A new semantic model can be designed for you in a chat with the Warehouse Builder Mind: you answer one batch of questions, approve one design card, and an empty model is created with the choices you approved. This page covers that design stage, the checks that must pass before the model is created, and the handover to Model AI; the build that fills the model follows, and is on Model Builder.

Ask for a design

  1. Open a chat with the Warehouse Builder Mind. Admins reach it, and so do members of its permission groups who hold View Warehouse Objects and Create/Edit Warehouse Objects; see Warehouse Builder and Lake Builder. Asking for a model needs the Create DataPrism Semantic Models and Use DataPrism AI permissions, and approving the design needs the admin role. See Who can do what in DataPrism.
  2. Describe the model you want: which questions it should answer and which charts it should serve. You can also type /star-schema, whose description reads "Use the Star schema skill: design and build a semantic model"; it joins your message as a Star schema pill.
  3. The chat loads the Star schema skill, the playbook the builder follows, and the transcript shows a chip reading Using: Star schema v1. When the builder loads a deeper part, the chip adds it, for example Using: Star schema v1 · Warehouse Builder steps; a chip for a skill already in the chat reads Star schema v1 already loaded. The tooltip reads "A DataMind playbook shipped with this platform version".
  4. The builder explores the Lake and Warehouse tables it needs, then asks its questions in one batch. Answer them in the chat.
  5. It proposes one design card, headed Semantic model design. Review it, set your choices and decide it, as below.
Note

The design card is the single consent for the build. It carries the owner role, the data mode, the history depth, the plan policy, the change policy and the control totals, and nothing is built from the design until you approve it. The card asks in every acceptance mode: a chat set to apply changes automatically still stops for it. It arrives on its own, and the chat resumes when you decide.

What the builder asks you first

The builder asks once, and only what it cannot work out itself. Each question offers concrete choices, and you can always type your own answer. The batch covers:

When one model cannot serve everything

A DataPrism model has exactly one fact table, and a dashboard reads one model, so some questions cannot share one model. Before building, the builder says so in the card's What this model cannot serve section, which starts "These questions cannot be answered correctly by one semantic model:", lists the questions and recommends the models and dashboards to build instead. Each leftover entry is grouped as Needs a warehouse change, Needs a separate model or Not possible in DataPrism today, with the reason and a Recommendation:.

What a design may hand over

The limits on one design

Read the design card

The header names the model and its description, shows who asked with Requested by, and carries a session id you can copy with Copy session id. While the card waits for you, its status pill reads Needs your approval; after you decide, it reads Approved or Rejected. The sections below it, in order, each expand and collapse:

For every section, field and control, see The semantic model design card.

Decide the design card

  1. Set the choices. The Owner role options are the roles the requester holds; admin is offered only when nothing else fits, and an admin-owned model ignores warehouse row-level security unless row-level security is added on the model. The data mode appears only when the design needs it, and each option states how many personal data columns it covers. History depth shows each option with its numbers.
  2. If the red Row-level security will not apply callout appears, tick I understand. Changing the owner role clears the tick, so tick it again after you settle on a role.
  3. Click the approve button. Its label carries your choices: Approve · owner role · data mode · history option. To send the design back instead, click Reject with a note, write why and confirm; the note stays on the card as Rejection note:, and the builder can propose a corrected design.

A few things to know:

Before the model is created

On approval, the builder builds the objects the design lists and proves them, checking the load against your control totals. The model is then created only when all four checks pass. In order:

  1. Every approved object is built and deployed. A missing object is refused with "X" is not built yet. Build every approved object first.; an object that exists but is not deployed is refused with is not deployed. Deploy it, and the builder tries again once it is deployed. Deploy the table from its Settings tab (Deploy, run, truncate and monitor tables).
  2. The owner role reaches every object. When the owner is a business role, a card titled Grant role access arrives: add the role under Permission Groups on each object (Warehouse permissions and row-level security) and click I've granted them, check again. The admin role reaches every object without a grant, so its check finishes straight away, but an admin-owned design hands over views only: Owner role admin needs views over every handed-over table. See Access checks and Model AI handoff.
  3. Row-level security is acknowledged. If a handed-over object reads a table whose row-level security the model does not apply, tick I understand on the card. A warning that the card could not show sends the design back for a new proposal.
  4. Personal data is marked. A handed-over view that projects personal data must carry its mark before the model can be created: the builder reports that the column carries no PII mark, so every report on this model would show it in clear, marks it after you ask in the same chat, and the check re-runs.

Create the model

Hand over to Model AI

When a decision is refused

A decision that fails leaves the card pending, shows the reason under the buttons and adds an Approval failed toast (a failed rejection reads Rejection failed). The sentences come from the platform, for example:

Questions, answered

What do I need before I can ask for a model?

A chat with the Warehouse Builder Mind and the Create DataPrism Semantic Models and Use DataPrism AI permissions. Admins reach the Mind, and so do members of its permission groups who hold View Warehouse Objects and Create/Edit Warehouse Objects. The design itself is approved by an admin. See Who can do what in DataPrism.

What does the builder ask me before it proposes a design?

One batch of questions: the questions and charts it proposes, the owner role, the data mode when personal data is involved, the history depth with its numbers, plan and version details, and two or three control totals from a report you trust. Each question offers concrete choices, and you can type your own answer.

Why do my questions need more than one model?

Because a DataPrism model has exactly one fact table and a dashboard reads one model, so questions with different grains or facts cannot share one model. The builder says so on the card, recommends the models and dashboards to build instead, and names the alternative, such as a warehouse change that costs time, storage or a rule the business must approve.

Can someone else approve the design for me?

An admin other than the requester can decide the card, but the model is created only when the requester continues the conversation: "The model is created only when name continues it."

How do I get a corrected design?

Click Reject with a note, write what should change and confirm. The note stays on the card as Rejection note:, and the builder can propose a corrected design. The choices on a card lock once you decide, so a rejection is the way to change them.

Can the builder design a model while I am away?

No. A design is proposed only in a person's own turn and needs the person who asked to approve it, so scheduled tasks and swarm agents cannot propose one.

What are the control totals on the card for?

They are numbers from a report you trust, listed under Control totals the tests must match. The build checks its load against them before the model is created, so a mismatch surfaces before reports do.

What does "Model reads it" mean on an object?

The object is a view handed over for the model to read, rather than the base table itself. An admin-owned model reads views for every object, and a handed-over view carries only the columns the model needs. See Relationships and the core table for how the model joins its tables.

Why must the fact be handed over only once?

A semantic model has exactly one fact table, so the design hands over either the fact table itself or one handover view of it. Handing over both is refused: "X" and its handover view "Y" are both handed over: hand over only the view. A design that does not hold exactly one fact object is refused before it reaches you.

What happens if an approved object is not deployed yet?

The model is created only after every approved object is built and deployed. If an object is missing, the builder refuses with "X" is not built yet. Build every approved object first.; if it exists but is not deployed, it refuses with is not deployed. Deploy it, then runs the check again once you deploy it. Deploy the table from its Settings tab (Deploy, run, truncate and monitor tables).

Can one design create more than one model?

No. One design creates one model, and a retry adopts the model it already made: it finds this model by its session key and records it, it never creates a second one. If the model was deleted, propose the design again to start over.

Why does the design no longer pass its checks?

The platform re-checks a design when you approve it, so something that was fine earlier can fail later. One common case: an object marked as new whose table already exists in the Warehouse but was not created in this conversation; the refusal asks you to reject the card with a note so the Warehouse Builder marks it as existing or changed. Reject with a note whenever the card says the design no longer passes its checks, and the builder proposes a corrected design.