Join the DLRS Trailblazer Community - Today!
What is Declarative Lookup Rollup Summaries?
DLRS is a mechanism for aggregating or summarizing data from child objects and displaying it on a parent object. It serves the same purpose as Rollup Summary fields, but it is much more flexible with the kind of data that can be rolled up and how criteria are formed.
What business problems does DLRS solve?
In Salesforce, there are “Rollup Summary Fields” that exist as standard fields in your instance and allow you to calculate metrics on a related list record (child object) and then show that value on the parent object. The business problem solved here is generally the ability to create a key metric or “summary” of a calculated value on a field in your Salesforce instance. Some examples may be Total Closed Won Amount.
There is a limit to how many “RUS” fields that Salesforce permits you to create. With DLRS - there is no such limit - you can create as many of them as needed.
Additionally - the metrics available with RUS fields - are limited to sum, minimum value, or maximum value as a calculated metric. There are extended “Operations” that can be performed with DLRS.
Features Summary
- Rollup information between Lookup relationships not previously possible without writing Apex Triggers
- Define rollups using standard UI declaratively, no coding required
- Define filter criteria on rollups for example Rollup Amount on Opportunity onto Account for Closed Won
- Supports Realtime, Scheduled and Developer API modes
- Open source, available in code and managed package form.
- Managed package has passed Salesforce Security Review and is Aloha enabled
- Supports Custom Metadata, rollups can be included in Change Sets and Packages for easier deployment
DLRS Misconceptions
- Real-time trigger - Set Lookup Rollup to
Realtime
Calculation Mode. Info - Invocable from Flow or Process Builder - This is what allows DLRS to run in Professional Edition. Info
- Scheduled full calculations - There is a button to schedule full calculations. Info
- Async trigger based calculations - This is a feature of
Scheduled
Calculation Mode. Info
Follow the DLRS Journey
NOTE: The links are in chronological order, if your new to the tool, read from the bottom upwards
- Declarative Rollup Summary Tool Update for v2.12
- Salesforce Rollup Summary on Lookup Relationship - DLRS Tutorial
- Monitoring your Scheduled Rollups via Report Subscriptions
- Counting Tasks with DLRS
- Getting Started With DLRS
- Declarative Rollup Tool Summer (2016) Release
- Rollups and Cross Object Formula Fields
- Packaging and Installing Rollups
- Declarative Lookup Rollup Summary Tool and Custom Metadata
- Declarative Lookup Rollup Summaries – Spring’15 Release
- A Declarative Rollup Summary Tool for Force.com Lookup Relationships
- Account Hierarchy Rollups #ClicksNotCode
- New Release: Declarative Rollup Summary Tool Community Powered!
- New Release: Spring’14 Declarative Rollup Summary Tool
- New Tool : Declarative Rollups for Lookups!