Why Excel PivotTable Features Change with the Data Model
Question details
The user needs to understand why certain PivotTable date-grouping options become unavailable, while features like Distinct Count become active, when data is added to the Data Model.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating a PivotTable and deciding whether to check the option to add data to the Data Model based on required functionality.
- Observed behavior
- Adding data to the Data Model enables the Distinct Count feature but removes specific standard date-grouping options such as 'Starting at', 'Ending at', and 'Number of days'. These grouping options are only available when the Data Model is disabled.
Before creating your PivotTable, consider which features are most critical for your current analysis: do you need to calculate unique distinct values, or do you require highly customizable date-grouping capabilities?
Use a Standard PivotTable for Custom Date Grouping
Choose this method when you need complete control over date grouping parameters, such as specifying exact start and end dates or custom day intervals.
Standard Excel PivotTables offer built-in date grouping functionality that allows users to specify exact starting and ending dates, as well as custom day intervals. However, this standard mode does not support the 'Distinct Count' calculation.
Highlight the cells or table you want to use as the source for your PivotTable.
Go to the 'Insert' tab on the top ribbon and click the 'PivotTable' button.
In the Create PivotTable dialog box, ensure the 'Add this data to the Data Model' checkbox at the bottom is left unchecked, then click OK.
Right-click a date field in your new PivotTable and select 'Group...' to access the standard Start, End, and Days options.

Use the Data Model to Enable Distinct Count
Opt for this method when your primary goal is to calculate the number of unique items or to build relationships between multiple data tables.
Experience Seamless PivotTable Creation with WPS Office
If you are looking for a reliable, lightweight alternative to Microsoft Excel, WPS Spreadsheet offers an intuitive interface for data analysis. It comes equipped with robust standard PivotTable features, allowing you to easily group dates and analyze data without confusing Data Model conflicts.
- 1. Download and Install: Get WPS Office from the official website and easily install it on your computer.
- 2. Open Your Excel File: Launch WPS Spreadsheet and open your existing Excel workbooks directly.
- 3. Create a PivotTable: Navigate to the Insert tab and click PivotTable to start analyzing your data effortlessly.

Frequently Asked Questions
How can I group dates when using the Excel Data Model?
When the Data Model is enabled, the standard manual grouping feature is disabled. To group dates by month, quarter, or year, you must either add standard date calculation columns to your original data table or create a separate Calendar/Date table in Power Pivot and establish a relationship with your main data.
Can I get a Distinct Count without adding data to the Data Model?
In a standard Excel PivotTable, the Distinct Count option is not available natively in the Value Field Settings. However, you can achieve this by adding a helper column to your source data using a formula (such as dividing 1 by a COUNTIF result) and then summing that helper column in the PivotTable.
Is there a way to switch an existing PivotTable out of the Data Model?
No, you cannot directly convert or switch a Data Model PivotTable back to a standard PivotTable. If you need standard grouping features, you must recreate the PivotTable from scratch and ensure the 'Add this data to the Data Model' option remains unchecked.
Why is the 'Group' option greyed out in my PivotTable?
The 'Group' feature is typically greyed out for a few common reasons: your data was added to the Data Model, your selected date column contains blank cells or text values instead of valid dates, or your selection includes a mix of different data types.




