Introduction Training Tableau Desktop
Introduction
Tableau Desktop is a powerful data visualization tool that lets you connect to different data sets and create interactive dashboards and visualizations. Whether you are a business analyst, data scientist or just someone who needs to understand complex data, Tableau Desktop can help you discover insights and communicate them effectively.
In this first section, we cover the basics of Tableau Desktop, including how to download and install it and an overview of its user interface and functionality.
In this lesson, you'll learn
- How to download and install Tableau
- How Tableau's user interface works
- The basic functionalities of Tableau

Downloading and Installing Tableau Desktop
To get started with Tableau Desktop, you must first download and install it, of course. You can download a free trial version from the Tableau Web site, which allows you to usethe full functionality of the software for 14 days. After that, you must purchase a license to continue using it. We can help you with this, contact us for Tableau licensing.
Task 1: Install Tableau Desktop
Download Tableau Desktop at the link above. If you have downloaded the Installer, run it and follow the on-screen instructions to install Tableau Desktop on your computer.
User Interface and Functionality.
When you open Tableau Desktop for the first time, Tableau will ask you to register your trial account or log in to an already existing account. Make the choice that suits your situation. After this, you will be presented with a welcome screen where you can choose whether to connect to a dataset, open a saved workbook or create a new workbook from scratch. A workbook is Tableau's name for a dashboard.
If you choose to create a new workbook (click on the Tableau logo in the upper-left corner), you will be presented with a blank canvas on which to build your visualizations. We will now briefly go over the most important parts of the user interface:

- The Toolbar: This contains buttons for common actions such as saving your workbook, undoing and redoing actions, and refreshing your data.
- Data Pane: This shows the field names in the data source you are connected to and allows you to drag and drop fields to create visualizations.
- Canvas/View: This is where you create your visualizations. Views can include worksheets, dashboards and stories.
- Marks Card: These are located to the left and above the canvas and allow you to add filters, sort your data and customize the formatting of your visualizations.
- Show Me: This is located on the right side of the canvas and allows you to choose the type of visualization you want to create, such as a bar chart or line chart.
Task 2: Explore the user interface
Take a moment to explore the various options in the toolbars.
Conclusion
In this section, we've covered the basics of Tableau Desktop, including how to download and install it and an overview of its user interface and functionality. With this knowledge, you're ready to explore your data and create visualizations that help you gain insights and effectively share your findings with others. In the next lesson, we'll learn how to connect to data in Tableau. Then we can start building and really begin our analyses.
Connecting to data
Introduction
To create visualizations and dashboards in Tableau Desktop, you need to connect to a dataset. Tableau Desktop can connect to different types of data, such as Excel files, relational databases, and cloud services like Google Analytics. In this second lesson of our free Tableau Training, you'll learn how to connect to data and prepare it for use in Tableau Desktop.
In this lesson, you'll learn
- How to connect to data with Tableau
- How to prepare data with Tableau for creating visualizations
- How Tableau displays your data

Connecting to data
The goal of data visualization and working with Tableau, is to get insights from your data. For this, of course, you need data! Tableau supports lots of different data types. Such as an Excel file, a CSV file or a database such as SQL Server or Oracle. You can also connect to a cloud service such as Google Cloud, Amazon, Google Sheets or Salesforce. So a first step is to connect to a dataset.
When you click on the Tableau logo at the top left, you will see the screen above. To return to the welcome screen, click on the Tableau logo again.
To connect to a dataset, select the "Connect to Data" option on the Tableau Desktop welcome screen. A list of different datasets you can connect to will then appear. It is then just a matter of selecting the type of file or type of connection. In this training we will work with a training dataset that is automatically installed, namely the Sample - Superstore dataset. This can be found at the bottom left under "Saved Data Sources", and contains fictitious data about a store selling office supplies in different customer segments, along with the countries, delivery times, returns and managers per region.
Task 1: Connection
Connect to the dataset Sample Superstore.
Once you have connected to your data source, and you click on "Sheet 1," you will see a populated"Data Pane " on the left side of the screen containing the names of all the fields/columns in yourdataset ( see Lesson 1, Introduction to Tableau Desktop, Assignment 2). You can use this to explore the data and select the fields you want to use for your visualizations and dashboards. The columns (often called "fields") of your data are displayed here. In addition, there is an icon in front of the column name that shows you what type of data is in that column. We list the most commonly used icons for you:
Text (String) field
Numeric field
Date field
Date and time field
Geographic field
Boolean field
Discrete and continuous data
Another thing to notice is that when you hover over a column name, you see either ablue or agreen color . Tableau distinguishes between 'Discrete' (blue) or 'Continuous' (green) data. Briefly, this is the difference: you can do math with continuous values, you can't do math with discrete values.Discrete ( as in: separate, distinct) values arecategorical values : the name of a customer, for example, the category of a product. You can determine whether they are the same or not, but it makes little sense to start adding or multiplying with them. On the other hand, you havecontinuous values , these are often numbers or dates. There is anunderlying logic that allows you to calculate with them. For example, you can sum the value of all the products you've sold, and divide it by the number of months in your data set.
By the way, just because a field consists mostly of numbers doesn't always mean it is acontinuous value . For example, adding phone numbers together does not yield meaningful insights. At the same time, you could also use a column of customer names to count the number of different customers. Thus, you use a column ofcategorical data to create acontinuous value that you can again calculate with.
This video also gives a good explanation of the differences:
Data source pane
At the very bottom left of the screen we also see the Data Source tab, when selected we get a look under the hood. We then see the data in table form. Here you can view and checkthe contents of the data , make changes to the data, or createrelationships between different datasets.

Task 2: Data Sources
Click on Data Source at the bottom left of the screen
The Sample - Superstore dataset is basically an excel file with 3 different tabs. A tab with the orders (Orders), a tab with the managers (People) and a tab with the returns (Returns). You can view the contents of the different tabs by pressing the tab name.
The lines between the tabs indicate the relationship between them. By clicking on the line you can see which field this relationship is based on. For the line between 'Orders' and 'People', we can see that they have a relationship based on the 'Region' column.In the table 'Orders', it shows in which region a product was sold. For example, in the West region. Then the information from the table 'People'isadded to this. The'People'tablecontains the name of the account manager for the West region.

Task 3:
Look at the different tabs (tables) and the relationships between them. What is the relationship between Orders and Returns? What field is used for this purpose?
Preparing data
It is sometimes necessary to prepare and structureyour data . For example, if a certain column needs to be split or your data needs some cleaning up. You can prepare data in the data source page of Tableau Desktop. Here you can filter, sort, merge and split the data . This allows you to structure the data in the way you need for your visualizations and dashboards.
You can also create Calculated Fields in Tableau Desktop to virtually add new fields to the table based on the data in the existing fields. (Note: These fields or modifiers exist only in Tableau, you cannot modify the source table in any way from Tableau Desktop). For example, to create a new field for profit by subtracting the selling price from the cost. By creating calculated fields, you can further edit the data and make it more specific to your needs. We will cover these Calculated Fields in Lesson 4, Calculations and Functions in Tableau Desktop.
Conclusion
In this section, you learned how to connect to different types of data sources. In addition, you learned what the data in Tableau will look like, and the difference between Discrete and Continuous fields. You are also familiar with the Data Source Pane and how to connect different data sets or tabs together. By properly preparing and structuring the data, you can create effective visualizations and dashboards that provide insight into the data and help make informed decisions. In the next lesson, we'll get into creating visualizations.
Basic Visualizations
Introduction
Tableau Desktop offers a wide range of possible visualizations, including bar graphs, line graphs, pie charts, maps and many others. In this third lesson of our free training, you will learn how to create and customize these basic visualizations to present your data in the most effective way.
In this lesson, you'll learn
- How to create basic visualizations in Tableau
- How to customize created visualizations
- How to customize colors of your dashboard

