Declarative Lookup Rollup Summaries (DLRS) is a free, open source package that calculates rollups across lookup relationships, where standard rollup summary fields only work on master-detail. It also adds operations such as average, count distinct, concatenate, first and last. It is listed under Salesforce Labs but built and maintained by community volunteers, and its documentation says it is not a Salesforce-owned product.
Price
Free
Type
Org package
Source code
Open source (BSD-3-Clause)
Made by
Community (listed under Salesforce Labs)
What DLRS does
- Rolls up child records to a parent across a lookup relationship, with no code.
- Supports sum, min, max, average, count, count distinct, concatenate, first and last.
- Filters the child records with a SOQL WHERE clause.
- Runs in realtime, on a schedule, on demand, or from Flow and Apex.
- Stores rollups as custom metadata, so they deploy with change sets and packages.
When it helps, and when it does not
Reach for it when
You need a total, a count or a latest value on a parent record and the relationship is a lookup, so a standard rollup summary field is not available.
Look elsewhere when
A record-triggered flow can do the job with reasonable effort, or the child volume is near 50,000 records per parent. Test in a sandbox first: the docs warn that it can be resource intensive next to other automation.
The full fact sheet
record: Applast checked
- Type
- Managed package, installed from AgentExchange or through the installer linked in its documentation source
- Price
- Free. The listing says it never requires payment. source
- Made by
- Community volunteers through the Open Source Commons program. The docs say: "This is not a Salesforce-owned product." The AgentExchange listing shows Salesforce Labs as provider. source
- Open source
- Yes, BSD-3-Clause license. 720 GitHub stars. source
- Where your data goes
- The docs state that DLRS is built natively on Salesforce and that the data resides in Salesforce during the whole calculation process source
- Volume limit
- A maximum of 50,000 child records can be summarised per rollup each time child records are inserted, updated or deleted source
- What it deploys
- It dynamically deploys Apex triggers and Apex tests, so the tests in your org must pass before you use it source
- Editions
- Professional, Enterprise, Unlimited and Developer. On Professional only the Invocable by Automation mode works. source
- Support
- Through the DLRS Trailblazer Community group, not Salesforce support source
- Latest version
- 2.25, released March 20, 2026 source
Alternatives and related tools
UnofficialSF
Component library
A community catalogue of installable Flow screen components and actions, with the source code on GitHub.
Lightning Flow Scanner
Org package
Checks your flows against a community rule set, inside the org, from the command line, in VS Code or in a pipeline.
All of them side by side: Free tools for Salesforce Flow.
Frequently asked questions
Is DLRS a Salesforce product?
No. Its documentation states that it is built and maintained by a community of volunteers through the Open Source Commons program and is not a Salesforce-owned product. The AgentExchange listing appears under the Salesforce Labs provider name.
Is DLRS free?
Yes. The listing says it never requires payment, and the code is open source under the BSD-3-Clause license.
What is the limit of DLRS?
The documented limit is 50,000 child records summarised per rollup each time child records change. It is also subject to the usual platform limits on SOQL.
Does DLRS work in Professional Edition?
Only in the Invocable by Automation calculation mode, because the other modes use Apex triggers.
DLRS or Flow for rollups?
A record-triggered flow keeps everything in standard tooling and needs no package. DLRS saves work when you have many rollups, need operations like count distinct or concatenate, or want scheduled recalculation built in.
Sources
Every fact on this page comes from the tool's own pages, read on . Show the 6 pages.
- appexchange.salesforce.com/appxListingDetail?listingId=a0N3000000B45gWEAR
- sfdo-community-sprints.github.io/DLRS-Documentation
- sfdo-community-sprints.github.io/DLRS-Documentation/Installation
- sfdo-community-sprints.github.io/DLRS-Documentation/Installation/configuration.html
- sfdo-community-sprints.github.io/DLRS-Documentation/Issues
- github.com/SFDO-Community/declarative-lookup-rollup-summaries
Facts checked against each tool's own pages on November 24, 2026. No tool paid to be listed and there are no affiliate links. Logos belong to their owners and are shown only to identify each tool. Spotted something out of date? info@sfupdates.com.