What is the Difference Between Sets and Groups in Tableau?

Cody Schneider8 min read

Trying to organize your data in Tableau often leads to a common question: should you use a set or a group? While they both seem to do similar things - bundle data points together - they have fundamentally different purposes and capabilities. Understanding this difference is essential for building flexible, powerful, and insightful dashboards.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

This article will break down exactly what sets and groups are, show you step-by-step how to create them, and give you clear examples of when to use each one for your analysis.

Understanding Tableau Groups: Simplifying Your Dimensions

At its core, a Tableau group is a simple way to combine multiple members of a single dimension into a higher-level category. Think of it like putting similar items into labeled buckets or folders. You are essentially taking a list of specific items and creating a more general category for them to live in.

For example, if you have a list of individual U.S. states, you could group "California," "Oregon," and "Washington" into a single category called "West Coast." Groups are perfect for organizing messy data or creating logical hierarchies that don’t exist in your original dataset.

Key Characteristics of Tableau Groups

  • Static and Manual: Groups are fixed. Once you create a group, it doesn't automatically update if new data comes in. For instance, if your dataset later includes "Nevada," you would have to manually edit your "West Coast" group to add it.
  • Based on a Single Dimension: You can only create groups by combining members from one specific dimension. You can't, for example, group a customer's name with a product category.
  • Acts as a New Dimension: When you create a group, Tableau adds it to your Data pane as a new dimension field. You can then drag and drop this new dimension onto your rows, columns, or color marks just like any other field.
  • Used for Categorization &amp, Cleanup: The most common use cases are to simplify a view with too many dimension members or to clean up data. For example, you can group data entry variations like "GA," "Georgia," and "ga" into a single clean member called "Georgia."
GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

How to Create a Group in Tableau

Creating a group is straightforward. Let's use an example of grouping states into regions.

  1. Navigate to the Data pane on the left, find the dimension you want to group (e.g., "State"), and right-click on it.
  2. From the context menu, select Create > Group...
  3. A dialog box will open, listing all the members of that dimension. Select the members you want to put into your first group. For example, hold Ctrl (or Cmd on Mac) and click on California, Oregon, and Washington.
  4. Click the Group button. Tableau will create a new item in the list that contains the selected members.
  5. You can rename this group by clicking on its name. Let’s call it "West Coast."
  6. Repeat this process for other regions like "East Coast" or "Central." Any members you don't explicitly group will automatically be put into an "Other" category, which you can choose to include or rename.
  7. When you're finished, click OK. You'll see a new field in your Data pane, named "State (group)."

Now you can use this "State (group)" dimension to build a simplified bar chart showing total sales by region, instead of cluttering your view with 50 individual state-level bars.

Understanding Tableau Sets: Creating Custom Subsets of Your Data

Tableau sets are more advanced and flexible. A set creates a custom subset of your data based on specific conditions you define. The core concept behind a set is a binary comparison: data points are either IN the set or OUT of the set.

Think of it like a VIP list for a nightclub. Certain people are on the list (IN), and everyone else is not (OUT). This binary nature makes sets incredibly useful for comparative analysis, filtering, and complex calculations.

Key Characteristics of Tableau Sets

  • Static or Dynamic: This is the most significant difference from groups. Sets can be static (where you manually select the members, just like a group) or dynamic. A dynamic set automatically updates its members based on a condition or rule you set. For example, a dynamic set for "Top 10 Customers by Sales" will change every time your sales data is refreshed.
  • Based on Dimensions or Measures: Unlike groups, sets can be created from dimensions or quantitative measures. This is what allows you to create condition-based sets like "Products with Sales over $100,000" or "Customers who have purchased more than 5 times."
  • Acts as an IN/OUT Filter: Sets appear in their own "Sets" area in the Data pane. When you use a set in a view, it separates your data into two categories: IN and OUT. This is great for coloring visuals to compare the IN group versus the OUT group.
  • Used for Comparison and Segmentation: Sets are designed for deeper analysis. Use them when you want to compare a specific cohort against your overall data (e.g., 'Top Customers' vs 'Other Customers') or segment your data for advanced filtering.