Why should you visualize data?
Why should you visualize data in the first place? We visualize data because we as humans are much better atrecognizingpatterns visually than we are at drawing conclusions from atable full of numbers. Watch a clip from the BBC with 5 visualizations that have changed the world below, and find out why visualizing is very valuable.
Creating visualizations
It's very simple to create a visualization in Tableau Desktop. You select the data you want to use in data pane on the left side of your screen. Then you drag the fields to the 'Rows', 'Columns' and 'Marks ' cards to build the visualization. You can also use the 'Show me' to quickly and easily create a visualization based on a predefined template. We recommend that you become familiar with Tableau yourself without using show me. The assignments in this training will help you do that.
Tableau works with so-called sheets. On these sheets you create a visualization (e.g. a bar chart or a line chart). Each visualization gets its own sheet. Then you combine these sheets together to create a dashboard. In Chapter 8 we will learn how to create a dashboard. But so the first step is to create a sheet of your dashboard. What kind of visualization you make depends on the type ofdata you are working with and what question you are trying to answer with it. In this training we won't go into detail about when it's best to use which visualization. If you are interested in that anyway, this dashboard from colleague Andy Kriebel is a good starting point. First, let's start by creating a bar chart.
Task 1: Bar Chart
We start by creating a standard bar chart. Click on Sheet 1 if you haven't already opened it.
- Drag the 'Product ' field from the data pane to the Columnsshelf.
- Then drag'Sales ' to theRowsshelf.
Voilà, there is your very first visualization. Life can be that easy. Here you can also see the discrete and continuous fields in action. In the background, Tableau looks at what products there are, and groups them. Next, we add the Sales. Tableau then adds up all the Sales by Product, and shows them as a bar chart. Tableau then adds up all the Sales by Product, and displays them as a bar chart. The choice of chart type Tableau does automatically and is based on visual best practices belonging to this combination of data types. A helpful tip is to save your work and not just click away, because in this training we will build on the assignments we create in the same workbook.
It's good to look back at your visualization. It seems very intuitive, three columns for three product categories along with the total value of sales. And if you look closely at the little green pill, you'll see what you actually knew as knew: Tableau added up all the values stored by line in the original table, then broke them down by product category. Tableau will always go for an aggregation (= grouping/merging) for continuous (green) metrics, which by default is a sum, but you can choose another form of aggregation yourself.
Right click on the green pill with SUM(Sales), halfway the menu you will see Measure (Sum) . If you hover above this with your mouse, you will see that in addition to the sum, you can choose other aggregation levels, such as the mean, median and maximum and minimum. You can choose from all these (statistical) aggregation forms because Tableau will always want to summarize all the values in the whole column into one number. It is important to understand this if you want to perform more complex calculations later.

Line chart
We got the hang of it and go right ahead and create a Line Chart.
- Creates a new sheet.
At the bottom of the screen, next to Sheet 1 are three smaller buttons. The first button creates aNew worksheet. You can rename sheets by double-clicking on them and entering the new name.

Create a new sheet and name it Line Chart, rename the old Sheet 1 Bar Chart.
Now that we have a new blank worksheet we are going to start working on the Line Chart.
- First, drag the Order Datecolumn to columns.
- Then drag Sales to Rows.
We now have a simple line chart by year. We are going to modify this to a line chart for each month.
In the columns shelf , right-click YEAR(Order Date), and select the Month May 2015 option .
Task 2: Line Chart
Create a new sheet and name it Line Chart, rename the old Sheet 1 Bar Chart.
Now that we have a new blank worksheet we are going to start the Line Chart.
- First, drag the Order Datecolumn to columns.
- Then drag Sales to Rows.
We now have a simple line chart by year. We are going to modify this to a line chart for each month.
In the columns shelf , right-click YEAR(Order Date), and select the Month May 2015 option .

Task 3:
Now create your own line chart showing sales by month for the past few years. Use the steps above.
Pie Chart
Another visualization you often see is a Pie Chartor pie chart. This circle is dividedinto pie slices, indicating a division between different categories. To create a Pie Chart we will first open another new sheet.
- If you hadn't already done so: rename the sheet from the previous exercise to 'Line Chart'.
- Create a new sheet.
- Click on the drop down menu in the Marks Card, which now says Automatic.
- Choose the Pie option , which is how Tableau knows we want to create a pie chart. So we see that an additional option appears in the Marks pane, which isAngle. We want to see in our Pie chart theProfit ( profit) per store segment.
- Add the Segment column by dragging it onto Color in the Marks Pane. The circle is now divided into the number of categories in the data set, three in this case.
- Drag Profit to Angle in the Marks Pane, thus dividing the 360 degrees of the circle (the total profit) among the three categories based on their relationship to each other.
This is how we created a pie chart.

Task 4:
Create a pie chart for profits by segment.
Customizing visualizations
Once created, you can customizea visualization by adjusting its colors, fonts, labels, axes and other properties. You can also add filters and parameters to make the visualization interactive, allowing users to zoom in on specific parts of the data. We'll go into this in more detail in Training 5 on Filters and Sets.
For now, we're going to add colors to our charts. Let's start with the bar chart. We would like to color the bars by how many sales they have. So the darker, the more sales.
- At the bottom of your screen, go back to the Bar Chartsheet .
- We want to color Sales, so pick up Sales and drag to Color in the Marks Pane.
Tableau then automatically colors the Bar Chart based on which bar has the most/least sales. A legend automatically appears on the right side of the screen showing which color means what. Since we are adding color based on a continuous value on one scale (money), we also see a continuous gradation of one base color.
Task 5:
Color the bar chart based on Sales.

- In Tableau Desktop, go back to the 'Bar Chart' sheet.
- Right-click in the Legendand choose 'Edit Colors'. You can now apply a different color. You can also do this by clicking Colour in the Marks Pane.

Task 6:
Adjust the ground color of your Bar Chart to your own preference.
COLOR USE: DIMENSIONS VS. DIMENSIONS
Besides based on continuous values, we can of course assign colors to different categorical values, as we already saw with the Pie Chart. We can adjust those colors there too, if we want. This works in exactly the same way. Also with the Line Chart, you could drag a dimension/categorical field to color. By doing this, you add an additional layer of information, and the one line you saw is broken up into the number of different values the field used - each with a different color.
Task 7:
Adjust the colors of the Line Chart and the Pie Chart. Use the Segment field to color the Line Chart.
If you now go back to the Pie Chart, whereSegment is already set to Color, you will see that your pie chart has the same colors as the same segments at the Line Chart. If you adjust these colors at the Pie Chart, you will see that they are also adjusted at the Line Chart. So, since the values in the Segment field are discrete, we also use different (ground) colors for different values here. Don't forget to save your work because we will continue with the visualizations created.
Note: If you use colors to distinguish different product categories, for example, you connect those colors to specific values. If you then use the same colors again on the same dashboard for other values, you create associations between values in your dashboard that you don't mean at all. More on this in Chapter 10, Best Practices.

