Loading

Formula fields calculate when the requested record is accessed.

Publiseringsdato: Jun 21, 2026
Beskrivelse

Formula fields in Salesforce calculate their values in real-time every time a record is accessed. Unlike regular fields, formula field values are not stored in the Salesforce database. Instead, Salesforce dynamically computes the value based on the current data in the record at the moment it is accessed.
This behavior applies across all areas where records are displayed, including list views, record detail pages, reports, and related lists.


Example: If a formula field calculates the number of days since a case was created (using TODAY() - CreatedDate), the result updates every time someone opens the record — without any manual action required.

Løsning

Formula fields are calculated dynamically each time a record is accessed in Salesforce. They are not stored in the database, so they always reflect the most up-to-date data.
This real-time calculation occurs in the following contexts:

  • Viewing a record on its detail page
  • Displaying records in list views
  • Running reports that include formula fields
  • Accessing records through related lists or lookups

If a formula field appears to show an unexpected value, verify that the formula logic references the correct fields and that those referenced fields contain the expected data at the time of access.

Knowledge-artikkelnummer

001814331

 
Laster
Salesforce Help | Article