Skip to main content
On this page

Analyze Workspaces

Overview

Workspaces are your home to build and analyze queries, charts, and a dashboard together over one shared semantic model or dataset.

Audience
Everyone. Business teams mostly work through their agent, data teams also work directly.
Prerequisites
  • Read access to a shared model
  • Edit access to a workspace to change it

Like Excel, a workspace is the home for every query that powers a dashboard, app, or workflow.

A workspace contains:

  1. Queries where each Query contains multiple charts
  2. Dashboard

All queries in a workspace read one shared model and keeps its queries, charts, filters, dashboard and tests together, so anyone with access can open the work again and build on it.

Quickstart

Prompt
Create a new personal workspace in Kater. First ask me what it is for and which questions it answers. 1. Find the shared semantic model or Kater dataset that answers those questions. If more than one fits, show me what each holds and ask me to select one. 2. Create the workspace over that model, with a short name and a one-line description. Then compile it. 3. Add a first query that answers my first question, run it, and show me its rows.

Create a Workspace

Like everything in Kater, there are three ways to author queries:

Work in an Excel-like grid. Tick a field in the field list and it becomes a column. Columns are lettered and rows are numbered, and the formula bar takes formulas such as =B1/C1. Right-click a column to turn it into a share, a rank or a comparison. See Queries.

The Marketing Sessions workspace with Session Default Channel Grouping and active_identities ticked in the field list, columns A and B from Direct 4,723 down, and a bar chart of Active Identities by channel under the rows

Describe the query in your own words to your agent, such as Claude or ChatGPT, connected to Kater. It knows which workspace you have open and writes the query there. Each change it makes is one entry in History, with Undo. In the workspace, you can also select File › New query in the workspace name’s menu and describe it on the Prompt AI tab. See Ask Kater MCP.

The New query dialog on its Prompt AI tab, with the box Which question should the query answer?, This page, Generate prompt and Source data Marketing Sessions

Write the query yourself in Kater SQL. In Kater, select SQL in the footer to open the editor over the rows. In VS Code, open the query’s .sql file with the Kater extension. It completes field names as you type, and its Kater panel shows the same workspace editor.

The Marketing Sessions workspace with the SQL editor open over the rows: the folded properties card for Active Identities by Session Default Channel Grouping, and a SELECT of SESSION_DEFAULT_CHANNEL_GROUPING and EVAL of ACTIVE_IDENTITIES from workspace.marketing_sessions, above eight rows from Direct 4,723 to SMS 482
VS Code with active_identities_by_channel.sql open from users/yvonne@kater.ai/workspaces/marketing_sessions/query_contracts, m.dev typed with completions for DEVICE_CATEGORY, DEVICE_LANGUAGE, DEVICE_OPERATING_SYSTEM and DEVICE_WEB_INFO_BROWSER, and the KATER panel below with the same query's rows
If you want to…Do this
Keep a question you will ask againSave it as a query in a workspace. See Queries.
Work on your own firstUse a personal workspace
Share analysis with a teamUse a connection workspace
See what a workspace holds before you change itOpen its overview with Workspace in the header
Give every query the same filtersAdd workspace filters on the overview
Try SQL before you select a workspaceUse the Sandbox

Personal and connection workspaces

KindWhere it livesWho can open it
Personalconnections/<c>/users/<email>/workspaces/<name>/You, admins, and whoever you share it with
Connectionconnections/<c>/workspaces/<name>/Everyone its folder’s access allows

The data team can mark a workspace it stands behind with the curated tag. A tag grants no access. A workspace is never verified: only a field from the shared layer is. The files a workspace holds are listed in Workspaces under Model.

Find a workspace

Select Workspaces in the sidebar. The tabs are All, Mine and Shared with me, plus Pinned once you pin one. Each row has Open dashboard, and View only where you cannot edit. Inside a workspace, select its name in the header, then File › Switch workspace.

  • From Explore. New workspace and Make something new › Workspace on the Workspaces page open Explore, and so does File › New workspace in a workspace. Select a model and add cards to a new workspace.
  • From a shared model. With a model open in Shared models, select File › Start a workspace from this model. The New workspace dialog opens on Manual, with the model filled in. New › Workspace opens it on Prompt AI, where you describe the workspace.
  • With your agent. Run the Start a workspace starter: “Start a workspace for Q4 paid media.”

