Using Excel 2013, I need a pivot table which:
- Counts unique values in a field ('Distinct Count')
- Groups the data by Year and Quarter
If I create the pivot table by checking "Add this data to the Data Model" then the "Distinct Count" option is available as expected. However, I cannot group my date columns (both Group and Ungroup are grayed out), making the report unusable.
OTOH if I don't check "Add this data to the Data Model" when I create the pivot table, Grouping dates works fine but I lose the "Distinct Count" option as expected. Exact same data with date column formatted as short date.
Can someone verify and/or enlighten me about the reason?
Date
value of 3/1/2018). You can extend this to add a Quarter column as well. Then you'll have those fields available in your pivot table without the grouping and you should then have access to your "Distinct Count" option.