Pivot Table Issues

Fix Excel Data Model PivotTable Grouping Errors

Adam DavisAdam Davis Nov 22, 2026 869 views

Question details

The user needs to group items in a PivotTable connected to the Excel Data Model.

Fix Grouping Errors in an Excel Data Model PivotTable
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user is building a PivotTable report from the Data Model and wants to group its items.
Observed behavior
Excel displays “Cannot group that selection” in the Data Model PivotTable, although grouping may work in a standard PivotTable.
Before you start

Check whether the PivotTable uses the Data Model and identify the field you want to group. Decide whether your report needs Data Model relationships or measures before replacing it with a standard PivotTable.

Solution 1Recommended

Create a standard Excel PivotTable without the Data Model

Use a standard PivotTable when the report can be built from a single worksheet table or range.

1
Select the source data

Click any cell in the worksheet table or select the range that contains the data for the report.

2
Insert a PivotTable

Select Insert > PivotTable. In the creation dialog, leave “Add this data to the Data Model” unchecked, then choose where to place the PivotTable and select OK.

3
Group the field

Add the relevant field to the PivotTable, right-click an item in that field, and select Group. Choose the available grouping options and select OK.

Create a standard Excel PivotTable without the Data Model
Check report dependencies: A standard PivotTable does not retain Data Model relationships or measures. Date and number grouping can also fail if the source field contains unsuitable values, such as text or blank date entries.
Free Microsoft Office alternative

Explore spreadsheet reports with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with spreadsheet files. Open existing workbooks and create reports in WPS Spreadsheets for an easier transition, though it does not fix Excel Data Model grouping limitations.

Create and review spreadsheet reports in a familiar interfaceOpen and save Microsoft Excel XLSX filesWork with spreadsheet data in a lightweight Office suiteUse a free alternative for everyday document and spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I group items in my Data Model PivotTable?

Excel does not support direct grouping of items in a PivotTable created from the Data Model. Use a standard PivotTable or add a grouping column to the source data or model.

Will a standard PivotTable keep my Data Model measures?

No. A standard PivotTable built from a worksheet range does not retain Data Model measures or relationships. If you need them, add a grouping column in Power Pivot or the source data instead.

How can I group Data Model dates by year?

In Power Pivot > Manage, add a calculated column such as =YEAR([OrderDate]), using your date column's name. Refresh the PivotTable and add the new column to Rows or Columns.

Why does grouping still fail in a standard PivotTable?

Check the source field for unsuitable entries. For example, blank or text values in a date field can prevent date grouping. Correct the source data, then select PivotTable Analyze > Refresh and try Group again.