Loading

Understand and Troubleshoot Unit Assignment in Salesforce Maps Territory Planning

Дата публикации: Oct 13, 2022
Описание
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.

image (3).png
Решение
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:
 
IDName Billing Latitude   Billing Longitude   Owner NameOwner Id  Territory   
0015w000028JXh7AAGACME35.219-80.8556Hank Scurry0055w00000CL6ghAADCharlotte 1
0015w000028JYsYAAWCloud Kicks35.10355-81.215Hank Scurry0055w00000CL6ghAADCharlotte 1
0015w000028JXrMAAWSalesforce Maps34.886-81.0235Hank Scurry0055w00000CL6ghAADCharlotte 1
0015w000028JXrMAADCloudy34.04252-81.10936Derek Jamieson0055w00000CL6ghAAFColumbia 2

In this example, you could have three options for Unit Assignment: Owner NameOwner 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 1Hank Scurry3
Columbia 2Derek Jamieson1

For this example, you should configure the Unit Assignment in the Data Set using the Territory field:

image (4).png
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:


image (5).png
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.
 

Other Causes

  • Your territory model does not match your data set data (e.g., I tried to use the United Kingdom Territory Model with United States Account Data).
  • You select Auto-Fill with Owner Name/Id but do not have Territory Owners defined.
 

Troubleshooting Issues

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:
  1. Open the alignment with Include Unassigned Units selected.
  2. Add Unit Assignment field to the legend at the unit level.
    1. Note: If you do not know what field was selected, you can check it by selecting Options in the Ownership & Assignment values step of alignment configuration.
  3. Check to see if your Unit Assignment value matches either the Territory Name, Territory Owner Name, or Territory Owner Id.
  4. Re-create the Alignment using the correct Auto-Fill option
Номер статьи базы знаний

000389070

 
Загрузка
Salesforce Help | Article