---
title: Dashboards in Databricks notebooks
description: Build notebook dashboards and AI/BI dashboards from Databricks notebook cell outputs to publish and share graphs and visualizations across your organization.
canonical_url: https://docs.databricks.com/aws/en/notebooks/dashboards
---

# Dashboards in Databricks notebooks

You can create dashboards from Databricks notebook cell outputs to publish graphs and visualizations and share them in a presentation format across your organization.

## Create or add to a dashboard

You create a dashboard by adding an item to it. There are two types of dashboards you can create from a notebook.

* **Notebook dashboard**: Notebook dashboards reformat your notebook into a presentation. The dashboard content is tied to the output of a notebook cell. You can share and schedule notebook dashboards as you would with any notebook.
* **AI/BI dashboard**: Databricks recommends AI/BI dashboards for creating and sharing dashboards across an organization. For more information about AI/BI dashboards, see [Dashboards](https://docs.databricks.com/aws/en/dashboards/index.md).

To add a visualization or output results table to a dashboard, click the down arrow next to the tab name. Then, choose the dashboard type you want to build.

![Menu the shows buttons for adding visualization to dashboard](https://docs.databricks.com/aws/en/images/notebooks/viz-and-md-dashboard-menus.png)

### <a id="create-notebook-dash" />Create or add to a notebook dashboard

> [!NOTE]
>
> Content in notebook dashboards are tied to the output of notebook cells. If you clear the cell output, the dashboard content is also cleared.

To create a notebook dashboard, use the following steps:

* Select **Add to notebook dashboard >**.
  * If you select **Add to new notebook dashboard**, the new dashboard is automatically displayed.
  * To add the plot to an existing dashboard, click the name of the dashboard. A checkmark appears to indicate that the plot is now on that dashboard. The dashboard is not automatically displayed. To go to the dashboard, click ![go to dashboard icon](https://docs.databricks.com/aws/en/images/notebooks/go-to-dashboard-icon.png) to the right of the dashboard name.

### <a id="create-aibi-dash" />Create or add to an AI/BI dashboard

> [!NOTE]
>
> Only visualizations from SQL cells can be added to AI/BI dashboards.

To create an AI/BI dashboard, use the following steps:

1. Select **Add to dashboard**.
2. In the **Add to dashboard** dialog, select **Create a new dashboard** or **Add to existing dashboard**.

If you select **Create new dashboard**:

1. An automatically generated dashboard title is provided in the **Name** field. Enter a new name to rename the dashboard.
2. Select the widgets you want to appear on the dashboard.
3. Click **Create**.

If you select **Add to existing dashboard**:

1. Use the drop-down menu in the **Name** field to select the dashboard for your visualization.
2. Select the widgets that you want to include.
3. Click **Import**.

You can configure and edit visualizations on your dashboard's pages. You can access the queries associated with your visualizations in your dashboard's **Data** tab. The remaining instructions on this page pertain to notebook dashboards. To learn how to manage and share your AI/BI dashboard, see [Dashboards](https://docs.databricks.com/aws/en/dashboards/index.md).

## Control size and placement of items on a notebook dashboard

* To resize an item, click ![corner resize icon on dashboard](https://docs.databricks.com/aws/en/images/notebooks/corner-icon.png) at the lower-right corner and move your cursor until the item is the size you want.
* To move an item, click in the item and hold while you move your cursor.
* There are two layout options in the right panel, **Stack** and **Float**. **Stack** keeps the items neatly lined up on the dashboard. To move items around more freely, select **Float**.
* To add a name to a plot, move your cursor over the plot. A control panel ![dashboard item control panel](https://docs.databricks.com/aws/en/images/notebooks/control-panel.png) appears on the right.
  * Select the Settings icon ![Gear fill icon.](https://docs.databricks.com/aws/en/images/product-icons/GearFillIcon.svg). The **Configure Dashboard Element** dialog appears.
  * In the dialog, click **Show Title**, enter a title for the plot, and click **Save**.
* To remove the item from the dashboard, move your cursor over the plot to display the control panel in the upper-right corner, and click ![Close small icon.](https://docs.databricks.com/aws/en/images/product-icons/CloseSmallIcon.svg).

## Add a title to a notebook dashboard

On the right panel, click ![Pencil icon.](https://docs.databricks.com/aws/en/images/product-icons/PencilIcon.svg) to edit the dashboard title. Enter the new title for the dashboard. Click ![Save icon.](https://docs.databricks.com/aws/en/images/product-icons/SaveIcon.svg) to save the title.

## <a id="db-icon" />Navigate between a notebook dashboard and a notebook

In the top right of a notebook or notebook dashboard, click ![Dashboard icon.](https://docs.databricks.com/aws/en/images/product-icons/DashboardIcon.svg) to view all dashboards associated with the notebook. Click on a dashboard's name to switch to a view of that dashboard. Click **Notebook view** to switch back to the notebook editor.

To go from a dashboard directly to the notebook cell that created a plot, hover over the plot, then click ![New window icon.](https://docs.databricks.com/aws/en/images/product-icons/NewWindowIcon.svg) on the right side.

![Open notebook dashboard menu](https://assets.docs.databricks.com/_static/images/notebooks/notebook-dashboard-menu.gif)

## Present a notebook dashboard

To present a dashboard, click ![Fullscreen icon.](https://docs.databricks.com/aws/en/images/product-icons/FullscreenIcon.svg) **Fullscreen**. To return to the interactive dashboard, click **Exit** in the upper-left corner or press the `Esc` key.

## Delete a notebook dashboard

To delete a dashboard, click **Delete this dashboard**.

## Create a scheduled job to refresh a notebook dashboard

Click **![Calendar icon.](https://docs.databricks.com/aws/en/images/product-icons/CalendarIcon.svg) Schedule** to create a scheduled job for the notebook that generates the dashboard plots. The job refreshes the dashboard at the specified interval. For details about scheduled jobs, see [Create and manage scheduled notebook jobs](https://docs.databricks.com/aws/en/notebooks/schedule-notebook-jobs.md).

To view the dashboard with results from the latest scheduled run, click **![Dashboard icon.](https://docs.databricks.com/aws/en/images/product-icons/DashboardIcon.svg) Notebook and dashboard views** at the upper-right, then click **![Calendar icon.](https://docs.databricks.com/aws/en/images/product-icons/CalendarIcon.svg) View last successful run** next to the notebook dashboard. This dashboard view always shows the latest run results.

From the regular dashboard view, you can also click the link under **Last scheduled run** to see the latest run results.
