---
schema_version: "1"
id: c0c80c69d528c1f19346973c7c5c097ee8a7044fa23fb41ff9facdf9f100d30b
title: Correct Data Errors or Combine Dimension Members by Grouping Your Data
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/pro/desktop/sortgroup_groups.md
canonical_url: https://help.tableau.com/v0.0/pro/desktop/en-us/sortgroup_groups.htm
source_site: help.tableau.com
content_type: documentation
content_hash: cc5ca9f2a382d0be1cabd42574add8302efaaaee5c3f6b7a1d53b3bca41c5d06
description: Correct data errors or combine dimension members by grouping data.
---
[Skip to main content](#main-content)

# Correct Data Errors or Combine Dimension Members by Grouping Your Data

If you are using groups to correct data errors (for example, to combine "CA" and "California") or to combine dimensions members (for example, to combine "East" and "West" regions), the easiest option is to select headers in the view.

1. Press and hold the CTRL or Shift key on the keyboard to multi-select headers in the view. On a Mac, press and hold the Command key.
2. To create a group, do one of the following:
    
    - On Tableau Desktop, click the Group button ![A paperclip attachment icon and a context menu icon.](/tableau/next/en-us/pro/desktop/en-us/Img/ad-hoc1.png) on the toolbar, right-click and select Group or click the Group icon on the tooltip.
    - On Tableau Server or Tableau Cloud, click the Group icon on the tooltip.
    
    ![A bar chart with two rows and three columns. The first column is labeled Sub-Category and contains the values Accessories, Appliances, Art, Binders,](/tableau/next/en-us/pro/desktop/en-us/Img/ad-hoc2.png)

The selected members are combined into a single member. In this example, the view now shows the SUM(Sales) across all binders, envelopes and fasteners as a single mark. A default is automatically constructed using the combined member names. The dimension on the Rows or Columns shelf is replaced with the new grouped field.

![A bar chart with two columns. The first column is labeled "Sub-Category" and contains the subcategories of products. The second column is labeled "Sales" and contains the sum of sales for each subcategory.](/tableau/next/en-us/pro/desktop/en-us/Img/ad-hoc3.png)