Dashboards & charts
Charts and dashboards are how ad-hoc analysis becomes something the whole workspace looks at. A chart turns either a saved query, inline SQL, or a structured aggregate over one table into a visual. A dashboard arranges charts, query tables and saved views on a grid, and the workspace home page can pin those same pieces as the first thing everyone sees. Each layer is a separate, reusable object, so editing a query, chart or saved view updates every place that references it.
If you only remember one thing: a dashboard never carries data or grants access to it. Sharing one shares the definition, not cached results. SQL tiles run under the viewer’s per-statement query permission, so a tile over a table restricted for them is refused whole; charts built from table records and saved-view tiles instead apply that viewer’s row and field visibility, so different viewers can see different totals or records.
Who can do what
Section titled “Who can do what”| Capability | Action | Default roles |
|---|---|---|
| View charts | charts:read |
Admin, Member, Reader |
| Create/edit/delete charts | charts:manage |
Admin, Member |
| View dashboards | dashboards:read |
Admin, Member, Reader |
| Create/edit/delete dashboards | dashboards:manage |
Admin, Member |
| View saved queries (chart sources) | savedQueries:read |
Admin, Member, Reader |
| See SQL-backed tile data | query:execute, and no restricted table in the statement |
See below |
| See table-record chart or saved-view data | The source table’s normal record-read scope | See below |
| Configure the workspace home page | customization:manage |
Admin |
| Open the chart editor page | builder:access |
Admin (grantable via custom roles) |
Charts, dashboards, and saved queries have no per-object ownership or sharing controls: every one of them is visible workspace-wide to anyone holding the read action, and editable by anyone holding the manage action. The creator is recorded but grants no special rights. If you need a private-to-me analysis, keep it as SQL in the query editor rather than saving it as a shared object.
Charts
Section titled “Charts”Charts are authored on the Charts page in the builder area
(Admin → Charts, behind builder:access). A chart is four things:
- A data source — one of three choices:
- Table records: choose a table, an optional group and filter, and up to five measures (count, sum, average, minimum or maximum). Date groups can be bucketed by day, week, month, quarter or year. This structured source is row-scoped for each viewer and suits an operative audience with restricted visibility.
- A saved query (reusable and centrally editable), which inherits the query’s template variables.
- Custom SQL written just for this chart, with its own variable definitions. Both SQL choices require unrestricted query access when the chart is viewed.
- A chart type — the general ones (
bar,line,area,pie,cumulative_flow, the legacy largest-firstfunnel), the composition charts — a stacked or 100% bar, the marimekko (mekko) for size and mix on one tile, and the bar+linecombo— and the process family for anything that moves through stages (stage_funnel,stage_flow,bullet,control_chart,aging_wip,waterfall). - Display configuration — for bar/line/area/cumulative flow: which column is the X axis and one or more Y series, each with its own colour and optional label (multiple series plot side by side with a legend). For pie and the funnels: which column supplies the labels and which the values. Each process type adds its own zone or two — the editor labels them by what the type reads.
- Benchmarks (optional) — comparisons drawn over the actuals; see below.
The editor previews the chart live against real source results, so you shape
the source and axes together. For SQL sources, GROUP BY typically supplies
the X axis and aggregates supply the Y series. Date-like columns are detected
and formatted as dates on the axis automatically.
Chart cards on the Charts page run their source for a live preview, and show usage chips listing the dashboards each chart appears on. Duplicate copies a chart when you want to change one without touching the dashboards built on the original.
API: GET /charts, POST /charts, PUT /charts/{chartId},
DELETE /charts/{chartId}.
Benchmarks: last quarter, SLAs, targets
Section titled “Benchmarks: last quarter, SLAs, targets”Any bar, line, area, cumulative-flow, stage-funnel, bullet, control or aging chart can carry benchmarks — comparisons drawn over the actual values. A benchmark is either a column of the same query row (last quarter’s figure computed as a second aggregate, this stage’s SLA joined from your own targets table, a per-category target) or a constant (one number for the whole chart). Never both: the editor and the API refuse a benchmark that names a column and a value.
How it draws depends on two settings:
| Setting | Options | Effect |
|---|---|---|
| Draw as | Line / tick (default), Ghost bar | A dashed reference line, or a tick per category; or a faded bar beside each actual — the “compare to last period” look |
| Goal | None, Actual should be ≥, Actual should be ≤ | Colours each category green (met) or red (missed) against this benchmark. Use ≥ for targets and conversion, ≤ for dwell, cycle time and SLA hours. The first benchmark with a goal drives the colouring |
Because the comparison lives on the same row as the actual, a benchmark never needs a second query, a second chart, or a stored “target” object — the SQL that produces the number produces the thing to judge it against.
Composition: stacked bars, the marimekko and the combo
Section titled “Composition: stacked bars, the marimekko and the combo”Three ways to show how a whole is made up, all reading the bar chart’s configuration: an X axis column for the category or period and one Y series per part. The SQL pivots the parts into columns, one alias per series (the example under the marimekko below).
Stacked and 100% bars. A bar chart with several series draws them side
by side. The Series share a category toggle in the editor changes that:
Stacked piles the series into one bar per category whose height is
their sum (market size by segment, quarter by quarter), and 100% scales
each bar to the whole so every series reads as its share (the mix, quarter
by quarter). On the 100% bar the axis runs 0–100% and hovering a segment
gives its share to one decimal; a negative value counts as zero, since a
share cannot be negative. In the API this is config.stack: none,
stacked or percent.
The combo. A combo chart draws each series as a bar or a
line — choose per series beside its chip — and can scale a series
against a second axis on the right of the plot: market size as bars
with the growth rate as a line, a count beside a rate. Use one axis
whenever the series share a unit; two scales on one plot invite a reader to
see a relationship the numbers may not hold, so the right axis is for a
series of a different unit or magnitude. The combo’s bars stack with the
same toggle as a bar chart’s; lines never stack. In the API each series
carries mark (bar or line) and axis (left or right).
The marimekko. A marimekko (mekko, also called a mosaic chart) shows a segment’s size
and its mix at once: one column per row, as wide as the row’s total, stacked
to 100% by each series’ share of it. A market by segment and tier, revenue by
region and product line, headcount by department and grade.
It reads the same configuration as a bar chart: the X axis column is the category each column stands for, and each Y series is a sub-category whose value in the row becomes that column’s segment. The SQL pivots the sub-categories into columns, one alias per series:
SELECT segment, sum(revenue) FILTER (WHERE tier = 'Tier 1') AS tier_1, sum(revenue) FILTER (WHERE tier = 'Tier 2') AS tier_2, sum(revenue) FILTER (WHERE tier = 'Tier 3') AS tier_3FROM customersGROUP BY segmentORDER BY sum(revenue) DESCEach column is labelled with its share of the total; hovering a segment gives its value, its share of the column and its share of the whole. A row whose total is zero draws no column. The marimekko draws shares rather than values, so it carries no benchmarks; for a target line over the same figures, draw a bar chart.
Process charts: funnels, flows, cycle time
Section titled “Process charts: funnels, flows, cycle time”Any table with a lifecycle field records every
stage move, and these chart types read that history. Rows come from SQL
like any other chart — row order is process order, so the query’s
ORDER BY is the stage order and the chart never re-sorts.
| Type | Shows | Reads |
|---|---|---|
Stage funnel (stage_funnel) |
One bar per stage in order: records reaching it, step conversion (% of the previous stage), cumulative conversion (% of the first), drop-off between steps, and time spent per stage | stage, count, optional seconds-in-stage; benchmarks as ghost bars or ticks |
Stage flow (stage_flow) |
Stage-to-stage moves as a flow diagram; moves that go backward (rework) or return to the same stage are listed beneath it with their share of all moves | from stage, to stage, number of moves |
Bullet (bullet) |
One actual-versus-target row per category — every stage’s conversion or dwell against its target on one tile | category, value, at least one benchmark |
Control chart (control_chart) |
Every finished record as a dot by completion date and cycle time, a rolling mean, and derived p50 / p85 / p95 lines; a constant benchmark with a ≤ goal is the service-level target and colours the dots that overran it | finished at, cycle time, optional record label |
Aging WIP (aging_wip) |
Every open record as a dot in its stage’s column by age; per-stage benchmark lines (the stage’s historical p85, an SLA); overrun counted in the header — the “what to chase now” view | stage, age in seconds, optional record label; per-row benchmarks |
Waterfall (waterfall) |
The period bridge: opening balance → new, reopened, won, lost → closing balance | step, signed change, a boolean marking the balance rows |
You do not have to write that SQL. In the chart editor, Build from a stage field… asks for a table, one of its lifecycle fields and a report — stage funnel, stage flow, time in stage (median and p90 hours per stage, ready for an SLA benchmark), time distribution (how many visits to each stage lasted under an hour, a day, a week…), cycle time, aging WIP or pipeline changes — and writes the SQL, chart type and field mapping, then runs it. Forward stages are the field’s options in order minus the Ended — failure ones (those are where the drop-off went); success and failure stages come from the options’ categories; the table’s label field names each record in the per-record reports. Edit the generated SQL freely — it is an ordinary custom query.
Two things worth knowing about the history these read:
- History starts when the field’s lifecycle rules did. A record created straight into the first stage has no entry row for it, so time spent in the first stage is not counted, and a record’s “reached” position counts where it sits now as well as where it has been.
- The reports run on the query surface, so they follow the same per-statement visibility rule as every other chart.
Downloading a chart as an image
Section titled “Downloading a chart as an image”Every chart card on the Charts page has a Download image menu with Download as PNG (at twice screen resolution, for a slide or a document) and Download as SVG (for editing in a vector tool). A dashboard tile has the same download as a single button. The picture is the chart as drawn, without the card’s title, buttons or menu, on the page’s background, in the workspace’s brand font when one is set. It is built in your browser from the chart already on screen, so it holds exactly what you can see and nothing leaves the page to make it. For a branded deck built from several charts, see Building a branded deck.
Series colours come from the workspace’s chart palette when an admin has set one, so charts, their downloads and Excel exports share one look.
Discussing a chart
Section titled “Discussing a chart”Every chart carries a discussion (GET /charts/{chartId}/comments), the
same threads, @mentions, resolve and reopen as a record’s
comments. Open it from the speech-bubble
button on the chart’s card, which shows how many threads are open, or from
the same button on a dashboard tile showing the chart — a thread started
from a tile is anchored to that tile, so it reads “On the tile …” wherever
the chart’s discussion is opened. Reading and posting follow the chart’s
own access: you need charts:read, plus comments:create to post. A
mention of someone who cannot read charts posts but does not notify them.
Dashboards
Section titled “Dashboards”Dashboards live in the end-user area at Dashboards — no builder access
needed to view or (with dashboards:manage) to compose them.
A dashboard is a named grid of tiles. Each tile is one of:
-
Chart — renders a saved chart.
-
Query table — renders a saved query’s rows directly as a table. Name the column that holds record ids under Link rows by column and its cells open those records. Choose the table the ids belong to, or, for a query that combines several tables with
UNION ALL, select each row’s table name into a column as well (SELECT 'deals' AS source, id FROM deals UNION ALL …) and pick The table each row names in another column. A row whose table cannot be found shows its id as plain text, and opening a record applies the viewer’s own access. -
Saved view — draws one of a table’s saved views by its own kind: a map of the records, a gallery of cards, or a calendar. The view is referenced by id, so its filter, sort and field mapping stay defined in one place (the table’s records page). Only views shared with the whole workspace can be placed — a private or group view would be blank for other viewers — and a grid view’s rows belong in a query table instead. A saved-view tile can also bind dashboard variables: in the tile’s settings, pair a field of the view’s table with one of the dashboard’s variables, and the tile adds “field equals the variable’s value” on top of the view’s own filter whenever that variable is set. A variable left on “All” adds nothing, so one map tile plus one
categoryvariable covers every category without a view or a tile per category. (Through the API the same override is the tile’sfilter, a saved-view filter document whose values carry{{variable}}placeholders — including{{range.from}}/{{range.to}}for a date range, and a multi-select expanding to “any of”.) -
Pivot — one measure laid out as rows × columns over a table’s records: a field down the side, a field across the top (a picklist, text, boolean, whole-number, date, reference or lookup field each), and a count, sum, average, lowest or highest. Row totals and the grand total are computed with the cells; column totals are shown for a count or a sum. A pivot is drawn from the table’s records, like a chart built from records, so it renders for every viewer over the records they can see, and it binds dashboard variables the same way a saved-view tile does. Through the API the tile’s
pivotnames the table, the two fields and the measure, and the numbers arePOST /tables/{tableId}/report.
Composition is in-place: Edit puts the dashboard in draft mode, Add tile picks a chart, a saved query, a table’s saved view or a pivot, and tiles are dragged and resized on a 12-column grid (each row unit is about 80px). A tile can override its title; otherwise it shows the underlying chart or query name. Nothing is stored until Save writes the whole draft back — Cancel discards it.
References from tiles to charts and queries are soft: deleting a chart or query doesn’t break the dashboard, its tile just shows “This chart no longer exists” until re-pointed.
Dashboard variables
Section titled “Dashboard variables”A dashboard can declare its own variables, bound by name to the
{{placeholder}}s in the SQL behind its tiles: one region control at the
top of the dashboard filters every tile whose query references
{{region}}. A variable left on “All” is unset, dropping the [[ ... ]]
optional blocks that reference it — see
template variables. The variables
dialog suggests every placeholder name it finds in the tiles’ SQL, copying the
definition from the underlying query when one exists. For placeholders a
dashboard does not declare, the tile falls back to the underlying query’s
own default values.
Refresh behaviour
Section titled “Refresh behaviour”Tiles fetch their data when the dashboard opens, and re-run automatically when a variable value changes. Each tile also has a manual Refresh button. There is no timed auto-refresh — a dashboard left open on a wall screen shows the numbers from when it loaded until something re-runs it.
API: GET /dashboards, POST /dashboards,
PUT /dashboards/{dashboardId}, DELETE /dashboards/{dashboardId}.
Whose permissions does a dashboard use?
Section titled “Whose permissions does a dashboard use?”The viewer’s — always. A dashboard stores definitions, never an author’s results or authority. There is no “run as author” mode. What happens next depends on the tile’s source:
- Saved-query, custom-SQL and query-table tiles use the query engine. Raw SQL is refused per statement to a viewer restricted on a table it reads, so that viewer gets the quiet message “Not available for your access level.” on that tile rather than partial numbers, while the dashboard’s other tiles answer.
- Charts built from table records use a structured aggregate. The viewer’s row scope is applied before grouping, every selected field must be readable by them, and the chart’s filter can only narrow the result. The same chart can therefore show a sales manager a workspace total and a rep only their own total.
- Saved-view tiles use ordinary record-list reads and likewise inherit the viewer’s row and field visibility.
The read actions for the dashboard, chart or saved query still gate loading those definitions. All are held by every built-in role, but custom roles can remove them independently.
The workspace home page
Section titled “The workspace home page”Every member lands on Home. Out of the box it’s a built-in default (quick links to your tables plus the viewer’s recent items). An admin can replace it with a configured home page: the same tile grid as a dashboard, with a wider set of tile kinds — this is how a workspace pins its key dashboardable content as the landing experience.
Editing is in place: the Customize button (shown to holders of
customization:manage) opens draft mode seeded with starter tiles matching
the default page, so customising feels like taking over the default rather
than starting from nothing. Reset to default discards the configuration
entirely (DELETE /workspace/homepage).
Tile kinds:
| Kind | Shows | Configuration |
|---|---|---|
chart |
A saved chart | Chart id |
table |
A saved query’s rows as a table | Query id; optionally a record link (the id column, and its table or a column naming each row’s table) |
quickLinks |
A list of in-app links | Curated picks, or the built-in permission-aware set |
recentRecords |
The newest records in one table | Table id, row count (default 5, max 50) |
savedView |
A table’s saved map, gallery or calendar view | Table id, saved view id (workspace-shared views only) |
myRecents |
The viewer’s own recently visited items | None (per-viewer) |
markdown |
A block of admin-authored text | Up to 4,000 characters |
Notes on the pieces:
- Quick links name real in-app destinations (a table’s records, sheet or
board, a specific dashboard, the builder pages) chosen from a picker — not
free-text URLs — so links can’t drift off-product or break with routing
changes. Without a label override, a link shows its destination’s live name:
rename the table, the link renames itself. In
builtInmode the tile recomputes the same permission-aware link set the default page shows, per viewer. Links to builder pages render only for viewers holdingbuilder:access. - Chart and table tiles are the same tiles dashboards use, with the same viewer-permission behaviour. SQL-backed tiles are unavailable to restricted viewers; a chart built from table records applies each viewer’s row scope and can show them their own numbers.
- A page holds up to 40 tiles; a quick-links tile up to 24 curated links.
- Graceful degradation is built in: a viewer whose role lacks
customization:read(or a fetch failure) gets the built-in default page rather than an error, and a tile kind a client doesn’t recognise is skipped, not mangled — old app versions won’t delete a newer tile when they edit.
API: GET /workspace/homepage, PUT /workspace/homepage (full replace of
the tile list, validated on write), DELETE /workspace/homepage. Reading is
customization:read (all roles); writing is customization:manage
(admin-only by default).
The AI dashboard assistant
Section titled “The AI dashboard assistant”The Dashboards page includes an AI dashboard assistant: describe the
dashboard you want, and it drafts a complete plan — new saved queries, charts,
and the dashboard that arranges them, reusing existing queries and charts
where they fit. The SQL in a plan is validated against your workspace’s real
tables before you see it, and nothing is created until you press Apply:
the plan is then created atomically (everything or nothing) via
POST /dashboard-plans/apply, producing ordinary queries, charts, and
dashboards you can edit like any other. Plans are additive only — they never
modify or delete existing objects. Validating a plan requires only
dashboards:read; applying one requires dashboards:manage. See
AI assistants.
Q: Can I share a dashboard with just one team, or make one private?
No. All dashboards (and charts, and saved queries) are workspace-visible to anyone with the read action, and editable by anyone with the manage action. What you can control is the data: structured tiles apply each viewer’s row and field visibility, while SQL-backed tiles require unrestricted query access — see above.
Q: A colleague opens my dashboard and every tile says “Not available for your access level”.
Those tiles are SQL-backed, and their record visibility is restricted somewhere in the workspace (a private table with a narrower-than-workspace scope, or a private field they cannot read), so the query engine refuses to run them. This is the deliberate all-or-nothing rule for raw SQL. Rebuild an appropriate chart with the Table records source when it should show each viewer numbers from their own row scope; see Queries & exports.
Q: Someone edited a chart and it changed on three dashboards. Expected?
Yes — charts are shared objects referenced by id, so an edit lands everywhere at once. Use Duplicate (on charts and on saved queries) when a change should not propagate; the usage chips show which dashboards a chart feeds before you edit it.
Q: Do dashboards auto-refresh?
No. Tiles load on open and re-run on variable changes or the per-tile Refresh button. There is no polling interval.
Q: Members can edit dashboards but can’t open the Charts page — why?
Dashboards live in the end-user area, gated only by dashboards:manage. The
Charts page (and the Query page) are builder surfaces behind
builder:access, admin-only by default. Grant a member builder:access
through a custom role to let them author charts; composing existing charts
into dashboards needs no builder access at all.
Q: Can a home-page tile show a whole dashboard?
Not embedded — chart and table tiles pin individual pieces. To point people at a full dashboard, add a quick link whose target is that dashboard.