Hit enter to search.
Many companies struggle to get good insights from their Salesforce data. Standard reports and roll-ups don’t always give you what you need, especially if you don’t want to write code. Declarative Lookup Roll-Up Summaries (DLRS) is a free tool that helps you summarize data in Salesforce, even when objects are connected by lookup relationships instead of master-detail relationships.
Standard roll-up summary fields in Salesforce only work if your objects have a master-detail relationship. They’re also limited to 25 per object and don’t allow much filtering. DLRS removes these limits. You can use it on lookup relationships, create as many roll-ups as you want, and apply filters to include only certain records.
Here at Rapidi we have seen throughout the many years working with organizations needing to integrate their ERP system with Salesforce, that the most common scenario and wish is to be able to provide access to financial and transactional data for business and operations teams from within Salesforce.
With Rapidi, your ERP data, such as posted sales invoices and credit memos, sales orders and customer ledger entries can be brought into Salesforce through custom objects. Those custom objects have been designed and built by Rapidi making it possible to have all your ERP data instantly available inside Salesforce.
While using those custom objects to make your ERP data available in Salesforce, it doesn’t automatically mean that sales or financial metrics are visible at a glance. For example, a sales rep or business user might see dozens of related invoices on an Account — but not a clear summary of total sales, payments received, or current outstanding balance.
In this situation, there are two great options:
Note: The native rollout summary fields are restricted to master-detail relationships and can perform SUM, MIN, MAX, and COUNT aggregations.
Standard roll-up summary fields are sufficient for master-detail relationships. However, DLRS provides a more flexible solution for lookup relationships or when complex aggregation and filtering are needed.
Use Case |
Object Relationship |
Logic Required |
Use Standard Roll-Up? |
Use DLRS? |
Why? |
Count total Opportunities for each Account |
Master-Detail |
Simple COUNT |
✅ Yes |
❌ No |
Native roll-up works when Opportunity is in Master-Detail with Account. |
Sum Amount of all Invoices for each Customer |
Lookup |
SUM |
❌ No |
✅ Yes |
Lookup relationship — needs DLRS. |
Count closed Cases per Account |
Master-Detail |
Filter: Status = 'Closed' |
✅ Yes |
❌ No |
Standard roll-ups support basic filters in Master-Detail. |
Count Activities this Quarter linked to Contact |
Lookup |
Date-based filter: This Quarter |
❌ No |
✅ Yes |
Date logic not supported natively. |
Sum Payments received for Invoices |
Multiple Objects |
SUM across multiple child objects |
❌ No |
✅ Yes |
Standard fields can't span across unrelated or multiple objects. |
Count Credit Memos for a Customer |
Lookup |
Filter: Document Type = 'Credit Memo' |
❌ No |
✅ Yes |
Field filter on lookup — requires DLRS. |
Total Quantity sold by Product |
Lookup |
SUM from Order Line Items |
❌ No |
✅ Yes |
Most line items are in Lookup, not Master-Detail. |
Count Related Quotes per Opportunity |
Master-Detail |
Simple COUNT |
✅ Yes |
❌ No |
Works if Quote is Master-Detail to Opportunity. |
Total Sales per Account for Fiscal Year 2025 |
Lookup |
SUM with Posting Date filter by Fiscal Year |
❌ No |
✅ Yes |
Time-based filter requires DLRS. |
Sum of Open Sales Orders |
Lookup |
Filter: Status = 'Open' |
❌ No |
✅ Yes |
Filtered logic on lookup field. |
In the screen shot below you see a functional example of using the Declarative Lookup Summaries together with the integrated ERP data via Rapidi.
Current Fiscal Year Invoices:
This DLRS configuration automatically calculates the total invoiced amount from all posted invoices (filtered by document type) within a specific fiscal year. The value is then displayed directly on the Account record under the field AnnualRevenue__c. This means you no longer need to review individual invoice records to know the total value billed — it's available at a glance.
Watch this quick explainer video by Andreea where she will explain DLRS vs Roll-up Summary Fields, benefits & advantages of using DLRS in Salesforce, especially in combination with your integrated ERP data and how to set them up.
Overall, we recommend that you start using DLRS (if you are not already using it) which will gives you more options to summarize and display data in Salesforce, especially when you are limited by the standard roll-up summary fields. It’s free, doesn’t require code, and is supported by the Salesforce community.
Then to really get the most out of your data with Rapidi handling the ERP - Salesforce data sync and using DLRS will make your ERP data visible in a more flexible way, your Salesforce becomes the single source of truth — not just for the sales team to have customer insights from each account, but it certainly also gives your the possibility to see your business performance.
Using DLRS in combination with Rapidi’s pre-built custom objects provides business operations teams with a centralized and real-time summary of customer financials directly in Salesforce. By combining Rapidi’s integration capabilities with DLRS’s aggregation features, you gain enhanced visibility without technical complexity.
So, just get it install and start setting up your roll-ups, and you’re good to go.
If you have doubts in how to do this, ask your Salesforce Consultant or get in touch with the Rapidi Support Team and we are happy to help.
DLRS (Declarative Lookup Rollup Summaries) are installed in Salesforce as an unmanaged package. You simply have to go to AppExchange and search for Declarative Lookup Rollup Summaries (DLRS). Next, you install it and then follow the instructions to install for Admins only. Once installed, go to App Launcher > Declarative Lookup Rollup Summaries to start configuring your rollups.
Once installed, create a new rollup using the DLRS app:
Native Roll-Up Summary Fields have several limitations:
You can create one in Setup if the objects have a Master-Detail relationship:
For lookup relationships, use DLRS instead.
Yes, both Standard Roll-Up Summary Field and Declarative Lookup Rollup Summary (DLRS can be used in Salesforce reports.
Regarding Standard Roll-Up Summary Fields, the impact is very minimal unless mass data changes.
As for the DLRS, it depends on the mode. Real-time mode can affect performance for large data volumes; scheduled mode recommended for bulk.
No. Just follow the steps above. Most admins can do it.
It depends on how you set it up. Real-time updates can slow things down if you have lots of records. Scheduled updates are safer for big data sets.
The DLRS Trailblazer Community and GitHub page have lots of guides and support on the general use of this functionality, however if you need support in setting it up inside Salesforce in combination with your integrated ERP data via Rapidi, please contact the Rapidi Support Team - we are happy to help you!
Andreea Arseni, Data Integration Consultant
DLRS & Rapidi: Accurate Financial Summaries in Salesforce
Salesforce - Microsoft Dynamics 365 Integration Salesforce - Microsoft Dynamics 365 Business Central Integration Salesforce - Microsoft Dynamics 365 Finance Integration Microsoft Dynamics 365 Business Central - Dynamics 365 Sales Integration Salesforce - Salesforce Integration & Migration HubSpot - Microsoft Dynamics 365 Integration
Carrer de la Font del Colom, 6,
L'Aldosa,
AD400 La Massana, Andorra
Copyright © 2025 Rapidi.
All Rights Reserved
Terms & Conditions |
Privacy Policy