Open a workspace

Kater opens a workspace where you most likely want to be. The first rule that applies decides what opens:

  1. A link names it. A shared or bookmarked address opens exactly what it names.
  2. You were here before. It opens where you left off: the query, Editor or Dashboard, the SQL editor, the chart panel and its tab, and the sidebar tab. Kater keeps this place for each person and each workspace, so it follows you to another device.
  3. It is someone else’s workspace, and your first visit. It opens on its Dashboard when the dashboard has tiles. Without tiles, it opens the first query in tab order.
  4. It is your own workspace, and your first visit. It opens the first query in tab order.
  5. It has no model yet. It opens on the empty workspace start. A workspace with a model and no queries opens a blank query.

If the query you left is gone, the visit counts as a first visit. No message tells you that you are back: the page just opens as you left it.

The Marketing Sessions workspace opened as it was left: the History tab in the sidebar, the SQL editor over the rows, the rows and the chart, the chart panel open on its Settings tab, and the toolbar saying Rows from 1:36 PM, checking for newer rows
Back where you left off, with History, the SQL editor and the chart’s Settings tab still open.

A first visit to someone else’s workspace with tiles opens on its dashboard. See Dashboards.

General Workspace Workflow

A new workspace has no model yet. It opens on a start page with the same search box as Home, and nothing is selected until you select it.

  1. Search or ask.

    “Select a semantic model or dataset to start your analysis.” sits over Search or ask anything, with Generate prompt. Under the box, pills show what you opened lately and the connection’s starters: models, questions, measures, fields and topics.

    An empty workspace named Channel engagement: the Model Selector in the sidebar with Curated by the data team and By topic groups, and the Search or ask anything box with Generate prompt and pills such as Marketing Sessions, active_identities and topic Marketing/Sessions
    A new, empty workspace.
  2. Or browse the Model Selector.

    The sidebar’s Model Selector searches models, fields and questions. Curated by the data team comes first. Group by sorts the rest by Topic, Team, Source or None, and Kater datasets sit under Datasets.

  3. Type to search.

    The list shows Ask about your words first, which writes a prompt from them and this workspace (⌘↵). Then come Questions models answer, Models and Fields, each with where it lives.

    The start box with cost per campaign typed, listing Ask about cost per campaign, a question Marketing Sessions answers, the models Paid Media Daily by UTM and Campaign Report, and the fields paid_spend and Session Campaign
    Searching from an empty workspace.
  4. Look at a model.

    Select a question, a model or a field to preview its model. The preview shows its description and tags, its fields grouped by source with Search fields, Questions it answers, and a sample of its rows.

  5. Select Start analyzing using.

    The button at the bottom right of the preview names the model type and the model, such as Semantic model over Marketing Sessions. The workspace reads that model from now on, and a first query opens.

    The Marketing Sessions preview: description, tags, 60 fields grouped by source, Questions it answers, a sample table of Active Identities by channel, and the Start analyzing using button with Semantic model and Marketing Sessions
    A model selected, with Start analyzing using at the bottom right.

Back steps from the preview to your search, and Esc does the same.

Overview page

The overview says what the workspace is, what it reads, and what was added to it. Select Workspace in the header to open it. The Files page and the VS Code extension show the same overview when you open a workspace’s workspace.sql.

The Marketing Sessions overview: the bar with Overview, Definitions and Source, a problems mark, Change Model and More; the title block with Add a description and its facts; the About and Data sections; and nine Workspace filters as cards with switches
The workspace overview, on its Overview tab.
  • The bar. The workspace’s name, the tabs Overview, Definitions and Source, then the problems mark when there are some, Change Model and More. More has Show SQL parameter names and Reset filters to defaults.
  • The title block. The name, its description or Add a description, and its facts: the model it reads, how many queries and filters it has, how many fields were added, and who changed it last. Select the last change to open History.
  • The sidebar. The field list without checkboxes, since no query is open, led by Added in this workspace.
SectionWhat it shows
AboutBusiness questions, AI context and tags. Select + Question or + Tag to add one.
DataThe model it reads, such as “60 fields from 5 sources”, and Preview sample
Workspace filtersOne card for each filter, with its switch, condition and value. Add makes a new one.
ParametersThe parameters no filter reads, with their type, values, default and value
Added in this workspaceEach field the workspace adds, with its expression, how many queries use it, and its menu
QueriesEach query with its columns and when it last changed. Select one to open it.

