What you will be able to do
- Tell apart the Data tab, where datasets are defined, and the canvas, where widgets are placed on pages
- Add datasets from Unity Catalog objects, uploaded files or SQL queries, and bind each widget to the dataset it needs
- Add, rename, clone, copy and hide pages to split a dashboard into separate views
- Add visualization, text and image widgets, and choose the right image source for a logo or diagram
Key concept
Data tab and canvas — An AI/BI dashboard has two halves. The Data tab holds the datasets (queries over tables, views, metric views or custom SQL), and the canvas is one or more pages where widgets display those datasets. Every visualization reads from a dataset defined on the Data tab, and every widget lives on exactly one page.
1.The two halves of an AI/BI dashboard
An AI/BI dashboard separates the data it shows from how that data is laid out. The Data tab holds datasets, which are named queries that produce result tables. The canvas holds widgets: visualizations, filters, text and images. Building a dashboard means switching between the two. You define a dataset on the Data tab, then go to a page on the canvas and add a widget that displays it.
You start from New > Dashboard in the sidebar, or Create on the Dashboards listing page. A new dashboard is named with its creation timestamp and saved under /Workspace/Users/<username>. It opens as a draft. Drafts save automatically, but those changes don't reach the published version until you publish again. To create a dashboard you need the Databricks SQL entitlement and at least CAN USE on a SQL warehouse.
Datasets belong to the dashboard itself. When you share, import or export a dashboard through the UI or API, its datasets go with it. They are not separate workspace objects that need their own sharing. Datasets are also not widgets. You never place one on the canvas. A widget references a dataset by name.
Checkpoint 1 of 9· Check yourself
An analyst builds an AI/BI dashboard with three datasets on the Data tab and several visualizations on two canvas pages. A colleague exports the dashboard through the UI and imports it into another workspace. What happens to the datasets?
Datasets belong to the dashboard, not to the workspace as separate objects. They are bundled with it when it is shared, imported or exported. They are also not widgets: a visualization refers to a dataset by name and is never placed on the canvas.
“Datasets are bundled with dashboards when sharing, importing, or exporting them using the UI or API.”Source: docs.databricks.com
2.Adding datasets from several sources
One dashboard can hold many datasets, and each one can come from a different source. On the Data tab, two buttons cover the options. Add data lets you pick a Unity Catalog object, build a dashboard-local metric view, or upload a file. Add SQL dataset opens an editor where you write any query you like.
| Option | What the dataset becomes |
|---|---|
| Add data > Select a Unity Catalog object | A table, view or metric view. Most tables and views start as an editable default SELECT * query; a metric view shows its defined dimensions and measures |
| Add data > Create a local metric view | Dimensions, measures and joins defined visually and scoped to this dashboard, not published to Unity Catalog |
| Add data > Upload file | A new Unity Catalog table in a chosen Catalog, Schema and Table name; Overwrite existing table needs MANAGE on the schema |
| Add SQL dataset | A SQL query you write against any available data source |
Dataset queries can only read. DESCRIBE, EXPLAIN, CREATE TABLE, INSERT and DELETE are rejected. A query is valid only if it could be wrapped inside more SQL, so a SELECT works and a command does not. In a SQL dataset you can name a table by its fully qualified name, or pick a catalog and schema from the editor's drop-downs. If you write the full three-part name, it overrides the drop-downs. Table or column names that contain spaces go in backticks.
Each widget binds to a dataset by choice, not automatically. When you add a visualization, its configuration panel preselects the first dataset listed on the Data tab. You switch to another dataset with the Dataset drop-down. That is how one page can mix sources. One chart can read an orders dataset and the chart beside it can read a separate marketing_spend dataset, with neither query knowing about the other. Use a single joined dataset only when one visual really needs columns from both tables. Join syntax is covered in combining tables with joins.
The binding also decides how filters behave. A filter or cross-filter selection applies by default to every visualization built on the same dataset. Charts on separate datasets don't react to each other unless the dashboard defines relationships between them. Filter configuration has its own lesson, dashboard parameters and filters.
The kebab menu next to a dataset name offers Rename, Suggest name, Clone, Delete and Download (CSV, TSV or Excel). You can't delete a dataset while a widget on the canvas still uses it. To see which datasets are in use, check the list: used datasets appear in bold with a blue icon, and unused ones are grey.
Checkpoint 2 of 9· Match them up
An analyst is adding datasets to one dashboard from several kinds of source. Match each Data tab option to the dataset it produces.
Tap a term, then the definition that fits it.
Each Data tab option produces a different kind of dataset. Only a local metric view stays scoped to the dashboard. An upload creates a real Unity Catalog table, and a SQL dataset is a query you write yourself.
“Create a local metric view: Use the visual interface to define dimensions, measures, and joins scoped to your dashboard, without publishing to Unity Catalog.”Source: docs.databricks.com
Checkpoint 3 of 9· Check yourself
A SQL dataset is defined as SELECT * FROM hr.employees. The only widget on it is a bar chart of headcount by department, so no widget shows the salary column. What does a viewer of the published dashboard get?
Viewers can access all data in a dataset, including columns that no visualization shows. Databricks advises against SELECT * and recommends selecting only the columns the widgets need. It is advice, though, not a rule that rejects the query.
“Dashboard viewers can access all data in a dataset, even if it's not shown in visualizations.”Source: docs.databricks.com
Checkpoint 4 of 9· Exam question
A dashboard must show order volume from the orders table alongside marketing spend from a separate marketing_spend table, displayed as two independent widgets on the same page. How should the analyst configure the underlying data for this?
Correct answer: A — Create two separate datasets, one query against orders and one against marketing_spend, and assign each widget to the matching dataset.
- A. Each dataset is defined from its own query or table, and a dashboard can hold multiple datasets, so pairing one dataset per source table with its own widget keeps the two sources independent.
- B. Joining the tables into one dataset would force both widgets to share a single combined result set, which is unnecessary when the two widgets need to chart unrelated metrics separately.
- C. A filter option only supplies selectable values for parameterizing a query; it cannot import a whole second table's rows into the
ordersdataset for a widget to render. - D. Global filters constrain existing dataset queries with parameter values; they are not a mechanism for attaching an unrelated table's data to widgets bound to a different dataset.
3.Pages and canvas layout
Pages divide the canvas into separate views of one dashboard. A new dashboard starts with a single page called Untitled page. Click the plus icon to the right of the current page title to add another, and double-click a title to rename it. If two pages get the same name, a number is added to resolve the clash. Multiple pages let you structure a complex report and avoid one long scrolling page.
Pages also define filter scope, and this is the main reason to add one. A filter widget placed on a page is a page-level filter. It applies to all visualizations on that page that share a dataset, and the other pages ignore it. Suppose you want an executive summary and a regional breakdown, each with its own filters. Put them on two pages. Don't stack everything on one page and use widget-level filters to hide charts, because those filters are static values set by the author, not view switches. Don't duplicate the dashboard into a second object either. Only a global filter reaches across pages.
Page operations sit in the kebab menu next to each page title and behave differently:
- Delete removes the page and every widget on it.
- Clone makes an exact copy of the page and its widgets, and the clone reuses the same datasets.
- Copy and paste to another draft dashboard (Command/Ctrl-C, then Command/Ctrl-V) copies the widgets, and the page's datasets are created again as new datasets in the target dashboard.
- Hide from published dashboard keeps a working page visible to authors in the draft but leaves it out when you publish.
On a page, you arrange the layout by dragging widgets to position them and dragging their edges to resize them. Hold Command or Ctrl and click to select several widgets, which then move together as a group. Right-click a widget to clone it, and the clone appears below the original. The Delete key removes the selected widget, and Command/Ctrl-Z undoes the last change on the canvas.
Checkpoint 5 of 9· Match them up
Each page title on the canvas has a kebab menu, and the page can also be copied with keyboard shortcuts. These operations treat the page's widgets and datasets differently. Match each page operation to its result.
Tap a term, then the definition that fits it.
A clone stays in the same dashboard, so it shares the existing datasets. A page pasted into another dashboard gets new copies of its datasets there, so it works on its own. Delete takes the page's widgets with it, and Hide only keeps the page out of the published version.
“The new page is an exact copy of the original, including all widgets. The underlying datasets remain unchanged.”Source: docs.databricks.com
Checkpoint 6 of 9· Exam question
A data analyst is building an AI/BI dashboard that needs a high-level executive summary view and a separate, more detailed regional breakdown view, each with its own set of visualizations and filters that should not affect the other view. What should the analyst do?
Correct answer: A — Add a second page to the dashboard and place the regional breakdown widgets and filters there, separate from the summary page.
- A. AI/BI dashboards support multiple pages, and moving the regional widgets and their filters to a second page keeps each view's layout and filter scope independent.
- B. Duplicating into a separate dashboard file breaks the single-dashboard requirement and forces the analyst to maintain two disconnected objects instead of one cohesive dashboard.
- C. A widget-level filter only changes what one widget displays; it cannot hide an entire set of summary widgets to simulate a second view on one page.
- D. Dashboards do not auto-organize widgets into views based on dataset choice; page placement is a layout decision the analyst makes explicitly.
4.Visualization widgets
A visualization widget displays a dataset as a chart. Click Add a visualization, place the widget on the canvas, and the configuration panel opens on the right. The panel starts with the first dataset on the Data tab and a Bar chart as the visualization type. From there you work through four choices:
- Choose the dataset from the Dataset drop-down.
- Choose the chart type from the Visualization drop-down.
- Click the plus icon on each axis to pick fields.
- Click a field to set its Scale Type (for example Continuous) and its Transform, such as HOURLY for a timestamp or AVG or SUM for a measure.
Here is a concrete case from the taxi tutorial. Put tpep_dropoff_datetime on the X axis with Transform HOURLY and fare_amount on the Y axis with Transform AVG, and you get average fare by hour of dropoff. To make the same chart by pickup time, right-click it, choose Clone, and change the X field to tpep_pickup_datetime. Cloning keeps the dataset binding and settings, so it is the quickest way to build a series of similar charts. Some chart types offer layout choices in the Y-axis menu. A bar chart can be Stack, 100% Stack or Group. Choosing the right chart type for an insight is covered in effective visualization types.
A visualization widget's title and description use the same rich-text editor as text widgets, with one exception: they can't contain images. So a chart widget is not a place to put a logo.
Checkpoint 7 of 9· Check yourself
A sales dashboard needs the company logo next to its revenue-by-month bar chart. The author opens the chart's title and description in the rich-text editor to add it. What should the author do?
A visualization widget's title and description use the text widget's editor with one exception: they don't support images. That applies to the title as well as the description, so the logo goes in its own widget, such as a text widget, and not in the chart.
“Visualization widget titles and descriptions use the same editor, with the exception that they don't support images.”Source: docs.databricks.com
5.Text and image widgets
A text widget adds formatted text, links, tables and images to the canvas. Drag one onto a page and double-click it to edit. The toolbar handles block style, font (20 open source fonts), size, color, alignment, links, tables and images. If you prefer Markdown, use kebab menu > Show markdown to edit the widget as Markdown source. Headings, bold, lists, tables and links all render. Text widgets suit page headers, explanatory notes and links to related reports.
A static image such as a logo or diagram can go in either a text widget or a dedicated image widget. In a text widget, the image icon opens an editor where you enter a URL or path and optional alt text. An image widget shows a standalone image and resizes it to fit the widget in draft mode, published mode, exports and embedded dashboards. Use the text widget when the image sits within text, and the image widget for a standalone logo that must scale. Visualization widgets, filter widgets and datasets can't hold an image, so none of them is ever the answer.
| Source | Behaviour and limits |
|---|---|
| Direct upload (drag a file in) | Stored in the dashboard definition; limited to 50,000 characters encoded, about 37 KB |
| Databricks volume path | Use for larger images; viewers need explicit access to the file |
| Publicly hosted URL | Insert the public URL that points to the image |
A volume-hosted image is referenced by a URL built from your instance name and the file's volume path. To get the path, open the file in Catalog Explorer and choose Copy Path from its kebab menu. Leave out the workspace ID if your deployment URL includes one.
https://<databricks-instance>/ajax-api/2.0/fs/files/<Volumes/path/to/image>Volume images bring a common failure: the logo shows up for the author but appears broken for viewers. Viewers need explicit access to the image file, and that is true whether the dashboard is published with shared or individual data permissions. Grant the access in Catalog Explorer. Image widgets accept PNG, JPEG/JPG and SVG. They default to Fit, which keeps the aspect ratio and never crops. Fill stretches the image to the widget's width and adds a scroll bar if it overflows.
Checkpoint 8 of 9· Fill the gap
To show a company logo stored in a Unity Catalog volume, you build its URL from your instance name and the file's volume path. Which token completes the URL format?
https://<databricks-instance>/ajax-api/2.0/fs/ ? /<Volumes/path/to/image>A volume-hosted image is referenced through the files endpoint: https://<databricks-instance>/ajax-api/2.0/fs/files/ followed by the path copied with Copy Path in Catalog Explorer. The URL alone is not enough: viewers also need explicit access to the image file, or the logo appears broken for them.
Source: docs.databricks.comCheckpoint 9 of 9· Exam question
An analyst wants to upload a company logo file from their computer and show it on its own on an AI/BI dashboard canvas, resized to fit the widget. Which widget type should they drag onto the canvas?
Correct answer: A — An image widget
- A. An image widget is the dedicated widget for adding a standalone image such as a logo to a dashboard. It accepts an uploaded or browsed file, a URL or volume path, or a workspace image, and resizes the image to fit the widget.
- B. A text widget can reference an image by URL or path inside its content, but for an uploaded image file or an image stored in the workspace the documentation directs authors to use an image widget instead.
- C. A visualization widget renders chart or table output from a dataset and is not used to place an uploaded image file on the canvas.
- D. A filter widget lets viewers control filter values for the dashboard and has no mechanism for displaying an uploaded image.
Sources
(9)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.https://docs.databricks.com/aws/en/dashboards/manageOfficial docs
“Dashboard editors can build and configure their dashboards by adding widgets such as visualizations, filters, text, and images.”
↩︎ The two halves of an AI/BI dashboard“Changes to a draft dashboard are saved automatically, but they do not automatically sync with the published version if it exists.”
↩︎ The two halves of an AI/BI dashboard“Datasets are bundled with dashboards when sharing, importing, or exporting them using the UI or API.”
↩︎ The two halves of an AI/BI dashboard“New dashboards start with a single page named Untitled page.”
↩︎ Pages and canvas layout“The new page is an exact copy of the original, including all widgets. The underlying datasets remain unchanged.”
↩︎ Pages and canvas layout“All datasets used by the page are created as new datasets in the target dashboard, ensuring the page functions independently.”
↩︎ Pages and canvas layout“Hidden pages remain visible to authors in the draft dashboard and are excluded when you publish.”
↩︎ Pages and canvas layout“When multiple widgets are selected, moving one of them moves the whole selection together as a group.”
↩︎ Pages and canvas layout“The Data tab allows users to define datasets for use in the dashboard.”
↩︎ Key concept - 2.
“You have at least CAN USE access to one or more SQL warehouses.”
↩︎ The two halves of an AI/BI dashboard“Use your mouse to arrange and resize your charts and filters.”
↩︎ Pages and canvas layout“Click Add a visualization to add a visualization widget and use your mouse to place it on the canvas.”
↩︎ Visualization widgets“Right-click on your existing chart and then click Clone.”
↩︎ Visualization widgets - 3.
“Only queries that can be wrapped in additional SQL are valid.”
↩︎ Adding datasets from several sources“A fully-qualified table name in the query overrides the catalog and schema selectors in the editor.”
↩︎ Adding datasets from several sources“Delete: Delete a dataset. This option is unavailable if the dataset is being used on the canvas.”
↩︎ Adding datasets from several sources“Datasets currently in use on the canvas appear in bold text with a blue icon”
↩︎ Adding datasets from several sources“Dashboard viewers can access all data in a dataset, even if it's not shown in visualizations.”
↩︎ Exam trap 4“Create a local metric view: Use the visual interface to define dimensions, measures, and joins scoped to your dashboard, without publishing to Unity Catalog.”
↩︎ Checkpoint“Dashboard viewers can access all data in a dataset, even if it's not shown in visualizations.”
↩︎ Checkpoint - 4.
“By default, the first dataset listed on the Data tab is selected, and the default visualization type is a Bar chart.”
↩︎ Adding datasets from several sources“Select a dataset: Use the Dataset drop-down to choose the dataset for your visualization.”
↩︎ Exam trap 1“Select a dataset: Use the Dataset drop-down to choose the dataset for your visualization.”
↩︎ Prediction - 5.
“By default, a filter or a cross-filter selection applies to every visualization built on the same dataset.”
↩︎ Adding datasets from several sources“Global filters: Interactive filters that apply across all pages in a dashboard for visualizations that share one or more datasets.”
↩︎ Pages and canvas layout“Page-level filters: Interactive filter widgets that apply to all visualizations on the same page that share one or more datasets.”
↩︎ Exam trap 2 - 6.
“The canvas can be organized into multiple pages to structure complex reports and minimize scrolling.”
↩︎ Pages and canvas layout - 7.
“In the Layout section, choose Stack or 100% Stack, or Group.”
↩︎ Visualization widgets - 8.
“Visualization widget titles and descriptions use the same editor, with the exception that they don't support images.”
↩︎ Visualization widgets“Click the kebab menu > Show markdown to view the text widget in markdown syntax.”
↩︎ Text and image widgets“you must explicitly grant users access to image files stored on Databricks.”
↩︎ Text and image widgets“Visualization widget titles and descriptions use the same editor, with the exception that they don't support images.”
↩︎ Exam trap 3“Text widgets let you add formatted text, links, and images to your dashboards.”
↩︎ Prediction - 9.
“Image widgets let you add a standalone image, such as a logo, diagram, or other branded visual, to a dashboard.”
↩︎ Text and image widgets“Direct uploads are stored in the dashboard definition and are limited to 50,000 characters when encoded, which is approximately 37 KB.”
↩︎ Text and image widgets“Image widgets support PNG, JPEG/JPG, and SVG files.”
↩︎ Text and image widgets