Reader small image

You're reading from  Learning Tableau 2022 - Fifth Edition

Product typeBook
Published inAug 2022
PublisherPackt
ISBN-139781801072328
Edition5th Edition
Tools
Right arrow
Author (1)
Joshua N. Milligan
Joshua N. Milligan
author image
Joshua N. Milligan

Joshua N. Milligan is a Hall of Fame Tableau Zen Master and 2017 Iron Viz Global finalist. His passion is training, mentoring, and helping people gain insights and make decisions based on their data through data visualization using Tableau and data cleaning and structuring using Tableau Prep. He is a principal consultant at Teknion Data Solutions, where he has served clients in numerous industries since 2004.
Read more about Joshua N. Milligan

Right arrow

Using sets and groups

Sets and groups are related concepts in Tableau and both allow you to group related data together. In both cases, the grouping is defined in Tableau rather than at the source.

A group is a combination of values from one or more dimensions. For example, with the four regions Central, East, South, and West, you might choose to create two groups: East-Central and South-West. This would allow you to make new comparisons and find new insights at higher levels of geography than you might have previously. You can create a group using the context menu for a field by selecting Create | Group.

That will open a dialog box that allows you to define the groups, like this:

Graphical user interface, text, application, email  Description automatically generated

Figure 2.25: The Create Group dialog box allows you to group together values for a given dimension

The result is a field, Region (group), that you can use as you would any other dimension in your data.

You can also create ad-hoc groups by selecting marks in your visulalizations...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Tableau 2022 - Fifth Edition
Published in: Aug 2022Publisher: PacktISBN-13: 9781801072328

Author (1)

author image
Joshua N. Milligan

Joshua N. Milligan is a Hall of Fame Tableau Zen Master and 2017 Iron Viz Global finalist. His passion is training, mentoring, and helping people gain insights and make decisions based on their data through data visualization using Tableau and data cleaning and structuring using Tableau Prep. He is a principal consultant at Teknion Data Solutions, where he has served clients in numerous industries since 2004.
Read more about Joshua N. Milligan