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
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies