Skip to Content
Tableau Desktop Cookbook
book

Tableau Desktop Cookbook

by Lorna Brown
September 2021
Beginner to intermediate
684 pages
15h 47m
English
O'Reilly Media, Inc.
Book available
Content preview from Tableau Desktop Cookbook

Chapter 14. Sets

Previous chapters have covered the basics on how to build chart types and different functionalities. The next few chapters are going to dig further into advanced techniques and functionalities, starting with sets.

A set is defined as a collection of elements or objects. A set in Tableau is no different; they are custom-made fields generated from a subset of data based on rules or a selection. When a set is used in Tableau, it generates a field with IN or OUT results. Any elements that meet the criteria are IN the set, and then everything else is OUT of the set.

Sets are like groups, except sets can be dynamic. You can create several types of sets in Tableau, all depending on what it is you are trying to achieve with each one. Sets can be created only by using dimensions.

14.1 General Set

A general set uses specifically selected members within a dimension. These can be used when you always want to compare the selected fields.

Problem

You want to create a set to show a specific selection of subcategories.

Solution

  1. Right-click Sub-Category and select Create > Set:

  2. In the pop-up box, select subcategories that you are interested in:

  3. Once you have clicked ...

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 - A Step-by-Step Guide for Beginners

Tableau Desktop - A Step-by-Step Guide for Beginners

Anil Batra

Publisher Resources

ISBN: 9781492090106Errata PageSupplemental Content