Developer Fundamentals
27% of the examWhat this topic covers
Apply Salesforce data modeling, including relationships and External IDs, and choose declarative or Apex solutions within a multi-tenant architecture. Understand roll-up summary limits and review Agentforce-generated code before use.
Why won't a roll-up summary field total records linked through a lookup?
Roll-up summary fields only work on the master side of a master-detail relationship, so they cannot aggregate child records linked by a lookup. Switch to master-detail when the parent needs the total, or calculate it with Apex or flow instead. Once created, the field can appear in reports, list views, and validation rules.