An administrator at Ursa Major Solar is creating a Roll-Up Summary field on the standard Account object to calculate the total amount of related closed-won Opportunities. The business requirement specifies that the roll-up calculation should only include child Opportunity records where a custom formula field, Region_Code__c (which references the related Owner's Region), equals 'US-WEST'. However, while configuring the filter criteria for the Roll-Up Summary field, the administrator notices that Region_Code__c is not available for selection in the Field picklist. What is the reason the formula field cannot be selected in the Roll-Up Summary filter criteria?
- Roll-Up Summary filter criteria cannot reference formula fields that contain cross-object field references.Answer
- BRoll-Up Summary fields are unavailable on standard objects when filtering related standard child objects.
- CThe Opportunity object must be converted to a custom object before referencing formula fields in roll-up summaries.
- DFormula fields must be evaluated using row-level report formulas before they can be aggregated by roll-up summary fields.
Answer
Roll-Up Summary filter criteria cannot reference formula fields that contain cross-object field references.
Roll-Up Summary filter criteria cannot reference cross-object formula fields (formula fields containing fields derived from another object, such as the Owner object). Because changes to cross-object records do not execute triggers or system recalculations on the detail record, Salesforce restricts them from roll-up filter logic to prevent stale data.
Step-by-Step Solution
Key Concept
Roll-Up Summary Filter Criteria Limitations