Conclusion
In this section, you learned how to create and customize some basic visualizations in Tableau Desktop. By using the different visualization types and customizing properties such as color, you can present data effectively and provideinsight into the trends and patterns hidden in the data. In the next chapter, we will create our own calculations that we can use in our visualizations.
Calculated Fields
Introduction
Calculated Fields are a powerful way to use and analyze data in Tableau Desktop. You can compare it to a calculation you can make in Excel, but much more elaborate: namely, you always create a new column. In this section of the free training you will learn how to create and use Calculated Fields. We also learn in this section how to use Calculated Fields to perform advanced analysis.
In this lesson, you will learn
- How to create Calculated Fields
- What different functions there are
- What kinds of calculations you can create

Creating Calculated Fields
Calculated Fields are fields (that is, columns in the table) that are created based on other fields in the data. By creating Calculated Fields, you can manipulate data and createnew dimensions or measures that are not directly available in the data.
To create a Calculated Field in Tableau Desktop, select the 'Create Calculated Field ' option from the menu by the arrow in the 'Data Pane' window , then write a formula that performs the calculation. This formula contains so-called functions that you can use in your calculation. In the next section we will elaborate on these functions.
Task 1:
Create a new Calculated Field.

Using Functions
Tableau Desktop offers a wide range of functions that you can use to manipulate data and perform advanced analysis. In Tableau, they are conveniently divided into several categories. In the field where you create the Calculated Fields, you can expand a sidebar by pressing the arrow on the right side of the screen. At the top right of this screen is an 'All' button. By clicking this you will see the different categories. To its right, you will then see for each function you select what the function does, and how to use it. Note that the syntax is quite narrow, so pay close attention!
These different categories mean the following:
String calculations allow you to edit String (=text) fields. Among other things, you can change certain columns to upper or lower case. You can also remove spaces left in your data by mistake.
Here you will find all the functions to edit date fields. So you can do math with date fields. For example, if you want to know how many days a package was in transit. You then calculate the difference between the shipping date and the delivery date.
In some cases it is convenient to change the data type of your column. For example, if you want to convert a date to text.
Logical functions allow you to perform tests on your data. An example is an if/then formula. For example, you test whether the profit is positive. Once the profit is positive, you can fill the column with the text 'Positive' and the other fields with 'Negative'. This can be useful if you want to color visualizations based on positive or negative profit.
As we have seen, Tableau automatically turns continuous values into an aggregation, a grouping. In our Bar Chart, for example, we calculated the total profit per product, because Tableau automatically aggregated the profit per item by product group. SUM() is Tableau's default aggregation, but of course we want to be able to calculate averages or maxima in addition to summation, for example. These are all aggregate functions that you can find in this list.
A number of functions you can use to make calculations with the user of the dashboard. For example, you can test whether or not a particular user belongs to a team and therefore should or should not see certain data in the dashboard.
Although all the data you visualize is in a (source) table, you can also translate the visualizations you create in Tableau into a small table. Table Calculations let you perform calculations on that table. For example, for a given product category, you can determine what percent of total sales that category represents. Tableau then first calculates the Sales by Category, and then how that translates to percentages.
Tableau also supports geographic maps. The Spatial functions contain a number of spatial calculations that you can use. For example, you can create a buffer around a particular point.
In short, You can use functions to filter, sort, calculate and aggregate data . This allows you to understand the data and the trends and patterns hidden in it. To practice, we have some examples of Calculated Fields.
Task 2:
Open and explore the different categories and possible functions.
See if you can find the SPLIT function and how it can be used within Tableau Desktop. What category is it under?
See if you can find the DATEDIFF function, what category is it under? And what do you think the function does?
Profit ratio
In the Sample Superstore source we use, there is already a Calculated Field. You can recognize this one by the small = signin front of the column. Although we will find this field in the original source data, we can use it in the dashboard. The field called "Profit Ratio," or profit percentage. We can also modify this calculated field and see how the calculation was made. For a profit ratio, we want to divide total profit by total sales.
![]()
Task 3:
Open the Profit Ratio field and see how it fits together.
- Right-click on the 'Profit Ratio'field.
- Choose the 'Edit'option...
- The Calculated Field will now open up. Here you can see the calculation with the Functions used.

Functions are colored blue in the calculation . Columns/fields used in the calculation are colored orange. So you can easily distinguish them. Furthermore, we see the function SUM. The SUM functionadds up all the values of the field mentioned inside the parenthesis. We use that function here first for the fields themselves because we want to calculate totalprofit by total sales. If the would only use profit/sales as a formula, Tableau calculates the profit ratio for each row in the dataset (i.e., for each individual sale), and then adds all these margins together. This gives us an incorrect result. So it is important that we use SUM. So we divide the SUM of profit by the SUM of sales.
Tip: with two '// ' characters, we can puta comment in the calculated field. Useful if colleagues later want to view or modify the explanation of a calculation.
4. Type a comment by starting with //. The text turns gray, so you know that the comment has no further influence on the calculation.
Task 4:
Type a comment in the calculated field by beginning with //, followed by your comment.
Calculating with text fields
As mentioned earlier, we can also "calculate"with texts. This may sound crazy, but we are going to explain it further in this exercise.
Suppose we want to know how often someone with the first name Mark placed an order. That will be a tricky job, because in our data we only have a name in combination with a last name. Therefore, we are going to create a Calculated Field that contains only the first name. We'll use the Split function to do this .
Task 5:
Create a Calculated Field to determine the first name of customers.
- Open a new Calculated Field
- Rename the Calculated Field toFirst Name
- Then start typing the Function we want to use: SPLIT. Tableau automatically suggests functions that start with the letters you type in.
- Choose the SPLIT function, and on the right side of your screen you'll see how the SPLIT functionworks. If you don't see anything, click the word Split and possibly the right arrow to expand the function menu. We need to pointto a text fieldin the dataset, choose a letter or character on which we want to split the text, and a number for which part of the split text we want to use.
- Start with the column we want to split, "Customer Name.
- Then type a comma.
- Since we want to split based on a space between the first and last name, we type two single quotes with a space between them . This way, Tableau knows that the field should be split by a space' '.
- Next, type another comma.
- Next, type a 1. This 1 indicates that we want the 1st part of the split text.
Your calculation now looks like this:

Now create a new worksheet.
- Rename this sheet to "Mark.
- Now double-click your just created Calculated Field, First Name.
- Double-click the Customer Namecolumn .
- What do you see?
Don't forget to save your work 🙂 .
Time difference between date values
Let's continue with a slightly more difficult example. We would like to know how many days it takes for a customer's order to ship. It would be a chore to manually calculate the difference between the Order Date and the Shipping Date for each order . Fortunately, with Tableau's Calculated Fields, we can easily create a calculation to answer this question for all orders at once.
Assignment 6:
Create a calculated field to calculate the difference between the Order Date and the Shipping Date.
- Open a new Calculated Field;
- Rename the field to "Days until shipping.
- Start typing, and select the function DateDiff.See the menu for the syntax of this function;
- Then, between the function brackets, type 'day ' in quotes. This is because we want the difference in days;
- Follow with a comma;
- Start typing, and select 'Order date';
- Follow with a comma;
- Start typing from, and select'Ship data'.
Your Calculated Field will look like this:


On a new sheet, you can use the following columns for visualization: Days until shipping on the columns shelf, andOrder ID on the rows shelf. In the resulting bar chart you can see for each order how many days it took from order to shipping.

...At least, if we assume that each Order ID contains only one line.
Since Tableau automatically aggregates with SUM, we cannot tell whether this is the sum of 1, 5 or 100 lines. So it is always important to keep an eye on what Tableau is doing and what possible consequences it might have. There are several ways to test the outcome of our calculation.
- Right-click Days Until Shipping and choose Measure > Average, which causes Tableau to divide the sum of the number of days per Order ID by the number of lines that make up that sum.

