Pivot Table (from Database): count total of grouped items

Hugo_de_Vries

New Member
Joined
Jul 28, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

Is it possible to display the number of grouped items as a value or as a bracketed suffix to the name?
For example: Accessoires would show "Accessoires (12)" and Accessoires Indoor would be "Accessoires Indoor (39)" even though it is collapsed.
Alternatively, B3 would show the number 12 (also when Accessoires is collapsed).

Thanks for your help, Excel-Gurus!

PS: Don't be scared. It's German but it doesn't bite :).

1595921394016.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Hugo,

I don't think customizing the Row Label itself is possible. You might want to drag your "Level 2" field into "Values" and change the aggregation method to Count - this way, the count of fields will be always visible in column B, regardless if it is collapsed or not.

P.S. By "Level 2", I mean the field where "Brillen Zubehor", "Cap", etc. are stored.
P.S.2 German is an awesome language :)
 
Upvote 0
Hi JustynaMK,

Thanks very much for your reply! I know in a "normal" Pivot, you can do that and use "Show Field Value > Count".
In this Database, that doesn't work. Perhaps because Level 2 contains a Level 3...

If you know any other solution, I'd be very grateful!

Best,
Hugo
 
Upvote 0
is it possible to see source data from database (with generic values but the same structure) ?
use xl2bb to post copyable data
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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