How to Create a Set in Tableau

Creating a Static (Fixed) Set

A static set is a fixed list of members that you manually choose.

  1. In the Data pane, find the dimension you want to build the set from (e.g., "Customer Name") and right-click on it.
  2. Select Create > Set...
  3. In the dialog box, give your set a descriptive name, like "Key Strategic Customers."
  4. Manually tick the boxes next to the customers you want to include in this set.
  5. Click OK. The new set will appear under the Sets section in your Data pane.

Creating a Dynamic (Computed) Set

This is where the real power of sets comes into play.

  1. Right-click on your chosen dimension (e.g., "Customer Name") and select Create > Set...
  2. In the pop-up window, name your set (e.g., "Top 10 Customers by Sales").
  3. Instead of manually selecting members on the 'General' tab, switch to the Top or Condition tab.
  4. On the Top tab, select "By field." You can then define a rule, such as "Top 10 by Sales, Sum."
  5. Alternatively, on the Condition tab, you could create a rule like "[Sales] > 50000" to create a set of all customers with total sales greater than $50,000.
  6. Click OK. This set will now automatically update as your data changes, always reflecting the current top 10 customers.
GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Sets vs. Groups: The Final Showdown

Sometimes a simple table is the best way to see the differences side-by-side. Here’s a quick reference breakdown.

Purpose

  • Groups: To combine and categorize. Think of it as labeling or organizing.
  • Sets: To compare and segment. Think of it as isolating a subset for analysis.

Data Source

  • Groups: Can only be created from dimensions.
  • Sets: Can be created from dimensions or measures (via conditions).

Behavior

  • Groups: Always static. They must be updated manually.
  • Sets: Can be static or dynamic. Dynamic sets automatically update based on rules.

Output

  • Groups: Creates a new dimension field. Each group is a new member within that dimension.
  • Sets: Creates a binary field (IN/OUT). Perfect for filtering, coloring charts, or using in calculations.

When to Use Groups:

Use a group when your task is primarily about organization or correction.

  • You need to fix spelling errors or combine variations of a name (e.g., 'Dell Inc.' and 'Dell').
  • You want to simplify a dimension that has too many members (e.g., creating product categories from a list of 200 individual SKUs).
  • You are creating fixed and permanent categories, like sales territories, that won't change very often.

When to Use Sets:

Use a set when your task is about dynamic analysis and comparison.

  • You need to compare a subset against the total population (e.g., sales from members vs. non-members).
  • You want to create a filter that is rule-based and updates automatically (e.g., 'Top Performing Products' or 'Underperforming Campaigns').
  • You need to segment your audience based on behavior (e.g., 'Customers who haven't purchased in the last 90 days').

Take It a Step Further: Combining Sets

Another powerful feature exclusive to sets is the ability to combine them. You can't do this with groups. This allows for even more sophisticated segmentation.

For example, imagine you have two sets:

  • Set 1: Top Customers in 2023
  • Set 2: Top Customers in 2024

By right-clicking these sets in the Data pane, you can create a combined set. You can choose to find members that exist in both sets (customers who were top performers both years), members in either set, or members in one set but not the other (e.g., top customers in 2023 who dropped off in 2024).

This kind of cohort analysis is nearly impossible to do easily with groups but is a core strength of sets, making them an indispensable tool for analysts.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Final Thoughts

In short, groups are for simple, static categorization, while sets are for complex and dynamic subset analysis. While groups are easy to understand and use, mastering sets opens up a new level of analytical depth in Tableau. Your choice depends entirely on your goal: do you need to group things into static buckets, or do you need to create a rule-based roster for comparison?

The entire goal of using tools like groups and sets is to get to the answer faster, without wrestling with your software's technical quirks. Sometimes, however, even a tool as powerful as Tableau can feel like it has a steep learning curve. At Graphed, we believe analyzing your data shouldn't require you to become an expert in a specific BI tool. Instead of manually building out these segments, you could simply ask questions like "Compare sales from my top 10 customers in California vs. everyone else" and get a real-time answer visualized instantly. By automating dashboard creation with natural language, we help you skip the learning curve and get straight to the insights.

Related Articles