either
2.Ensure that Days Until Shipping is aggregated as a sum. Right-click on one of bars in your screen of an Order ID with a very long delivery time. Click on View Data.... A pop up window will now open. If you now click on the name of the source table here, you will see the how in the visualization are the fields present in the table. In this case, the order probably contains 6 products, so there are 6 lines.


or
3. From theData Pane, again drag theOrder IDfield to the Columns Shelf next toDays Until Shipping. Right-clickOrder ID in the Columns Shelf and selectMeasure > Count. Now you'll see that theOrder IDfield turns green . At the top right corner of your screen, clickShow Me and select the table, at the far left corner. We now see that in many cases, Order IDs with high values forDays Until Shippingalso appear more frequently in the dataset. Coincidence? You name it, you're the analyst!

Conclusion
In this section, you learned how to use Calculated Fields and Functions in Tableau Desktop to manipulate data and perform advanced analysis. By using these functions, you can gain insight into the data and the trends and patterns hidden in it. It makes Tableau a powerful and flexible product. You can solve all your data questions using these calculated fields. In the next topic, we will continue with how to filter data in Tableau.
Filters and Sets
Introduction
Filters and setsprovide an effective way to filter and segmentdata in Tableau Desktop . In this section, you'll learn how to use filters and sets to analyze data. For example, filters are also very useful for users of your dashboards to look up informationrelevant to them . We are happy to explain how filters and sets work in Tableau in this free training.
In this lesson you will learn
- What different types of filters there are
- How to apply filters to your data
- How to use sets

Using filters
Filters are a powerful tool for filtering data based on specific criteria. In Tableau Desktop, you can apply filters to fields to limit data in your dashboard to a specific subset of the data. This can be useful for viewing data from a specific time period or location, for example . For example, users would then only see data for orders in the year 2023 instead of the years 2010 through 2023.
It is important to understand that a filter only impacts the number of rows in your dataset, not the possible columns. For each row in the dataset, it is determined whether the value of the field used as a filter (Order Date, for example) meets the filter condition (2023). Of all rows for which this applies, all values in all other fields are just usable.
It is also possible to apply multiple filters to a visualization. This way you perform a more complex analysis. Using filters, you can quickly zoom in on specific parts of the data and discover trends and patterns that would otherwise remain hidden. In addition, there are several types of filters to use in Tableau. Let's explore some of them.
Task 1:
Create a filter for the category column.
- Right-click the sheetLine chartyou created earlier and select Duplicate. Name the old sheet Line Chart Unfiltered and the new Line Chart.
- We now want to see the Sales, but only from the Consumer market segment .
- We will create a filter for the Segmentcolumn .
- Drag Segment to the filter pane.

- A new screen will open. There you will see the 3 values that appear in theSegment column. Select Consumer.
- PressOK.

- You will see the lines for the other segments disappear. At this point, only sales are visible for the Consumer segment . If you right-click again on the Segment field in the filter pane and select Show Filter, the filter will appear on the right side of your canvas.
Filter by date
In a similar way, we can also createdate filters. Here we are presented with only a few more options. After all, we can filter by months, years, days, whatever. Creating a filter for a date goes the same way:
Assignment 2:
Create a filter based on date, using the Order Date column.
- Drag Order Date to the Filter pane.
- The next field asks how we want to use the date field to filter. Choose the Yearsoption .
- Similar to the Segmet filter, we can now select one or more years. Select the years 2021 and 2022.
- Press OK.
- To make this filter more available to the user as well, again choose Show Filter. With the filters, also take a look at the different display options.
We see the line staggered. We now have only the 2021 and 2022 sales in the consumer segmentin our visualization. It's that easy to create a filter in Tableau and examine a subset of your data. In Training 8, Dashboards, we'll show you how to set up filters so users can apply them themselves. We also have some additional bonus assignments to practice with filters. Leave your emailon the left side of this page for that .
Using sets
Sets are a way to segment data based on a specific characteristic. For example, using sets you can segment customers based on their buying behavior or segment products based on their sales. For example, all products that achieve profit above a certain threshold.
You can create sets in Tableau by selectinga subset of the data and defining it as a set . Then you can use this set to perform analysis and create visualizations focused on this specific subset of the data.
Let's practice with that. We previously created a calculated field to retrieve all customers named Mark. Suppose we want to know how much someone named Mark spends on average on sales compared to someone not named Mark. Probably your first thought is to work with a filter. This is only inconvenient, because if we apply only Mark as a filter, we lose the data of people with a different name. A set is a perfect solution for this . There are several ways to create a set.
Task 3:
Create a set for the customers with first name Mark.
- Right-click on the sheet Markwhere you put the names and calculated field, and select Duplicate. Now name the new sheet Mark Set.
- Scroll through the list of names until you find the 5 Mark's in the data. (Mark with a C does not belong here .
- Select the Mark's by clicking on Abc in the right column, and dragging your mouse down until you have all the Mark's in your selection.

- Then right-click and choose the 'Create Set...'option.
- Name the set 'Mark'
- Press OK. You have now putall the Marks into a tray, so to speak.
- Drag your created set to Text.

As you can see, the data is now labeled 'In' or 'Out'. This indicates whether they are inside the set, or outside it. By creating visualizations with your set, you cancompare "trays" of data. You can use sets as text, as we've done now, by color, or even as filters.
Now we can find out whether customers named Mark spend more or less on average than people not named Mark.
- Create a new sheet and name it AVG Sales Mark.
- Drag the just created field 'Mark' to columns and Sales to rows. Tableau now aggregates all Sales as sums, making a huge difference appear to exist. Right-click on the green Sales pill and under Measure now select Average. Now the Mark and non-Mark group averages are closer together.
- Want to be able to see the exact numbers without hovering your mouse over the bars? Then drag Sales to the Label chart (with the T in it) and again aggregate on the average instead of the sum.
- On average, who is spending more money on our products? Marks or non-Marks?



Conclusion
In this section, you learned how to use filters and sets in Tableau Desktop to filter and segment data . By using these powerful tools, you can limit data to specific subsets and discover trends and patterns that would otherwise remain hidden. In the next lesson, we'll continue with grouping your data, and creating hierarchicalrelationships between fields.
Groups and Hierarchies
Introduction
In this lesson, you will learn how to use GroupsandHierarchies in Tableau Desktop to make complex data sets simpler and better understood. They are both operations that you apply to your data after you load it.
In this lesson, you'll learn
- What hierarchies and groups are
- How to create hierarchies and groups
- What to use hierarchies and groups for

What are groups and hierarchies?
The term group is easy to understand, but it's good to take a closer look at it. When you create a group in Tableau, you create a subset of data from a specific field by combining individual values. In other words, you can combine multiple elements into one group based on a common attribute or property.
For example, you can create a group of all products that belong to a particular product line, come from the same manufacturer or supplier, or a group with products that have the same starting letter. You can make these groups a kind of upper level that represents all values, or, for example, simply add together a group of products that you use often.
In Tableau, a "hierarchy" refers to an ordered structure of fields represented in a layered order. It allows you to view and analyze data at different levels of detail, from broad to specific. A hierarchy is can be thought of as a tree structure, each new layer falling exclusively under an overarching category.
Using hierarchies, you can aggregate data at different levels, such as from year to quarter to month, from continent to country to city, or from product category to sub-category to product name. This helps analyze and visualize data in a more structured and understandable way.
Task 1:
Explore the 'Location' hierarchy
After opening Tableau and the Sample - Superstore, you can see that two hierarchies have already been createdin the Data Pane. These are the 'Product ' hierarchyand the 'Location' hierarchy. For this exercise, we are going to look at the Product hierarchy. This hierarchy has already been created, by merging several dimensions and placing them in a certain order.

