---
schema_version: "1"
id: e8ec37a98c8f309d222e88b9a30273e0c8542ea32182921a3ed9811180e9b895
title: 透過將資料分組來糾正資料錯誤或合併維度成員
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/public/desktop/sortgroup_groups.md
canonical_url: https://help.tableau.com/v0.0/public/desktop/zh-tw/sortgroup_groups.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 213c257a6f570aaf7244be0e62a2da9694c208158f0ebdaa75cf10761a5167ec
description: Correct data errors or combine dimension members by grouping data.
---
[跳至主要內容](#main-content)

# 透過將資料分組來糾正資料錯誤或合併維度成員

如果使用群組來糾正資料錯誤（例如，合併 \[CA\] 和California\] ）或合併維度成員（例如，合併 「East」和「West」區域），則最簡單的方式是在檢視中選取標題。

1. 按住鍵盤上的 Ctrl 或 Shift 鍵以同時選取檢視中的多個標題。在 Mac 上，按住 Command 鍵。
2. 若要建立群組，請執行以下操作之一：
    
    - 在 Tableau Desktop 上，按一下工具列上的 \[群組\] 按鈕 ![回形針附件圖示和內容功能表圖示。](/tableau/next/zh-tw/public/desktop/zh-tw/Img/ad-hoc1.png)，以右鍵按一下並選取 \[群組\] ，或按一下工具提示上的 \[群組\] 圖示。
    - 在 Tableau Server 或 Tableau Cloud 上，按一下工具提示上的 \[群組\] 圖示。
    
    ![具有兩列三欄的橫條圖。第一欄標示為「子類別」，包含值「配件」、「電器」、「藝術品」、「活頁夾」、](/tableau/next/zh-tw/public/desktop/zh-tw/Img/ad-hoc2.png)

所選的成員將合併為一個成員。在此範例中，檢視現在將所有檔案夾、信封和扣件的 SUM(Sales) 顯示為單一標記。預設值是使用合併的成員名稱自動構造的。\[列\] 或 \[欄\] 架上的維度將替換為新的分組欄位。

![具有兩欄的橫條圖。第一欄標記為「子類別」，包含產品的子類別。第二欄標示為「銷售額」，包含每個子類別的銷售額總和。](/tableau/next/zh-tw/public/desktop/zh-tw/Img/ad-hoc3.png)