Grouping in Pivot Table when Add this data to Data Model

dudewheresmyvba

New Member
Joined
Jul 6, 2017
Messages
29
Like the title. I was having trouble grouping after checking the box to add data to Data Model (I wanted to use the Distinct Count not regular count), and came on this article and comment that said it wasn't possible to group in your pivot table if this box was checked.
HTML:
https://superuser.com/questions/484616/cannot-group-that-selection-error-when-creating-pivot-table
.

I would really like to have the best of both worlds so if there is a workaround to be able to group and keep my distinct count that would be peachy.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You need to create the groups in the source data. What kind of grouping are you doing?
 
Upvote 0
Grouping together weights to make a weight band. It would be more trouble than its worth to make changes in the source data right now but if there isnt a way to do it on the pivot end I may have to.
 
Upvote 0
You'll have to either do the grouping or the distinct count in the source data. The former is generally far simpler.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top