Skip to main content
I have a custom object and would like to have a formula field that summarizes the total dollar amount of all records associated with that user.  Then have a validation rule to not allow the dollar amount to exceed a predefined number. 

 

I have the validation rule built and the formula field is pulling the other field correctly.  My issue is getting the field to do a running total.  So if the 1st entry was for $2500 and the next one is $1500 the field should summarize as $4000.  At the moment, the field pulls only the most recent entry overwriting the previous and would now show $1500.  Can something explain how I can get this field to summairze correctly?  I believe the rest is in good order.    

 

Thanks, 

 

Mike 
9 answers
  1. Apr 28, 2018, 1:01 AM
    Hi Michael - the only other option is write a trigger.  Tools like Rollup Helper & DLRS do this for you in the background. 

     

    I would say DLRS is the stronger tool, its 100% free, much more reliable based on my experiences with both (and feedback from others), and has a rich feature set.  

     

    https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B45gWEAR

     

    If you need some help getting started with it, feel free to reach out.