Module 6: Building Interactive Dashboards in Tableau
Beginner Level
For 13-year-old learners
```
Module 6: Building Interactive Dashboards in Tableau
Module 6: Building Interactive Dashboards in Tableau
Introduction
Welcome to Module 6!
In the previous module, you learned how to use calculations in Tableau. You created calculated fields and used functions such as SUM, AVG, COUNT, MIN and MAX.
Now, imagine that the manager of a supermarket in Ibadan wants to see all the important sales information on one screen.
The manager wants to see:
- Total money made from sales.
- The products that sold the most.
- Daily sales performance.
- The best-selling product.
- Sales from different months.
Instead of opening many different charts, you can combine them into one dashboard.
That is what you will learn in this module.
1. What Is a Dashboard?
A dashboard is a screen that brings different charts, numbers and other information together in one place.
Think of a dashboard as the control panel of a car.
When you enter a car, you can see important information such as:
- Speed.
- Fuel level.
- Engine temperature.
- Distance travelled.
All this information appears on one dashboard.
A Tableau dashboard works in a similar way. It brings important information together so people can understand what is happening quickly.
Example: School Performance Dashboard
A school can create a dashboard showing:
- Total number of students.
- Average examination scores.
- Best-performing subjects.
- Students who need extra help.
- Performance by class.
The school principal can use this dashboard to understand how students are performing.
2. Why Are Dashboards Important?
Dashboards make information easier to understand.
Here are some reasons people use them:
A. They Save Time
Instead of checking many separate reports, users can see important information on one screen.
B. They Make Comparisons Easier
You can compare sales from different months or examination results from different classes.
C. They Help People Make Decisions
A supermarket manager can use a dashboard to decide which products need to be restocked.
D. They Make Data Interesting
Charts, colours and numbers make information easier to explore than a long list of figures.
3. Understanding Tableau Worksheets and Dashboards
Before building a dashboard, you need to understand the difference between a worksheet and a dashboard.
Worksheet
A worksheet is where you create an individual chart or visualisation.
For example, you can create:
- A bar chart showing product sales.
- A line chart showing monthly sales.
- A pie chart showing sales by category.
Dashboard
A dashboard is where you combine different worksheets into one screen.
Simple Example
Imagine you have created three worksheets:
- Product Sales Chart.
- Monthly Sales Chart.
- Sales by Category Chart.
You can bring all three worksheets together in one dashboard.
4. How to Create a Dashboard in Tableau
Follow these steps to create your first dashboard.
- Open your Tableau workbook.
- Make sure you have created at least two worksheets.
- Look at the sheet tabs at the bottom of Tableau.
- Click the New Dashboard icon near the worksheet tabs, or select New Dashboard from the Dashboard menu.
- A blank dashboard will appear.
- Look at the Sheets section on the left side.
- Drag a worksheet from the Sheets section into the dashboard area.
- Drag another worksheet into the dashboard.
- Arrange the charts so they are easy to read.
- Save your workbook.
Tip: Start with two or three charts. You do not need to put every chart into one dashboard. Too much information can make a dashboard confusing.
5. Understanding Dashboard Layouts
Dashboard layout means how you arrange charts, text and other objects on the screen.
Tableau provides different ways to arrange dashboard objects.
A. Tiled Layout
In a tiled layout, objects fit together in a structured arrangement. They do not overlap each other.
This is useful when you want your dashboard to look organised.
B. Floating Layout
In a floating layout, you can place an object on top of another object or position it freely.
This gives you more control over where objects appear.
C. Horizontal Containers
A horizontal container places objects beside each other from left to right.
D. Vertical Containers
A vertical container places objects above and below each other.
Example Dashboard Arrangement
A supermarket dashboard might have:
- Top: Dashboard title and total sales number.
- Middle left: Product sales bar chart.
- Middle right: Monthly sales line chart.
- Bottom: Sales by category chart.
6. Adding Filters to a Dashboard
A filter helps you show only the information you want to see.
For example, a supermarket dashboard may contain sales from January to December.
The manager may want to see only sales from March.
A filter can help the manager select March and hide the other months.
How to Add a Filter
- Open a worksheet used in your dashboard.
- Drag a field such as Month into the Filters shelf.
- Select the values you want to include.
- Click OK.
- Return to your dashboard.
- Open the menu for the worksheet on the dashboard.
- Select Filters and choose the Month filter.
- The filter control will appear on your dashboard.
You can now select different months to explore the sales information.
Example
A school dashboard contains results from JSS1, JSS2 and JSS3.
You can add a Class filter so that a teacher can select JSS1 and view only JSS1 results.
7. Making Filters Work Across Different Charts
Sometimes, you want one filter to control more than one chart.
For example, a Month filter should update:
- The monthly sales chart.
- The product sales chart.
- The total sales number.
To do this, you can configure the filter to apply to other worksheets that use the same data source.
How to Apply a Filter to Multiple Worksheets
- Open your dashboard.
- Find the filter control.
- Click its drop-down menu.
- Choose Apply to Worksheets.
- Select the worksheets you want the filter to control, or choose the appropriate all-using-related-data-source option.
The filter can now update more than one chart, depending on the worksheets and data sources selected.
8. Understanding Dashboard Actions
Dashboard actions make dashboards more interactive.
An action allows something to happen when a user clicks or selects information in a chart.
For example, imagine a chart showing sales of Rice, Bread and Milk.
When you click Rice, another chart can display information about Rice sales.
This is called a dashboard action.
Common Dashboard Actions
A. Filter Action
A filter action allows a selection in one chart to filter information in another chart.
B. Highlight Action
A highlight action makes selected information stand out while other information remains visible.
C. URL Action
A URL action opens a website when a user clicks a selected item, when the action is configured with a valid web address.
Example: School Dashboard
Imagine a dashboard showing the examination results of different classes.
When a teacher clicks JSS2 in a chart, another chart can show only the examination results for JSS2.
This makes the dashboard easier to explore.
9. Adding Text, Images and Objects
A good dashboard needs more than charts. You can also add other objects to make it easier to understand.
A. Text Objects
You can add a dashboard title, instructions or a short explanation.
Example title: CRMNuggets Supermarket Sales Dashboard
B. Image Objects
You can add a company logo or another suitable image.
C. Blank Objects
Blank objects help you create space between different parts of your dashboard.
D. Web Page Objects
A web page object can display a web page inside a dashboard when supported and configured correctly.
10. Dashboard Design Tips
A dashboard should be easy to read. Follow these simple rules:
- Use a clear title: Tell people what the dashboard is about.
- Choose readable colours: Avoid using too many colours.
- Keep charts organised: Place related charts close to each other.
- Avoid overcrowding: Do not put too many charts on one screen.
- Use clear labels: Make sure people understand what the numbers represent.
- Check your dashboard: Test filters and actions before sharing it.
Remember: A beautiful dashboard is not useful if people cannot understand it. Always make clarity your first priority.
11. Practical Activity: Build a Supermarket Dashboard
Now you will practise what you have learned.
Imagine you are working as a junior data analyst for a supermarket in Ibadan.
You have been given the following sales information:
| Product |
Month |
Sales |
| Rice |
January |
โฆ150,000 |
| Bread |
January |
โฆ80,000 |
| Milk |
January |
โฆ65,000 |
| Rice |
February |
โฆ180,000 |
| Bread |
February |
โฆ95,000 |
| Milk |
February |
โฆ75,000 |
| Rice |
March |
โฆ200,000 |
| Bread |
March |
โฆ100,000 |
| Milk |
March |
โฆ90,000 |
Your Tasks
- Enter the information into an Excel spreadsheet.
- Connect the spreadsheet to Tableau.
- Create a bar chart showing sales by product.
- Create a line chart showing sales by month.
- Create another chart showing sales by product and month.
- Create a new dashboard.
- Drag your charts into the dashboard.
- Add a title called Supermarket Sales Dashboard.
- Add a Month filter.
- Test the filter to see how the charts change.
- Arrange the dashboard so that it is easy to understand.
Challenge Activity
Imagine the supermarket manager asks you these questions:
- Which product had the highest sales in March?
- Which month had the highest total sales?
- Can you create a filter that allows the manager to view one month at a time?
- Can you make one chart filter another chart when you click a product?
Use your dashboard to answer these questions.
12. Key Terms to Remember
- Dashboard: A screen that combines different charts and information.
- Worksheet: A place where you create an individual chart.
- Tiled Layout: A layout where objects fit together without overlapping.
- Floating Layout: A layout that allows objects to be positioned freely.
- Filter: A tool that shows only selected information.
- Dashboard Action: An interaction that makes something happen when a user selects information.
- Filter Action: An action that filters another chart.
- Highlight Action: An action that makes selected information stand out.
- Container: A layout tool used to organise dashboard objects.
- Interactive Dashboard: A dashboard that allows users to explore information.
13. Knowledge Check
Question 1
What is a dashboard in Tableau?
- A screen that combines different charts and information
- A computer keyboard
- A spreadsheet formula
- A programming language
Question 2
Where do you create an individual chart in Tableau?
- Dashboard
- Worksheet
- Browser
- Recycle Bin
Question 3
What does a filter do?
- Deletes the entire workbook
- Shows selected information
- Turns off the computer
- Changes the computer password
Question 4
Which layout allows objects to overlap or be positioned freely?
- Tiled
- Floating
- Vertical
- Horizontal
Question 5
What does a horizontal container do?
- Places objects beside each other
- Deletes charts
- Counts numbers
- Changes data types
Question 6
What is the purpose of a dashboard action?
- To make the dashboard interactive
- To delete all worksheets
- To close Tableau
- To remove the data source
Question 7
Which dashboard action can make selected information stand out?
- Delete Action
- Highlight Action
- Close Action
- Save Action
Question 8
What should you avoid when designing a dashboard?
- Clear titles
- Readable colours
- Too much information
- Organised charts
Question 9
Which object can you use to add a title to a dashboard?
- Text object
- Filter object
- Data source
- Formula object
Question 10
What is one important benefit of a dashboard?
- It makes data harder to understand
- It combines useful information in one place
- It removes all data
- It prevents users from comparing information
Module 6 Summary
Congratulations! You have completed Module 6.
In this module, you learned:
- What dashboards are.
- Why dashboards are important.
- The difference between worksheets and dashboards.
- How to create a dashboard.
- How to arrange dashboard objects.
- How to add filters.
- How dashboard actions work.
- How to design a clear and useful dashboard.
Remember, a dashboard helps people understand important information quickly. It is one of the most useful features in Tableau.
Coming Up in Module 7
Sharing and Publishing Tableau Reports
In the next module, you will learn how to save, share and publish your Tableau work. You will also understand the difference between Tableau Public, Tableau Cloud and Tableau Server.
Keep learning and practising. You are getting closer to becoming a data analyst!