Getting Started with Activity Rollups: Setup Essentials

Salesforce is a leading customer relationship management (CRM) platform that allows businesses to manage various aspects of their customer interactions and sales processes. One useful feature in Salesforce is Activity Rollups, which provide summarized insights into activities taking place in an organization.

What are Activity Rollups?

Activity Rollups allow users to roll up details from child activities into parent records in Salesforce. This enables managers and sales reps to quickly view aggregated totals of key activity metrics without having to run reports. For example, call duration fields on call log records can be rolled up to provide total talk time on account or contact records. You can learn more about them on Admin Within, which is one of the trusted Salesforce agency out there.

How Activity Rollups Work

Activity Rollups allow administrators to define rules that determine how data from child records, like calls, emails, and tasks, gets aggregated to parent records higher up in the Salesforce data hierarchy, such as Accounts, Contacts, and Opportunities.

The rollup rules contain a Source Object, Target Object, Field to Aggregate, and Filter Criteria configurations. The Source Objects are the child object types, like Call Logs or Email Messages. Target Objects are the parent records, like Accounts or Contacts.

Admins choose which field from the child object to aggregate, like Call Duration or Email Date Sent. What’s more, they can define filters to control which child records are included in the rollup, such as only Inbound or Outbound calls.

Whenever a qualifying child record is created, updated, or deleted, the rollup totals on the parent records recalculate in near real-time. The aggregated totals can be viewed on the detail page layouts or included in reports.

Common Uses of Activity Rollups

Activity Rollups have many potential applications in Salesforce-powered organizations. Here are some common examples:

Call Duration to Accounts

Rolling up the total call duration from call log records to Account records to view time spent per customer.

Emails Sent to Contacts

This helps you roll up the number of emails sent to Contacts to see email volume per individual.

Open Opportunities to Accounts

For this, you can roll up open opportunity amounts to Accounts to analyze the total pipeline value per customer.

Overdue Tasks to Accounts

This entails rolling up overdue tasks related to Accounts to analyze accounts with delays.

The use cases for Activity Rollups are virtually endless. Aggregating child record data up to parent records enables Salesforce users to gain insights into metrics and trends without running extensive reports.

How To Set Up Activity Rollups in Salesforce

To create an activity roll-up summary field in Salesforce, here are the steps to follow:

  • Step 1: Go to Object Manager from Setup and choose the parent object, like Account.

  • Step 2: Click on Fields & Relationships and then the “New” button.

  • Step 3: Select 'Roll-Up Summary' and click “Next”.

  • Step 4: Enter the details for the field like label, name, data type, etc. Click “Next”

  • Step 5: Choose the child object to summarize, like Opportunities.

  • Step 6: Select the calculation type for the roll-up, like Sum, Count, Min, or Max.

  • Step 7: If using Sum, select the numeric field from the child object to aggregate, like Quantity.

  • Step 8: Click “Next” and “Save” to finish creating the roll-up summary field.

Use Cases of Activity Rollups in Salesforce

Roll-up summary fields support calculations such as:

  • Count: Counts the number of child records for a parent.

  • Min: Determines the minimum value of a field across child records.

  • Max: Determines the maximum value of a field across child records.

  • Sum: Sums the values of a numeric field across child records.

For example, to total the number of Opportunity Line Items for Accounts, create a Count roll-up summary field on Account that counts Opportunity Line Items.

To sum the quantities on Opportunity Line Items for Accounts, create a Sum roll-up on Account that aggregates the Quantity field from Opportunity Line Items.

After defining the roll-up summary field, establish appropriate field-level security via layouts and profiles. Test the configuration to ensure correct aggregation from child records to parent records.

Testing and Monitoring

After setting up Activity Rollups, administrators should thoroughly test them to verify correct aggregation and inclusion based on filters. It can be helpful to create or update sample child records and check if totals change as expected on parent records.

Ongoing monitoring of rollup performance is also advised. Large data volumes can potentially cause issues. Tracking rollup time via debug logs can identify problem areas.

As business needs evolve, Activity Rollup rules may need adjustment. Regular reviews of existing configurations can ensure rollups align with current goals. Adding, editing, deactivating, or deleting rollups may be required.


Activity Rollups are a powerful way to get meaningful insights from your Salesforce data. By rolling up information from child records to parent records, Activity Rollups give you aggregated totals to analyze without running multiple reports. But setting up Rollups takes work - you need to plan carefully, test thoroughly, and monitor performance.

Used well, Activity Rollups can help you understand customer interactions and sales patterns quickly. They are an excellent addition to any Salesforce administrator's toolkit.

Economic Analysis   Technology   Legal