Loading

Calculated Attributes in Salesforce Maps Territory Planning

Julkaisupäivä: Sep 8, 2026
Kuvaus

The calculated attributes feature allows you to build formula fields directly in the Territory Planning application without needing to store the information in a Salesforce field. Calculated Attributes are easily adjustable and can use different mathematical operators and functions to better analyze your territories

Ratkaisu

This article explains how calculated attributes work in Salesforce Maps Territory Planning and how to create one, so you can build formula-based fields without storing that data in a Salesforce field.

Understanding Calculated Attributes

There are a few things to keep in mind when you are building calculated attributes:

  • Calculated attributes can be used at different levels, which is important to understand because the same attribute can produce different results depending on where you calculated it.
    • Area: Unit/Container attributes are rolled up first, then operators are applied.
    • Container: Unit attributes are rolled up first, then operators are applied.
    • Unit: Operators are applied at the unit level.
  • Calculated attributes are stored on the alignment config only.
  • Calculated attributes must return numeric values to be referenced in the area legend.
  • Text comparison using the IF function is case-sensitive.
  • If a formula references an invalid attribute, denoted by the brackets "[]", then it will be returned as 0.
  • Calculated attributes can reference attribute data imported from CSV.
  • Calculated attributes are not shared across data sets.
  • You cannot optimize on container or area calculated attributes.
  • A cross-unit formula can only be aggregated using addition, which is represented in the completed formula.

Creating Calculated Attributes

  1. With an alignment open, click Settings in the top right corner.
  2. Select Attributes | Calculated Attributes.
  3. Click New next to a level to start building a new calculated attribute.
  4. Define a Name for the calculated attribute.
  5. Use the Attributes and Functions tab to start building your formula — remember that it must return numeric values.
    • Note: If you are using multiple unit types, you will see a tab for each unit type. Selecting each will update the Attributes tab with the appropriate values.
    • Note: Cross-unit formulas can only be aggregated using addition, which is represented in the completed formula.
  6. When you are finished editing your formula, click Add to Attribute Formula.
  7. Click Save to finalize your calculated attribute. You can edit it later by returning to the same screen.
  8. Your calculated attribute can now be used like any other numeric attribute in the application depending on its level:
    • Area/Container attributes cannot be used for optimization.
    • Unit attributes can be used for optimization.
Knowledge-artikkelin numero

000389077

 
Ladataan
Salesforce Help | Article