Dashboards and presentation

funktional

Arrange results on a 12-column dashboard, bind a filter bar to parameters, view it without SQL, and present it full screen.

A notebook's dashboard: the editor with its tiles, a cell added as a tile, the viewer with a typed Country filter, then a report-style notebook whose cells show only their output.

Real recording · typing sped up · Northwind demo data

Open the walkthrough on its own page

A dashboard arranges a notebook's results on a page: KPI tiles across the top, a chart beside a table, a note under them, split into sections and tabs. It lives inside the notebook as a Dashboard cell, so it's saved in the same file, shows up in diffs, and always shows the notebook's own results. A notebook can have more than one.

Build a dashboard

  1. Drücke Dashboard in the top bar (or Notebook: Edit Dashboard). If the notebook has no dashboard yet, one is created.
  2. Klicken Add tile: the picker lists every cell with a result. Click a cell to add it, or drag it onto the canvas. Any cell kind can be a tile: SQL results show as a bare grid, pivots as the pivot table, charts, KPIs, profiles and tests show their output, and Markdown shows rendered. Tiles draw a cell's output the same way an embedded output does, and never show its settings.
  3. Drag a tile's right edge to change its width and its bottom edge to change its height. The grid has 12 columns; heights go from 1 to 8 rows of 110 pixels. Drag tiles onto each other to reorder them.
  4. Select a tile to edit its settings: a title, a note shown under it, when it's shown (Immer, When … has a value, When … is …, oder When the check … passes), a drill-through, and whether it takes the full or half width on narrow windows.
  5. Add section und Add tab split a long dashboard. Each section can have several tabs.
  6. Back to notebook returns to the cells. The dashboard is saved with the notebook.
SQLly
Notebook dashboard editor with KPI, chart and table tilesNotebook dashboard editor with KPI, chart and table tiles
The dashboard editor with a tile selected and its width handle under the pointer.
SQLly
Add a tile picker beside the dashboard canvasAdd a tile picker beside the dashboard canvas
The Add a tile picker lists every result cell in the notebook, ready to click or drag onto the canvas.

Under 720 pixels wide the dashboard switches to its narrow layout, where each tile takes the full or half width you chose. The editor's problems list flags tiles that point at deleted cells, rules that name unknown parameters, and sizes out of range.

The filter bar

A dashboard's filter bar shows inputs for the notebook parameters you pick, under Filter. They are the same inputs as on the Parameters page, in a compact form: lists, number boxes with steppers, date pickers with their presets, sliders and lookups, with the same inline validation ("out of range" shows under the input). The filter bar and the Parameters page share one set of drafts, so a value waiting for Apply shows as waiting in both. Changing a filter never starts a query by itself, so a dashboard can't set off a burst of queries while you type:

  • Parameters set to wait for Apply keep your change as a draft ("Changes not applied") until you press Anwenden oder Eingabe. The dashboard's Apply applies only its own filters' drafts.
  • Once a value is applied, SQLly says what it would take to bring the tiles up to date: "Refreshing runs 3 queries on Storefront Prod." (with "including a production connection" when one is involved), with Aktualisieren und Verwerfen. Nothing runs until you press Aktualisieren, and then it goes through the normal run checks: trust, read-only, change review.
SQLly
Dashboard filter bar with a pending value and the Apply buttonDashboard filter bar with a pending value and the Apply button
A new value typed into the Country filter waits for Apply.
SQLly
Dashboard notice naming the queries and connection a refresh would runDashboard notice naming the queries and connection a refresh would run
After a filter change, the notice says how many queries Refresh will run and on which connection, before anything runs.
SQLly
Dashboard filter bar with a list, a number box and a date pickerDashboard filter bar with a list, a number box and a date picker
The filter bar uses the parameter inputs: a country list, a number box with its stepper waiting for Apply, and a date picker.

How each input works is on Parameters and inputs.

Drill-through

A tile can drill through to another section or tab, optionally setting a parameter. Pick Drill through in the tile's settings, choose the target, and optionally the parameter to set and the column to take its value from. In the viewer, the tile's drill menu lists that column's values; picking one sets the parameter straight away (it doesn't wait for Apply), opens the target tab and updates the filter bar.

SQLly
Dashboard tile with its drill-through menu openDashboard tile with its drill-through menu open
The drill menu on Revenue by country lists the countries in the result; picking one opens Country detail with that country set.

The viewer: the dashboard without the SQL

Ansicht in the top bar (or Notebook: View Dashboard) shows only the dashboard: results, the filter bar, drill-throughs and Refresh, and no SQL, editors or cell settings. SQL tiles show their result grid, never their query. Editing is off in the viewer; Esc oder Zurück returns to where you were.

SQLly
Notebook dashboard in viewer modeNotebook dashboard in viewer mode
A dashboard in the viewer: KPI row, revenue by country beside top customers, and a note. No SQL, no editors.

Present full screen

Present (oder Notebook: Present Dashboard) shows the dashboard full screen with only its title, filters and a slide counter. In the dashboard settings, choose Present: one section per slide oder Present: the whole dashboard, a presentation theme (follow the app, light or dark), and an optional logo (a PNG or SVG up to 256 KB; SVGs with scripts or outside links are refused).

  • →, ↓, Leerzeichen und Bild ab go forward; ←, ↑, ⇧Space und Bild auf go back; Startseite und Ende jump to the first and last slide; Esc ends the presentation.
  • The pointer hides while you use the keyboard and comes back when you move the mouse.
SQLly
Notebook dashboard presented full screenNotebook dashboard presented full screen
A dashboard presented full screen, first slide.
SQLly
Country detail slide of a presented dashboardCountry detail slide of a presented dashboard
The last slide, Country detail, after moving forward twice.

Notebooks that change data can't be presented

The viewer and presentation are for reading. A notebook with any cell allowed to change data is refused for both, with the cells named: "Cells that change data: fix_freight. Make them read-only, or remove them, to view or present this dashboard." The editor still opens, and static exports still work.

SQLly
Message refusing to show a dashboard because a cell changes dataMessage refusing to show a dashboard because a cell changes data
View Dashboard is refused for a notebook with a cell that changes data, and names the cell.

Exporting a dashboard

Im Exportieren… dialog, choose Dashboard: … unter Include. HTML and PDF keep the side-by-side layout (HTML stacks it on narrow screens), and PDF can start each section on a new page. From a terminal, sqlly-cli notebook export takes --dashboard with the dashboard's name or id (names aren't case-sensitive; an unknown name lists the notebook's dashboards) and --page-per-section for the PDF page breaks. See Exporting and the fidelity report und the notebook CLI.

Grenzen

  • A forced light or dark presentation theme switches the whole app's theme while you present. It switches back however the presentation ends, with Esc, by closing the tab or by closing the window, and a theme you pick in Settings while presenting is kept. The forced theme is never saved, so if SQLly quits while presenting it starts again on your Settings theme.
  • Tiles show results the notebook already has; a tile whose cell hasn't run shows that, and Refresh runs it.