- Add the Locationhierarchy to Rows. You will now see that you have a plus sign in front of the Country/Region field. Press the plus/minus signto show or remove the fields. Is there some logic to the order of the fields? If so, which one?
- Right click on remove hierarchy. You will see that the plus/minus sign has disappeared from your fields on the rows.
- Add theLocationhierarchyagain by selecting the corresponding fields and right-clicking on one of them. Choose Hierarchy → Create Hierarchy and name it 'Location'.
- Place the fields in the correct order, from large to small.
- You can also create a hierarchy by dragging a dimension onto another dimension. Consider whether it is a logical hierarchy.
Task 2: Product hierarchy and groups
In this exercise we will look at the Product Hierarchy. When you open it you will see that there is a paper clip in front of Manufacturer. This indicates that Manufacturer is a group.
- Right-click Manufacturer and choose Edit Group....
- You will see that under Field Name is the name of the group. Below that, you will see the groups that have been formed within the manufacturer group. This is also where you can add, delete or edit new groups.
- Click on some groups and see what this group is based on. This may have been done manually or by using the Find button and setting a condition.
If you want to know what field is used for the group, right-click Manufacturer again and click Describe. Then under Remote column you will see that the Orders table was used and then the Product Name field.
Assignment 3: Create groups within the Category field
In this assignment we are going to create two groups from the Category field.
We merge Furniture & Office Supplies, the other group is Technology.
- Open a new sheet and rename the sheet to "Product Category Croups".
- Drag Category to Rows. Drag Sub-Category to the right of it.
- Drag Sales to Columns and sort Descending by clicking on the Sales axis.
- In the visualization, select Furnitureand Office Supplies. Right-click Group to create a group. Notice that the Category (group) has now appeared on the Row shelf. You can also find it in the data pane, if you want to change the group right click on it and choose "Edit Group...".
- You can add Category (group)to theProduct hierarchyby dragging it in.
Conclusion
In this lesson you have learned to work with hierarchies and groups. In the next lesson we will continue with advancedvisualizations and return to the exercises we did in the previous lessons. You now possess a goodfoundation to start with advanced visualizations and then also create dashboards. The fun part can begin 🙂 .
Advanced Visualizations
Introduction
In this part of the training we will cover the more advanced visualization techniques available in Tableau Desktop. Besides the standard visualizations we covered earlier, such as the bar chart and the line chart, there are also more complex visualizations that can be created. More complex in the sense that they are a bit trickier to create in Tableau . These techniques are useful for visualizingcomplex data sets and gaining deeper insight into the underlying patterns. In addition, they often look really cool, and make your dashboard a pretty picture.
In this class, you'll learn
- How to use Tableau to create advanced visualizations
- How to create a heatmap
- How to work with geographic data and create a map

VISUALIZATION TYPES
A heatmap is a color-codedrepresentation of data on a two-dimensional matrix. It is used to visualize trends in a data set with multiple variables.

A tree map is a graphical representation of hierarchical data that uses rectangular blocks to represent the relative size of each category. This allows you to quickly estimate how certain dimension values relate to both the whole and the other values in that dimension.

This type of graph allows you to show the relationship between two measurement values with a shared dimension in one visualization. You do this by adding a second axis of metrics opposite the first. For example, in a graph with the months in the year on x-axis, visualize both revenue and profit on the y-axis.
Moreover, because the profit axis has a different scale than the revenue axis, you can easily see that there appears to be a direct relationship between revenue and profit. If both axes had the same scale, the fluctuations in profit would have been flattened in the piece of y-axis between 0 and 50k.

A histogram is a graphical representation - usually a bar graph - of the frequency distribution of continuous variables. It is used to visualize the distribution of data in defined groups rather than on a continuous axis. For example, the delivery times of orders in groups of 0 to 1 day, 1 to 2 days, etc., rather than to the second precise delivery times.

A map is a visual representation of geographic data based on location data such as countries, cities or zip codes. There are several ways of displaying a map: putting specific points, highlighting entire countries or states, or more abstract areas. The background can also be changed as needed.

In the section below, we will cover the above techniques step by step and demonstrate how to apply them in Tableau Desktop. We will also share tips and best practices for using these techniques to create effective visualizations.
Once you master these techniques, you will be able to visualize complex data sets and gain the insights you need to make better business decisions.
HEATMAPS
The purpose of this visualization is to compareorders by month and shipping mode and discover patterns. For example, it can be interesting to see if there are certain months when one shipping mode ismore popular than the other.
This is done with a heatmap, a grid of cells where each cell is assigned a particular color based on the value that cell represents. Through the use of color and position, a heatmap can display a large amount of data in an efficient and clear manner. This can help identify patterns and trends in the data that are otherwise more difficult to identify such as with a text table, for example. Let's look together at how to create a heatmap.
Task 1:
Follow the following steps and create a heatmap.
- Create a new Sheet and rename it to '# Orders by Month and Shipmode (Heatmap)'.
- Drag Order Date to Columns and choose Month (May).
- Drag Shipmode to Rows, you now have the outline of your heatmap.
- Next, drag Orders (Count) to Color.
- Click Color, edit color and choose the palette Green-Gold.
To create a full-screen view, click Standard in the toolbar and choose Entire View.
You can now easily see which months and which ship mode have many orders, the darker green the more orders, the yellower the fewer orders. Standard Class always seems to have relatively many orders, and the months of September, November and December are high in orders in all Ship Modes.

Tree Maps
The purpose of the visualization is to display the sales of different categories and subcategories from the Superstore dataset. We do this with a tree map, and although the visualization has little to do with trees, this is a convenient way to show the relationship between part and wholein a visually appealing way . In the example below, you can see how the total sales are divided into three categories, from large (top left) to small (bottom right), and how, for each category, the sales are divided among the subcategories.

Task 2:
Create your own Tree map by following the following steps.
- Create a new Sheet and rename it to "Sales & Profit Ratio by Category and Sub-Category (Tree map).
- Drag Category to Text on the Marks Card.
- Then press the + sign so that Sub-Category appears. This unfolds the hierarchy, which we discussed earlier in Lesson 6.
- Drag Sales to Size on the Marks Card, and your Tree Map appears. You can now easily see which (sub)categories represent the most sales value, and how they relate to other (sub)categories.
- Now we still want to see what the profitability per box is, we do this by draggingProfit Ratio to Color on the Marks Card. This also allows us to see any relationship between sales and profit ratio per subcategory.
- By hovering your mouse over the different boxes, you will see the Sales and Profit Ratio in numbers. These numbers are not "formatted" yet; we will do this in the next steps:
- In the Data Pane, right-click on Profit Ratio and select Default Properties → Number Format and select Percentage with 1 decimal. Now these settings will be saved for the Profit Ratiofield and you won't have to do this every time.
- Do the same for Sales and select Currency (Custom)
- Decimal places: 1
- Display Units: Thousands (K)
- Prefix: $
- If you want to show Sales and Profit Ratio also in the visualization, drag a copy of these fields to Label on the Marks Card. You can do this from the Data Pane, or directly from the Marks Card by pressing Command (Apple) or CTRL (Windows) and moving the fields to Label.
- You can still adjust the formatting of Label, by clicking Label and then Text.
- Adjust the size of your visualization to make it clearer, also you can click on the bar at the top on Standard → Entire View.
Bonus: Use filters to do more detailed analysis based on specific years or regions.
Dual Axis Chart
The purpose of this task is to compare sales and profitability of different product categories and understand the relationship between the two.
We use a dual axis chartfor this purpose , which is a chart that uses two different y-axes or x-axes to show data, which can also have different scales. By using a dual axis chart, we can visualize and compareSales and Profit in the same chart . This allows us to easily see which categories are most profitable relative to sales. This can help us make decisions about which categories to promote or which to reconsider.

