How to Count Unique Values within a Pivot Table?

Occasional Visitor

In a pivot table (attached), I would like to add a column to show a count of unique names.  Effectively for a small batch with only one territory, it is easy to do a =COUNTA for the names listed.  But how can I do this for multiple names in multiple territories within a pivot table? (~20,000 lines to analyze)  


Pivot Setup:

Territory (Country1) is in Rows

Name (Aaron, Adrian, etc) is in Rows

Count (5,3, etc) is in Values


Thank you!






1 Reply

@JimS0422 , if creating PivotTable you select the option Add data to data model, in list of aggregations for values you may select Distinct count instead of Count

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies