Study for the Salesforce Platform Developer Exam. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


True or False? You can reference cross-object formula fields in a roll-up summary.

  1. True

  2. False

  3. Only for certain objects

  4. Only in formula fields

The correct answer is: False

In Salesforce, roll-up summary fields are used to perform calculations on child records and display the result on the parent record. However, one key limitation of roll-up summary fields is that they can only summarize data from fields directly on the child records and cannot reference fields from related parent records or cross-object formula fields. Because roll-up summary fields are designed to operate solely on fields that exist within their own context (i.e., child records), referencing a field that is part of a cross-object formula does not align with this design. Cross-object formula fields pull data from related records based on a defined relationship but cannot feed directly into roll-up summaries. Thus, the assertion that cross-object formula fields can be referenced in a roll-up summary is false. Understanding this limitation is essential for successful configuration and implementation of roll-up summary fields in Salesforce.