Task 3:
Recreate the above Dual Axis Chart.
- Create a new sheet and rename it to "Sales & Profit by Sub-Category (Dual Axis Chart).
- DragSub-Category to Rows.
- DragSales to Columns and sort from large to small (descending) , by clicking theSort button on the sales as.
- DragProfit toColumns, to the right ofSales.
- Right-clickProfit and selectDual Axis.Instead of steps 5&6, you can alsoreleaseProfit opposite the Sales axis in your chart until you see a green rectangle or "ruler" at the top of your visualization.
- Right-click on theSales axisorProfit axis and chooseSynchronize Axis.

- You will now see that you have been given three different Marks Cards: All, SUM(Sales) and SUM(Profit). Press the Marks Card ofSales and chooseBar.
- In the Data Pane, selectSales and Profit at the same time , right-click and chooseDefault Properties → Number Format → Currency (Custom)
- Decimal places:1
- Display Units:Thousands (K)
- Prefix:$
- At the Marks Card underColoryou can change the color. Color Salesgray and make Profitblue.
Bonus: Add a Calculated Field to make a negative Profit (Loss) a different color than profit (Profit). Give the title "Loss?" and the formula: SUM([Profit]) < 0
Add this field to the Marks Card of Profit. Then choose a red color for loss and a blue color for profit. Lesson 4 explains how Calculated Fields work if you need help.
Conclusion
In this lesson we learned how to create some Advanced Visualizations, and in what situations they are useful. Would you also like to learn how to create a map in Tableau? Or a Histogram? Contact usand we'll send you some additional assignments to practice with. Now that we've mastered the basic components of Tableau, we'll continue in the next lesson to bring the various components together in a dashboard.
Dashboards
Introduction
In this section of our Tableau Desktop training, we will focus on creating interactive dashboards in Tableau Desktop. Dashboards are a great way to merge multiple visualizations into one unifiedview, and creating effective dashboards requires a combination of designand analytical skills. In all previous training, we learned how to create certain charts and components for our dashboard. In this chapter, we will put these together to create an interactivedashboard. We will go step-by-step through the process of building a dashboard from start to finish and show how to combine the different elements of a dashboard to get the most valuableinsights from your data.
In this class, you'll learn
- How to combine visualizations into a dashboard
- How to add interactivity to a dashboard
- How to format your dashboards

Step 1: Create visualizations
We performed this step in the previous lessons, and it is obviously important. Before you can create a dashboard, you must first create the visualizations you want to include in the dashboard. Create severalvisualizations that fit together and together tell the story you want to tell. It can be confusing if you use different data sets or themes in a dashboard. Should you do this anyway, make that clear to the user.
Step 2: Drag and drop visualizations into the dashboard
After you have created the visualizations, you can drag and drop them into a newdashboard.
- Click on the 'Dashboard' tabat the bottom of the screen to open a new dashboard.

- Customize a design for different devices. For example, you can create a separate layout for your dashboard on a mobile or tablet .
- Set the size of your dashboard. You can choose FixedSize, in which case the size does not change regardless of the size of your screen. Automatic, in which the dashboard adapts to the size of your screen. And Range, where the dashboard adapts to the size of the screen within a certain range. For automatic size, you also have some handy predefined sizes. For example, a desktop screen or a laptop screen.
- Below that are the Sheets. These are the worksheets you created in previous courses. You can pick these up and drag them onto the canvas .
- At the bottom are the Objects. These are objects that you can add to your dashboard. For example, you can add an image with your company's logo.
- Finally, you see the option tiled and floating. Tiled means that your dashboard is automatically divided intoTiles (a kind of cubes), so the screen will always be filled. The sheets will not overlap on your dashboard. Floating allows you to drag the items in your dashboard aroundfreely.

