Appearance
Notebook
A notebook is your workspace for data analysis. You can bring SQL, charts, and text together in a single document, with real-time collaborative editing. Access it from the global nav > Notebooks.
A notebook consists of multiple pages. Use a doc page for analysis work, and a grid page for dashboard layouts. You can also use section dividers in the page list.
See notebook permissions for details on permissions.
With real-time collaborative editing, the content of a notebook (SQL, charts, text, and so on) is synced between users who have the same page open. See Parameter for how parameters and run results are synced. To keep parameter operations independent per user, use Version or Report.
Key features
- Folder / Teamspace: placement and access scope
- Doc page: a flow-based block editor (insert with
/) - Grid page: tile layout for charts and more. Cross filter
- SQL block: SQL editing, execution, result display, chart creation, and caching
- Parameter: embedding in SQL and input forms
- Chart: visualization based on dimensions and metrics
- Explorer: explore data with a GUI and create charts or SQL blocks
- Comment: comments and mentions in the notebook body
- Version: save, restore, and compare analysis states
- Lock: prevent accidental edits (Unlocked / Query only / Locked)
- Notebook theme: customize chart colors and fonts
- Export and import
- Sharing: permissions / report / public link / signed embed
Creating and managing notebooks
Creating
You can create a notebook in either of the following ways.
- Open the global nav > Notebooks, then select Create notebook or Create from template.
- In the folder tree in the left sidebar, open Add notebook or folder and select New notebook. You can also use a template or import a file from the same menu.
On the top screen, you can find notebooks using the Recently viewed, Created by me, Starred, and Active tabs.
Creating from a template
Create from template lets you create a new notebook from one of the available notebook templates. Templates are listed by category. After reviewing a template, select Create from template / Create to create the notebook.
Adding pages
In the page list at the top of the left sidebar inside a notebook, select Add > Page to add a page.
| Type | Description |
|---|---|
| Doc page | A flow-based document format for placing SQL, charts, text, and more. |
| Grid page | Arranges charts defined on doc pages as a dashboard. |
| Section divider | Used to divide the page list. It has no body content. |
You can Rename, Duplicate page, or Delete a page from that page's menu.
Notebook operations
From the menu in the header inside a notebook, you can perform the following operations.
- Share: grant permissions, and publish reports, public links, or signed embeds
- Export / Import pages
- Notebook theme
- Version
- Lock notebook
- Show dependencies
- About this notebook
From the list view, you can move, delete, and star notebooks.
Lock
Lock is a feature that prevents accidental edits to a notebook. Switch the state from the ⋯ (horizontal three-dot icon) > Lock notebook menu in the header inside a notebook. Changing this setting requires edit permission on the notebook. You can't change the lock state of a notebook you can only access through sharing.
| State | Description |
|---|---|
| Unlocked | Everything can be edited. |
| Query only | Only parameter changes and SQL execution are allowed. |
| Locked | Only comments are allowed. |
When the state is Query only or Locked, enabling Temporarily unlock lets you remove the lock for yourself only. The lock is automatically restored when you close or reload the notebook.
Dependencies
Open Show dependencies to see a diagram of the SQL blocks and parameters in the notebook, along with their reference relationships. You can also open the same diagram from the menu of a SQL block, a grid component, or a parameter.
Use this to trace references between SQL blocks (SQL chains) and parameter reference chains. See SQL block for details on references between SQL blocks.
Constraints
- You can't edit a notebook once its size exceeds 10MB (see Limits).
- The maximum number of notebooks depends on your contract (see Limits; you can check this from the global nav > Workspace settings > Usage).
Permissions
See Notebook for the conditions for each operation. Whether SQL can be run is determined by permissions on the target connection, not by notebook permissions.