RevOps Docs for Startups
  • Welcome
  • Getting Started
    • Quickstart
    • About LeanScale
  • Growth Modeling
    • Building a Growth Model
      • Growth Model Assumptions
      • Growth Model Approaches
      • Growth Model Segmentations
    • Sales Capacity Plan
    • Marketing Plan
    • Customer Success Plan
  • Go-to-market Lifecycle
    • Go-to-Market Lifecycle
    • Lead Lifecycle
    • Sales Lifecycle
    • Customer Lifecycle
    • Proof of Concept Lifecycle
    • Lifecycle Measurement
  • Lead Attribution
    • Attribution Overview
    • Lead Source Taxonomy
  • Measuring Metrics
    • Reporting and Data Analytics
    • Sales Metrics
      • Created Pipeline
      • Weighted Pipeline
    • Marketing Metrics
      • Lead Impact Matrix
      • CAC to LTV
    • Customer Success Metrics
      • Net Retention
    • Partnership Metrics
    • Presenting Metrics
  • GTM Tech Stack
    • GTM Tech Stack Overview
    • When To Buy New Systems
    • Driving System Adoption
    • CRM Considerations
      • User-Oriented CRM
      • Data & Reporting CRM
      • Security-Focused CRM
  • Aligning Sales/Marketing
    • Alignment Overview
    • How to Align?
    • What is an SQL?
    • Building Marketing Operations
    • Defining GTM Process
    • Interviewing GTM Leaders
    • Finding The Right Talent
  • System Demos
    • Data Enrichment
      • Clay
      • Traction Complete
    • Conversational Intelligence
      • Gong
      • Unthread
    • CPQ
      • Dealhub
      • Salesbricks
    • Data Analytics
      • RevVue
      • QFlow
  • CRM Tips
    • Salesforce
      • Create Opp from Contact
      • Validation Rules in Flow
      • Roll Up Summary Field
      • Close Date Change Counter
      • Lead Stages
      • Sales Stages
      • Customer Stages
      • Next Step Fields
      • Lead Source Taxonomy
      • Proof of Concept Stages
      • Displaying Record Information
      • Display Dynamic Lists
      • Messages to End Users
      • Create Custom Buttons
      • Tips for Data Loader
      • Salesforce Inspector Reloaded
      • SFDC Navigator for Lightning
      • Bypass Validation Rules
      • Sales Manager Notes Field
      • Renaming Fields and Objects
      • Getting Faster to Record ID
    • Hubspot
      • Disable Picklist Options
      • Create Yesterday's Date
      • Create Today's Date
  • Strategic Walkthroughs
    • Revenue Operations Flywheel
    • Post-Fundraise Playbook
    • Building Board Decks
    • Building Dashboards
      • CEO Dashboards
      • Executive Dashboards
      • Marketing Dashboards
      • Sales Dashboards
      • CS Dashboards
      • Funnel Analytics
    • ChatGPT as a Salesforce Admin
    • Sales Commission Plans
    • Building Sales Territories
Powered by GitBook
On this page
  • Declarative Lookup Rollup Summaries (DLRS)
  • Overview
  • Installation
  • Configuration
  • Usage
  • Scheduling
  • Troubleshooting

Was this helpful?

  1. CRM Tips
  2. Salesforce

Roll Up Summary Field

PreviousValidation Rules in FlowNextClose Date Change Counter

Last updated 7 months ago

Was this helpful?

Declarative Lookup Rollup Summaries (DLRS)

Overview

DLRS is a tool that helps you overcome the limitations of Salesforce's out-of-the-box rollup summary fields. With DLRS, you can:

  • Roll up child objects into parent objects

  • Use filters to specify which child records to include in the rollup

  • Aggregate data from multiple fields into a single rollup field

Installation

To install DLRS, follow these steps:

  1. Go to the Salesforce AppExchange and search for "Declarative Lookup Rollup Summaries".

  2. Click on the "Install" button.

  3. Follow the on-screen instructions to complete the installation.

Configuration

Once DLRS is installed, you can configure it to roll up data from your child objects. To do this, follow these steps:

  1. Go to the Salesforce Setup menu and select "Objects and Fields".

  2. Find the child object that you want to roll up data from and click on the "Rollup Summaries" tab.

  3. Click on the "New" button.

  4. In the "Name" field, enter a name for the rollup summary.

  5. In the "API Name" field, enter an API name for the rollup summary.

  6. In the "Lookup Relationship" field, select the parent object that you want to roll up data to.

  7. In the "Relationship Field" field, select the field on the child object that links it to the parent object.

  8. In the "Relationship Criteria" field, enter any criteria that you want to use to filter the child records that are included in the rollup.

  9. In the "Rollup Details" section, select the field that you want to roll up data from.

  10. Select the aggregation function that you want to use to aggregate the data.

  11. In the "Number of Contract Records" field, enter the API name of the field that you want to store the rollup data in.

  12. Leave the other fields in the "Rollup Details" section blank.

  13. In the "Calculation Mode" section, select "Scheduled".

  14. In the "Sharing Mode" section, select "System".

  15. Click on the "Save" button.

Usage

Once you have configured DLRS, you can use it to roll up data from your child objects. To do this, follow these steps:

  1. Go to the parent object that you want to roll up data to.

  2. Click on the "Rollup Summaries" tab.

  3. Click on the "Run Calculation" button.

  4. Select the rollup summary that you want to run.

  5. Click on the "Run" button.

DLRS will then roll up the data from the child objects into the parent object. You can view the rollup data in the "Number of Contract Records" field on the parent object.

Scheduling

You can schedule DLRS to run automatically on a regular basis. To do this, follow these steps:

  1. Go to the Salesforce Setup menu and select "Objects and Fields".

  2. Find the child object that you want to roll up data from and click on the "Rollup Summaries" tab.

  3. Click on the "Manage Child Trigger" button.

  4. Click on the "Install" button.

  5. Once the Apex triggers have been installed, click on the "Schedule" button.

  6. Select the rollup summary that you want to schedule.

  7. Select the schedule that you want to use.

  8. Click on the "Save" button.

DLRS will then run automatically on the schedule that you specified.

Troubleshooting

If you are having problems with DLRS, here are some things that you can check:

  • Make sure that the Apex triggers have been installed.

  • Make sure that the rollup summary is configured correctly.

  • Make sure that the child records that you want to roll up data from are included in the relationship criteria.

  • Make sure that the field that you want to roll up data from is selected in the "Rollup Details" section.

  • Make sure that the aggregation function that you want to use is selected in the "Rollup Details" section.

  • Make sure that the "Number of Contract Records" field is entered correctly in the "Rollup Details" section.

If you are still having problems, please contact Salesforce support.