2. Select as Size a FixedSize of a GenericDesktop (1366 x 768).
3. Drag the visualization "Line Chart" (Chap. 5, opr. 1) from the panel on the left into the dashboard canvas, and drag "Sales & Profit by Sub-Category (Dual Axis Chart)" (Chap. 7, opr. 3) into it so that it is placed below it. Then drag the heatmap of "# Orders" (Chap. 7, opdr. 1) at the bottom right next to 'Sales & Profit by Sub-Category'. You now have three visualizations.
Task 1:
Follow the steps above to create your first dashboard
Step 3: Add filters
In addition to three visualizations, you should also see a column listing the filters you've added to your line chart. Filters are a powerful way to add interaction to a dashboard, and are automatically included with your visualizations when they are displayed on the worksheet itself. Note, however, that if you add the same filter on two visualizations, both filters will be shown side by side on the dashboard without being connected. This can be quite confusing for users. Fortunately, it is possible to connect filters to each other . This way, one filter is applied to multiple worksheets in your dashboard.
1. Select one of the filters and click the down arrow that appears on the side.
2. Via Apply to Worksheets, you will come to a menu. If you select Selected Worksheetsthere , you will get an overview of all the worksheets in your dashboard that you can select. The filter is now also active on this worksheet.
3. Try it, use a filter and see which sheets on the dashboard change
Task 2:
Follow the steps above and change the filters in the dashboard so that they filter all sheets in the dashboard
Step 4: Add a dashboard action
Actions are an advanced way to add interaction to a dashboard. Add an action by clicking on the 'Dashboard' > 'Actions ' menu. There are several possible actions: filtering, highlighting or, for example, changing parameters or sets based on user input.
As mentioned, these are moreadvanced functionalities . For this training we onlydescribe the actions. We willnot add them to our dashboard.
Filter actions allow you to filter data in visualizations based on selections in other visualizations. This means that when a user selects a value, all other visualizations on the dashboard are updated to display only the data that match that selection. You can do this, for example, by selecting the line chart and clicking on the right-hand icon on the side. If it is white, you can click on one of the marks so that the selected month acts as a filter for the other visualizations.
URL actions allow you to create links that are triggered when a user clicks on a specific element. These links can point to external Web pages, documents or other dashboards. It is a convenient way to provide contextual information or additional resources.
Worksheet actions are similar to filter actions, but they change the behavior of individual worksheets rather than the entire dashboard. They allow you to connect and update specific visualizations based on the user's selections.
Parameter actions allow you to update parameters (custom controls that allow users to modify data) based on user selections. This allows users to dynamically change parameters and customize the visualization without going to the parameter controls.
The main purpose of set actions is to create, modify or update sets based on the user's selections or actions. A set is a subset of data that meets certain conditions, as we also saw in assignment 5.3. Set actions allow you to change these conditions dynamically by, for example, selecting a value in the visualization.
Step 5: Adjust the formatting
Proper formatting of a dashboard can make the difference between a cluttered collection of graphs and a coherent dashboard. Therefore, we will now continue to format the dashboard .
That starts by adding a title so that the overarching dashboard theme is clear and users get some context. Below the selection buttons for Tiled or Floating is a checkbox with Show dashboard title.
1. Click this and notice that a title appears on your canvas. Double-click the title, it now says <Sheet Name>. You can now do two things: either double-click on the dashboard tab you're currently using and edit this text, which will also change the dashboard title, or remove it. and put "Sales Dashboard" there yourself with thick, red letters (font size 18).
At the top of the dashboard pane are two tabs: Dashboard (where you're sitting now) and Layout. Click Layout and review the options. Here you can set the design for each of the containers , such as the background color, any outlines and the size of the white space between visualization container. You can also view the layout of your dashboard as a tree structure here at Item Hierarchy. Here you will find Vertical and Horizontal Containers (into which you put other objects, such as text boxes and visualizations), and if all goes well, an object called Sales Dashboard. This is the title plane you just created.
2. As a starting point, you should see your main container called Tiled. Select it and change the border to a thick, red border and change the background color from white to a light other color (the bottom color of the row of three).
Between the background color and the hierarchy is Outer and InnerPadding, andby playing with these you can change the white space at the outer edge of your element. You can see the difference best with a container or object that has a border.
3. Make sure the outer padding is set to 8 and the inner padding is set to 0.
Your dashboard should now look something like the image below.

Task 3:
Use the steps above to further format your dashboard
Congratulations!!! You've now learned how to create a dashboard in Tableau Desktop. Use this knowledge to create beautiful dashboards and share the insights with others. Would you like to share what you've created with others, or are you looking for inspiration for your dashboard design? Then take a look at Tableau Public, where Tableau users share their visualizations and designs .
Conclusion
In this lesson, we learned how to putdifferent components together to create a dashboard. We learned a bit about the layout and size of the dashboard. In the next lesson, we will continue with how to publish and share a dashboard so that our colleagues or other people can also use it.
Publish and Share
Introduction
In this section we take a closer look at publishing and sharing your dashboards. This free training is set up to help you use Tableau Desktop, but of course you'll want to share your data insights with others as well. How valuable is it if you can get additional feedback on your work. Therefore, in this class we will show you how to share your work with others.
If you've already taken all the other trainings, good job! We've almost reached the end. We' ve created a complete dashboard. Now it's time to share it with the world. Tableau Desktop offers several options to publish and share your work, allowing others to easily access your visualizations. This can be just colleagues, or you can share it with people around the world!
In this lesson you will learn
- In what ways you share your dashboards
- What Tableau Public is
- How to publish your dashboards
Opportunities for sharing
One of the most popular ways to share dashboards is by using Tableau Server or Tableau Cloud. This is a platform designed specifically for publishing and sharingTableau dashboards. With this, you can easily provide access to your colleagues or clients without them needing the desktop version of Tableau. They can then view your dashboard online with their own login, via the website. You do need a license to use Tableau Server and Tableau Cloud, so please inquire with us about how to use Tableau Server or Tableau Cloud.
Another option is Tableau Public, a free online platform where you can publish and share your dashboards with the world. Tableau Public is also known as the YouTube of visualizations. The DataFam, a community of Tableau enthusiasts from all over the world, share their work on Tableau Public. So you can learn an awful lot , get inspiration or get feedback on your work. Tableau Public is a great option if you want to share your visualizations with a wide audience, or if you simply want to build a portfolio of your work. For example, check out my portfolio on Tableau Public.
Publish
But how do you publish a dashboard on Tableau Server, Tableau Cloud or Tableau Public? The process is very simple. In Tableau Desktop, click "Server" in the toolbar, where you can see which site or server you're logged into. If you want to save your work here, click Publish Workbook.
You can also select "Tableau Public. Once you have made your selection, follow the steps you are offered, such as choosing a name for your workbook on the server and the settings of your dashboard. You do need an account to publish to Tableau Server/Cloud or Tableau Public. In this training we are going to publish our first dashboard on Tableau Public. To do this, we will first create an account.
Task 1:
Create a profile on Tableau Public
Go to https://public.tableau.com/ and click Sign Up for Tableau Public in the middle of the screen or Sign In > Create An Account at the top right, and then follow the steps to create your account.
After creating a profile, we can publish our dashboard. To do this, we must first create an "extract" of our data. This is basically a copy of the data so we can send it along to Tableau Public, so make sure your data does not contain any personal or company data that you are not allowed to share with others!
Task 2:
Create an extract of your data, and publish your dashboard to Tableau Public
- Open the dashboard. Choose Data → Sample Superstore → Extract Data....

- Tableau asks where you want to save the extract. Choose an appropriate location on your computer.
- At the top of your screen, go to Server > Tableau Public > Save to Tableau Public as....

- A new screen will probably open where you log in with your just created account.
- Nameyour dashboard and publish your dashboard.
- Your dashboard on the Tableau Public page will open automatically.
- It worked! Your first real dashboard is online!
Bonus: If you do have access to Tableau Server/Tableau Cloud, you can follow almost the same steps. You can skip Steps 1 through 4, and at Step 5go for thePublish Workbook optioninstead of Tableau Public.
Once you publishyour dashboard , you can easily share it with others. With Tableau Server you can give users access to specific dashboards, while with Tableau Public you can make your work public and share it on social media or on your own website.
Conclusion
In short, publishing and sharing dashboards in Tableau Desktop is a simpleprocess. With the above steps, you can easilyshare your work with others and reach a wider audience. At the same time, you can learn, get inspiration and valuable feedback. We've almost come full circle! We have created and shared a dashboard . In the last lesson, we'd like to share some Best Practices with you. That way, you can be sure that you are tackling things the right wayfrom the start.
Best Practices
Introduction
In this lesson you will learn
- Optimizing your dashboards
- Creating effective visualizations
- Designing for mobile
- Ensuring data security
- Working smartly and efficiently
Welcome to the final chapter of the free online Tableau Desktop training course! In this section, we're going to talk about bestpractices when using Tableau Desktop. Whether you are a beginner or an experienced user, there are always ways to improve your skills and make your work more efficient. In this training, we'll help you discover the best ways to use Tableau Desktop and make sure you're taking full advantage of this powerful tool.
Optimize the performance of your workbooks
One of the most important best practices is to optimize the performance of your workbooks . You can do this by, for example, loading only the necessary data and removing unnecessary worksheets. You can also adjust aggregation levels and summarize data at a higher level to improve performance .
Assignment 1:
Optimizing a workbook
In this training we showed how to apply different tools and techniques and how to present your data in a visual way. One of the most common complaints about workbooks and dashboards is that they can be slow. This is not so much to do with the tool, but rather how they are used. Then something can look beautiful and clear, but if your dashboard then loadsslowly you have already lost the user .
It is smart to consider the best practicesbefore you start creating visualizations, but of course these tips can also be applied afterwards. If you want to do an analysis of an existing dashboard, you can choose to apply a Performance Recording, see also this blog. You can apply this before and after performing the best practices, to see if they indeed made sense. In this assignment we start with the Workbook Optimizer, available from Tableau version 2022.1.

- Open the workbook you created this training and choose Server → Run Optimizerfrom the menu bar . You will see an overview of the Best Practices, divided into: Take Action, Needs Review and Passed.
- For this assignment, we're going to focus on Take Action. Because each workbook is unique, there is also no standard solution for improving workbook performance.
- An example might be Unused Fields: Multiple data sources have unused fields, which you can fix by going to the Data Sources and choosing Connection → Extract → Edit. Then at the bottom, choose Hide All Unused Fields and click OK. This way you don't have fields in your dashboard that you don't use anyway, this again saves data that Tableau has to load when building the visualizations.
- Go through the messages one by one and see if you can solve them. Is there anything you don't know about? Almost everything is on Google/Chat GPT and of course our blogs 😉
- Then readthis blog: and see if there are any tips you can apply to your dashboard.
Also read this page on Tableau's website full of performance tips.
Create effective visualizations
Creating effective visualizations is essential to getting the right insights from your data. When creating visualizations, it is important to pay attention to the rightchoice of graphs and colors. Keep visualizations simple and avoid using unnecessaryelements. Make use of visualcues such as labels and annotations to facilitate interpretation .
Assignment 2:
Creating effective visualizations
A major limiting factor in effective visualizations is humans. We humans have limited cognitivecapacity, which is the amount of work the short-term memory can do to accomplish a given task . Therefore, it is nice to move from large cross-tabulations to visualizations that we have learned in classes, as we recognize differences in shape and colorfaster and better than differences in text.Nonetheless,interpretationquickly becomes more difficult when there are multiple visualizations on display at the same time and they are also not optimally designed, as this increases the cognitive load it takes to interpret everything . Read all about this in this blog.
Guide the viewer
- Open your dashboard and look critically at what's on display. Is it immediately clear what is being looked at? Could you arrange charts ? Do you have the most important thing at the top left? This is where most people start looking at the dashboard.
- Is the context of the dashboard clear? Do you have a clear informativetitle throughout , which contains information and not just "bar chart"? Are the other instructions clear? For example, could you work with color and font size? Some colors evoke certain associations, make use of this. If you want something to stand out, make the text larger, but don't use too many sizes mixed together. Does your dashboard tell a story?
- Is there interactivity in the dashboard? Can the viewer immediately see what can be clicked on and what exactly is the point? A dashboard with interactivity keeps the viewer's attention, but then it is important that the viewer, or in this case interactor, knows what to do. If this is not clear, add titles do with instructions so the end user knows what is possible.
- If you were to show this dashboard to someone who knows nothing about your dashboard or topic, would this person tell you the right things when you ask them to explain your dashboard. By correct, we mean, the things you want to bring out. Test it and ask if someone else would like to do"dashboard karaoke " with your dashboard.
Limit the amount of information and visual distractions
- Look at the use of color, are you using the colors you use consistently? So not Sales blue one time, and Profit blue the next. Also, don't use too many different colors at once. Also look at your font, try not to use more than two different fonts.
- Are you not showing too manymarks (data points) at once? Are you making clever use of highlighters? See if you can reduce visual overload , this could be by adjusting your visualization type, for example .
- Are you making effective use of tooltips? See if you can deploy tooltips, again be careful not to want to show too much.
- Again, look critically per visualization to make sure you are not showing the same information in two places. If the title already says "Sales", is it necessary to show this in axes as well? Removeanything that is too much , but make sure that there is always enough context.
- Aren 't there too many visualizations in the dashboard? A rule of thumb is about 3 graphs at a time. Do you want to show more? Then use sheet and measure swapping, for example. This and the above tips are explained in this interesting blog.
Finally, is the dashboard also easy to understand for someone who might see less colors? That's more people than you might think. There are several tools to test this, such as ColorBlindPal. You can also avoid this by using Tableau's Color Blind Palette.

Design for mobile
Using Tableau Desktop on mobile devices is becoming increasingly popular. Make sure your workbooks and dashboards are optimized for mobile use, avoiding the use of small fonts and ensuring adequate contrast and readability.
Assignment 3:
Design your dashboard for mobile
In these times it is the rule rather than the exception to take information advice on your phone, this includes Tableau Dashboards. You can view dashboards , apply filters, sharefindings and make instant decisions based on real-time data. A salesperson wanting to view customer data on the go , an analyst taking a quick look at a dashboard or a coach requestingplayer data on the field.
This is possible on your phone, and Tableau includes a mobile layoutby default. Because the screen of a phone is smaller than a laptop screen, the display and experience will also be different. We covered this in the assignment effective visualizations. To reduce the cognitive load on the end user , we will modify the mobile layout in this assignment . Customizing the mobile layout will not affect the original dashboard, make sure to apply Device Specific Layouts after you are satisfied with your "original" dashboard layout.

- Open your dashboard
- In the upper left corner under Dashboard, you will see Default, Tablet and Phone. Click on Phone, press the three dots and choose edit layout.
- At Size - Phone click on Fit Width.
- At Layout - Phone click on Custom. Here we can start customizing the different sheets.
- Choose a focus for your dashboard, and see if you can keep two sheets. Make sure the sheets are below each other.
- Give a clearly readable title to the top sheet.
- Add a text block at the bottom with: "This is the mobile view, for a full view open the Dashboard on a computer." You might even choose to create other visualizations for mobile. Save your work.
- Then click Defaultagain at the top left of Dashboard. Notice that your original dashboard has no modifications.

Ensure data security
It is important to pay attention to the security of your data and the integrity of your analytics. You can do this by placing restrictions onwho has access to what data and using parameters and calculatedfields to filter the right data .
Not everyone in the organization, or outside, should always see all the data used to create a dashboard. So it's important to properly define who is allowed access to what data. Sometimes it is also a matter of convenience, if I am manager of region north, I may not even want to see the data from the other regions.
If the data in the data source should not be seen by anyone, including the aggregated version, it is wise to modify the data source so that this data is not loaded . You can also useRow-Level-Security, which determines access to rows of data in a database based on specific rules and filters. With this, you can ensure that users can only see the data they are authorized to see, based on their role, department or other relevant criteria.
It may seem that by hiding certain fields in the Data Pane, you can never see them again, unfortunately this is not true. You can easily display and use them again . It is also important to note when sharing a PackagedWorkbook (.twbx) that you can easily bring this data back up. When saving, you may have seen that your workbook automatically gets the extension .twb, with .twbx you pack the data into your workbook.
Task 4:
Data Security
- Open your Workbook and hidethe unused fields from the Data Pane.

- Save your Workbook as a packaged workbook, data-safety.twbx.

- Change the extension .twbx to .zip - you'll get a message, but confirm that this is really what you want

- Next, unzip the .zip file. You will see that in the Data Folder you will now see your data source. Here you can find all the data, even if it is hidden. This is to illustrate that all your data in this case is available to someone who has the packaged workbook available.

Because in the above example you could have easily gone to the Data Pane and then displayed the fields again, the way to do filter out this data is to use an Extract Filter.
5. Go to the Data Source, click Extractat the top right , then Edit. Then click Hide All Unused Fields and press ok. Now when you save your work, and the end user does not have access to your original data source, it will show only the fields you want to show.
Work smart and efficiently
Finally, it is important to work smart and efficiently. Use keyboard shortcuts to save time and use templates and savedsettings to simplify repetitive tasks .
Hotkeys:
Make use of keyboard shortcuts this allows you to speed up the creation of sheets and dashboards and navigate the program faster.
Templates and Templates:
If you create many dashboards in the same style, make use of templates and templates. Then you won't have to set the formatting individually each time. Another tip is to set formatting at the workbook level and not at the sheet level.
Own color palette:
Do you often use the same color palette? Then save it to your computer, and share the code with your colleagues so they too can work faster. You can read how to do this here.
Conclusion
We hope these tips and best practices will help you get even more out of Tableau Desktop and take your analytics to the next level. Remember, practice makes perfect, so keep practicing and keep learning!
From Our Blog
Stay up to date with what is new in our industry, learn more about the upcoming products and events.

Business Case: Enhancing Business Intelligence through Tableau

Van legacy-systeem naar moderne datastack

