Skip to Content
Tableau Desktop Pocket Reference
book

Tableau Desktop Pocket Reference

by Ryan Sleeper
June 2021
Beginner to intermediate
159 pages
3h 8m
English
O'Reilly Media, Inc.
Content preview from Tableau Desktop Pocket Reference

Chapter 13. Sets

Sets are Boolean fields that classify dimension members as either In or Out. The ability to isolate dimension members into sets allows the author to treat them in different ways. This chapter shows you two ways to make sets. You’ll then learn how to use them as a filter, as a dimension, within calculated fields, and as a highlighter.

How to Create Sets

For a use case, let’s return to the scatter plot created in Chapter 9 that revealed we have 10 states that are generating below $0 in average profit. We can use sets to isolate these dimension members for further investigation.

In Figure 13-1, I have returned to the scatter plot worksheet, this time changing the mark type to Circle instead of Shape and began creating a set. The easiest way to create a set is to draw a box around any dimension members on a chart, hover over any of the selected dimension members, click the Set icon, and choose Create Set.

This will open a dialog where you can give the set a name and refine the dimension members included (or optionally excluded) in the set, as shown in Figure 13-2.

Creating a static set
Figure 13-1. Creating a static set
Create Set dialog
Figure 13-2. Create Set dialog

After clicking the OK button, you will see a new field appear along with other dimensions on the Data pane. If you are using a version of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Tableau Desktop Certified Associate: Exam Guide

Tableau Desktop Certified Associate: Exam Guide

Dmitry Anoshin, JC Gillet, Fabian Peri, Radhika Biyani, Gleb Makarenko

Publisher Resources

ISBN: 9781492093473Errata Page