I am working with some customer interactions data and I am wondering if it is possible to calculate averages metrics based on a distinct count of an ID field. In my data set, most interactions will have multiple rows so I need to use the distinct count of the IDs to get these numbers.
Example 1: We have 4 sales territories and I'm hoping to compare the average interaction counts of each sales person in those territories. I can easily count the total interaction counts by territory or individual sales person but since the number of sales people varies depending on the territory, the total counts are skewed to point out the territory with the most sales people.
In the table below, I am trying to calculate the "Avg Interactions" column towards the right:

Example 2: I also am hoping to calculate the YTD average interaction counts by month or possible weeks. Here is a table using YTD numbers through the end of March with the two average calculations I am trying to calculate:

I appreciate any help people can provide.