Skip to main content

Build a Dashboard

Lesson Objectives

 After completing this unit, you'll be able to:  

  • Explain how dashboards can improve analysis.
  • Combine views to build a dashboard.
  • Use best practices for dashboard buildings.

Before You Start

Before you continue with this module, make sure you complete Data Filtering and Sorting in Tableau Desktop. The work you do here builds on the concepts you learn in that module.

You’ve created a few views that communicate important information your manager needs to know. Now you need a way to say, “Hey, here’s the deal. See how we’ve got negative profit in these states? This is one of the reasons why.

Tableau has a sheet for that: the dashboard! You can use dashboards to display multiple worksheets at once and make them interact with each other as needed. By combining your views into an interactive dashboard, your stakeholders can compare a variety of data simultaneously, gaining deeper insights into the business.

Know the Best Practices for Dashboards

The following dashboard example provides an executive overview of sales by segment and category. It breaks down sales and profit, and offers a convenient map to view regional performance.

Example of a dashboard showing profitability of products.

This is a great dashboard. But before you build one like this, there are a few things to keep in mind.

  • Know your purpose and audience.
  • Be sure to place the most important view in the most prominent spot.
  • Construct your visualization at the size it will be viewed, being aware of devices that might be used to view it.
  • Limit the number of views to avoid crowding and clutter.

Create a Dashboard

Now that you have seen an example of what a dashboard looks like, you’re ready to set up your dashboard. Let’s get started.

If you’ve completed other Tableau modules in Trailhead, there’s a good chance you’re already familiar with the Trailhead Simulator. 

For the best experience, view the Trailhead Simulator on a computer, not a mobile device. Trailhead Simulator is different from a Trailhead Playground. The simulator doesn’t store your progress or any data you enter. If you close your browser, you start from the beginning of the simulation again. You can always use the navigation controls at the bottom of the simulator to get back to where you left off. 

A screenshot showing the navigation controls at the bottom of the simulator. There is a left arrow button, a right arrow button, a scrub bar, and a close (x) button.

Navigation Controls

Description

(1) Left Arrow

Go backward in the simulator.

(2) Right Arrow

Go forward in the simulator.

(3) Scrub Bar

View your progress, plus you can use the progress arrow to quickly move to a different location within the simulator.

(4) Close Button

Exit the simulator. Remember that if you close the simulator, you start from the beginning the next time you launch it.

When you click in the wrong spot, highlighting shows you where to click.

screenshot of what a highlighted element looks like in the simulator.

Now you’re ready to practice what you’ve learned and build some views in Tableau.

Combine Views in a Dashboard

You want to emphasize that certain items sold in certain places are doing poorly. Previously, you built a bar chart and a map view that demonstrate this point nicely—now if only they can be put together.

  1. Launch the Trailhead Simulator.
  2. Click Combine Views in a Dashboard.
  3. Click Begin.
  4. Click the New dashboard icon. New Dashboard icon at the bottom of a worksheet
  5. Notice the size of the dashboard. You want a larger area to combine your views. In the Dashboard pane at the left, click the Size dropdown.
  6. Next, click the Fixed size dropdown.
  7. Select Automatic so the dashboard will resize to fit any screen.
  8. Drag Sales in the South into your dashboard.
  9. Now drag Profit Map into your dashboard and place it above Sales in the South.
  10. While there’s some more work to do to get your dashboard the way you want it, it’s already looking good. You can see both views at once! Tableau dashboard with Profit Map at the top, Sales in the South below, and filters on the right.
  11. Click Next Exercise to continue to the next exercise.

Arrange Your Dashboard

It's not easy to see details in this dashboard. And because we already have the map in the dashboard, we probably don’t need some sections in the bar chart that indicate region.

Tableau dashboard highlighting the Region header and the Chairs subcategory for the year 2018.

Resolving these issues gives you more room to communicate the information you need.

  1. You should already be in Arrange Your Dashboard. If not, launch the Trailhead Simulator and click Arrange Your Dashboard.
  2. Click Begin.
  3. On the Sales in the South bar chart, right-click (PC) or control-click (Mac) in the column area under Region, and then deselect Show HeaderContext menu showing how to clear Show Header for Region
  4. Repeat this process to remove the Category row header.  You’ve now hidden unnecessary columns and rows from your dashboard while preserving the breakdown of your data. While you’re at it, clean up the map.
  5. Right-click the Profit Map title and select Hide Title.
  6. Repeat this step and hide the Sales in the South view title.
  7. Then, select the first Sub-Category filter card on the right side of your view, and click the Remove icon Remove icon.
  8. Repeat this step to remove the Region filter card.
  9. Next remove the second Sub-Category filter card.
  10. Now you are left with two items, Profit and Year of Order Date. Click the Profit color legend and drag it to below Sales in the South.
  11. You want to reposition the Year of Order Date filter closer to the map. Right-click (PC) or control-click (Mac) Year of Order Date at the top of the filter and then select Floating.
  12. You have made this filter a floating box, which means that you can place it anywhere. Click anywhere to continue. We have moved the Year of Order Date filter to just next to the Profit map view. Uncheck 2018 and 2017. Your data is quickly filtered to show that state performance varies year by year. That’s nice, but it can be made even easier to compare.
  13. Click the dropdown arrow at the top of the Year of Order Date filter, and select Single Value (Slider)Updated dashboard with titles of each view hidden and filters removedThat’s more like it! Now, you can easily compare profit and sales by year.
  14. Click Home to restart the activity or Exit to continue.

Congratulations! You just created a dashboard and rearranged and deleted components to reduce clutter and improve readability. Now you can compare regional sales on the map with details about what was ordered.

In the next unit, you learn how to add even more interactivity to make your dashboards more interesting and engaging.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