1. Refresh a dashboard in Databricks
Welcome to this quick demo on refreshing a dashboard in Databricks. Keeping your dashboard up to date is essential for making informed decisions based on the latest data. In this video, I'll guide you through the simple steps to refresh your dashboard and ensure you always view the most current information.
First, log in to your Databricks workspace. Once logged in to your Databricks workspace, you can find your dashboards under the 'Dashboards' section in the sidebar. Navigate to the dashboard you want to refresh.
With your dashboard open, we can begin configuring the refresh options. However, before doing that, make sure to publish the dashboard if it hasn't been published yet. A published dashboard allows you to enable scheduled refreshes and grants access to other users.
Click the 'Publish' button, typically located in the top right corner of the dashboard, and confirm your action by selecting 'Publish' in the pop-up window. We will discuss access permission management in the next chapter.
Once the dashboard is published, we can switch to the published view. Click the 'Draft' menu next to the dashboard name at the top and change it to 'Published'.
In the published view, we cannot edit the widgets anymore. Now we look for the 'Refresh' button, typically located in the upper right corner of the dashboard. This button allows us to refresh the data manually.
Click the 'Refresh' button. This action will update all the visualizations on your dashboard with the latest data from your underlying datasets.
If we want to automate this process, we can set up an automatic refresh. To do this, click on the settings icon next to the 'Schedule' button and select the refresh interval that suits your needs.
Once we create a schedule, the 'Schedule' button will change to a 'Subscribe' button. Clicking this button allows us to edit the schedule and manage subscribers. Subscribers will receive email updates of the dashboard. Additionally, we can easily pause or delete the existing schedule or create a new one.
Now, it’s your turn to practice.
2. Let's practice!