The purpose of Unit Assignment is to assign units to the correct territory upon alignment creation, meaning if you already know that there should be 3 accounts in the Charlotte territory, then you want the software to assign those accounts for you. This automatic unit assignment process works only on alignment creation and is not recalculated after editing an existing alignment.
If you fail to configure this correctly, then you will end up with a blank map and the following error message appears: There are no units in this focus, you may need to select additional areas.
This article explains how Unit Assignment works in Salesforce Maps Territory Planning and how to troubleshoot the "There are no units in this focus, you may need to select additional areas" error.
This is most commonly caused by a mismatch in how Unit Assignment field was configured in the Data Set and the Alignment. However, there are also some other less common causes listed below.
To illustrate how this should work conceptually, consider the following data:
| ID | Name | Billing Latitude | Billing Longitude | Owner Name | Owner Id | Territory |
|---|---|---|---|---|---|---|
| 0015w000028JXh7AAG | ACME | 35.219 | -80.8556 | Hank Scurry | 0055w00000CL6ghAAD | Charlotte 1 |
| 0015w000028JYsYAAW | Cloud Kicks | 35.10355 | -81.215 | Hank Scurry | 0055w00000CL6ghAAD | Charlotte 1 |
| 0015w000028JXrMAAW | Salesforce Maps | 34.886 | -81.0235 | Hank Scurry | 0055w00000CL6ghAAD | Charlotte 1 |
| 0015w000028JXrMAAD | Cloudy | 34.04252 | -81.10936 | Derek Jamieson | 0055w00000CL6ghAAF | Columbia 2 |
In this example, you could have three options for Unit Assignment: Owner Name, Owner Id, or Territory. However, most users typically have either Account Ownership, or Territory values, not both. If you have both values, we suggest using the Territory value since it is often more unique than the Account Owner (e.g., one owner could have multiple territories).
Let’s say we want to visualize these 4 accounts on a map, grouped by Territory:
| Territory | Territory Owner | Number of Accounts |
|---|---|---|
| Charlotte 1 | Hank Scurry | 3 |
| Columbia 2 | Derek Jamieson | 1 |
For this example, you should configure the Unit Assignment in the Data Set using the Territory field:
Since you selected Territory as your Unit Assignment Field during data set configuration, you should use the Auto-Fill with Territory Name option during alignment configuration:
In this example, we are telling the software to assign any unit that has Charlotte 1in the Territory field to the Charlotte 1 territory.
If you used Owner Name as the assignment value, then you should use Auto-Fill with Owner Name, which would tell the software to assign any units with Hank Scurry in the Owner Name field to the Charlotte 1 territory.
If you used Owner Id as the assignment value, then you should use Auto-Fill with Owner Id, which would tell the software to assign any units with 0055w00000CL6ghAAD in the Owner Id field to the Charlotte 1 territory.
In short, you need to use the same value through the process.
If you encounter the There are no units in this focus, you may need to select additional areas warning message, diving into your source data is the best place to start investigating where the mismatch occurred. To do so:
000389070

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.