On this page at the right jumps to a section.

Definitions

The Definitions tab lists every field the workspace offers, each as a card with its address, description and what it computes. Fields from the model come first, by measures and dimensions, then Created in this workspace. Open definition in any field menu, and View › Workspace definitions (⌥3), open this tab on the field’s card.

The Definitions tab: From Marketing Sessions, Measures, and the lifetime_sessions card with its address, INPUTS, and COMPUTES with EVAL(count_sessions), From Count Sessions and its left joins
The overview’s Definitions tab.

Source

The Source tab shows the workspace’s own Kater SQL, workspace.sql, and you can edit it there. See Workspaces for what the file holds.

Workspace filters and parameters

Workspace filters are the filters every query in the workspace can switch on. In the editor they sit in the filter bar, after the workspace mark. A filter that is off shows dashed and faded, with a ring. A filter that applies is solid, with a dot, and the rows follow it.

The Ad Reporting filter bar with Reporting Date is within the last 12 complete months on, with its dot, and Campaign Name is one of (any) off, dashed with a ring, over the rows of spend_by_platform
A workspace filter that is on, beside one that is off.

On the overview, each filter is a card. Its settings edit the filter and the parameter it reads together. A parameter that no filter reads is listed under Parameters. See Filters and parameters.

Change the model

A workspace reads one model. Change Model shows what each query and filter keeps before anything changes.

  1. Open Change Model.

    Select Change Model in the overview’s bar, or in the menu of the model button at the top of the field list.

  2. Select a model.

    The selector marks the model in use with In use. Select another model to see its preview.

  3. Read If you switch.

    It lists each query and whether it loses a field, the filters that keep working, the filters that are removed with the field each needs, and the fields added in this workspace.

  4. Switch or cancel.

    Select Switch to and the model’s name, or Cancel.

Change Model with GA4 Lifecycle Sessions selected: its preview, and If you switch listing two queries that lose Lifetime Sessions, 7 filters that keep working, two filters that are removed, and the Switch to GA4 Lifecycle Sessions and Cancel buttons
What breaks if you switch, before you switch.

After the switch:

  • A message offers Undo. It says how many queries lost a field, such as “Switched to GA4 Lifecycle Sessions. 2 queries lost a field.”
  • Broken queries are marked. Their tabs and their rows in Queries carry a warning mark.
  • The missing field leads the list. A section such as Not in GA4 Lifecycle Sessions shows it struck through, with how many queries read it.
  • The rows say why. A query that cannot run names the missing field and offers Replace with and Remove column.
Just after switching: the field list starts with Not in GA4 Lifecycle Sessions and Lifetime Sessions struck through, the query shows This query can't run on GA4 Lifecycle Sessions with Replace with and Remove column, and a message with Undo
Just after switching.

History

Every change to a workspace is in its history, whoever made it. Select the History tab in the sidebar, or the first row of the workspace name’s menu, such as Edited on Oct 13 by Yvonne. Hover the time to see who changed it, with which agent, and when.

  • Changes are grouped by day. Each shows who made it and the agent they worked with, the time, a one-line summary and how many files it changed.
  • Show Change lists each file with its diff.
  • Undo reverses a change as a new change, and marks the old one Undone. Undo is greyed, with the reason on hover, while a later change must be undone first.
  • Older changes loads earlier days.
The History tab: changes under October 13, October 11, October 1, September 30 and earlier, each with who made it, the time, a summary, how many files it changed, Show Change and Undo
The History tab.

Share and link

  • Share. File › Share in the workspace name’s menu opens the share dialog.
  • Copy link. File › Copy link copies the address of exactly what you see. The address holds the open query, the view, the sidebar tab and the panels, so the link opens the same view.
  • Pin. File › Pin.
  • Place a chart elsewhere. Query › Add to puts a query’s chart on a dashboard, in another workspace or in an app. See Queries.
Address keyValuesWhat it opens
viewdashboardThe Dashboard view
sidebarhistory, promote, closedThe sidebar tab, or no sidebar
panelchart, settingsThe chart panel and its tab
wsdefinitions, sourceThe overview’s tab
defA field’s nameThat field’s card on the Definitions tab

Next steps