---
schema_version: "1"
id: 4f9942dc36e22c372513e8372b9a1b9b3daa35d340f9c7cc40ded50895f234dd
title: Considerations for Planning Territories with Copied Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/territory_planning_data_sets_static_data_considerations.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.territory_planning_data_sets_static_data_considerations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b438f794c6d698e6aa7f751318b85dd5782ab40eb2be3826861ac37a004c7cb0
description: Prepare for planning territories with copied Salesforce data when you create datasets in Territory Planning.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Considerations for Planning Territories with Copied Data

Prepare for planning territories with copied Salesforce data when you create datasets in Territory Planning.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=sales.territory_planning_api_access.htm&amp;type=5&amp;language=en_US" target="_blank">Web Services API enabled</a></td></tr></tbody></table>

## Methods for Creating Datasets with Copied Data

You choose a method for creating your datasets using Salesforce reports, SOQL queries, Sales Planning segments, or a combination of them all. Supplement that data with attributes from external sources in CSV files.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:16.97792869269949%">
          <col style="width:18.67572156196944%">
          <col style="width:64.34634974533107%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88233e85">If you import...</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88233e88">Select any combo of...</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88233e91">Here’s Why</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="If you import..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e85 ">As many as 250,000 records</td>

            <td data-label="Select any combo of..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e88 ">Salesforce reports and SOQL queries</td>

            <td data-label="Here’s Why" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e91 ">Reports can include as many as 250,000 records. It’s fine for you to select multiple
              reports when you create datasets as long as they collectively contain no more than the
              250,000 record allocation for each dataset.</td>

          </tr>
          <tr class="">
            <td data-label="If you import..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e85 ">More than 250,000 records</td>

            <td data-label="Select any combo of..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e88 ">Salesforce reports and SOQL queries, <em>and</em> the option to aggregate
              records</td>

            <td data-label="Here’s Why" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e91 ">
              <p>If you plan to import high volumes of data, it’s best to turn on the Bulk API setting
                and select SOQL queries as your data sources. That way you speed up the import process and
                reduce the likelihood of you encountering Salesforce governor limits. In addition, if you
                aggregate records within territory boundaries, you can:</p><a name="territory_planning_data_sets_static_data_considerations__ul_nfd_h3y_hcc"><!-- --></a>
              <ul id="territory_planning_data_sets_static_data_considerations__ul_nfd_h3y_hcc">
                <li>Include more records in your datasets that otherwise exceed the 250,000 record
                  allocation.</li>
                <li>Get a simplified view of the units as a single unit within each boundary on the
                  map.</li>
              </ul>
              <p>When you aggregate records, keep in mind that:</p><a name="territory_planning_data_sets_static_data_considerations__ul_ofd_h3y_hcc"><!-- --></a>
              <ul id="territory_planning_data_sets_static_data_considerations__ul_ofd_h3y_hcc">
                <li>Units within a boundary appear as a single aggregated unit.</li>
                <li>Assignments for aggregated units adopt the assignment value from one of the units
                  within that boundary.</li>
                <li>Numeric values for aggregated units represent the sum of all units within them.</li>
              </ul>
            </td>

          </tr>
        </tbody>
      </table>

## Fields to Include for Importing the Right Data

Include these essential fields in the datasets that you create.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:17.006802721088434%">
          <col style="width:82.99319727891157%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88233e162">Field or Field Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88233e165">It’s good to know that...</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Record Id</td>

            <td data-label="It’s good to know that..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e165 ">Territory Planning requires 15-character record IDs for every record you
              import.</td>

          </tr>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Latitude</td>

            <td data-label="It’s good to know that..." class="slds-cell-wrap" rowspan="2" style="vertical-align:top;" headers="d88233e165 ">Territory Planning requires latitude and longitude data and skips
              importing records without it.</td>

          </tr>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Longitude</td>

          </tr>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Assignment</td>

            <td data-label="It’s good to know that..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e165 ">Typically, assignments come in the form of a territory name, username, or user ID. If
              your company includes large teams—with some teammates who share first and last names—user
              IDs eliminate any potential for confusion.</td>

          </tr>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Descriptive fields</td>

            <td data-label="It’s good to know that..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e165 ">Descriptive fields help with searching, filtering, and exporting. For example, add
              fields such as Account Name, City, State, Market Segment, and External Id.</td>

          </tr>
          <tr class="">
            <td data-label="Field or Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e162 ">Numeric fields</td>

            <td data-label="It’s good to know that..." class="slds-cell-wrap" style="vertical-align:top;" headers="d88233e165 ">Numeric fields help with aggregating data at the territory level or optimizing
              alignments. For example, add fields such as Annual Revenue, Employees, and
              Potential.</td>

          </tr>
        </tbody>
      </table>

## Attributes from External Sources

When you create datasets, you can add supplemental, external data in CSV files. Your supplemental data can include attributes that:

- Get your territory models further dialed-in by appending fields that include relevant data stored outside Salesforce.
- You want to adjust and include as model data that you later export to proprietary and third-party systems.

## Guidelines and Considerations for Optimizing Performance

The amount of data that you include in datasets can affect how they build and the speed at which their alignments load.

- Even though you’re unlimited in terms of the fields you include in datasets, performance is at its best when you include up to 25 fields.
- Consider that the number of fields, their types, the number of records, and their contents can affect performance. For example, long text area fields can impact performance more than numeric fields.