I am having a Unit Cost field in my Asset. There can be multiple asset for single account.

So, Now i need to add all the Unit Cost associated in Asset to Annual Revenue in Account.

No 'Roll up Summary' field is not working from Account because of relationship. Is there any way i can achieve this by configuration rather than by trigger?


1 Answer 1


Two options:

  1. Build your own trigger to do a rollup.
  2. Better and configurable way is to use this great tool developed by Andrew Fawcett : Declarative Rollup Summary
    • Package URL can be found in Packaged Release History section of the github repo.
  • Thanks Rahul. Do you have some sample Trigger in place?
    – Naveen VM
    Commented Jan 19, 2018 at 14:19
  • Here is a great answer by Mohit - [How to write a rollup summary trigger for a lookup relationship ](salesforce.stackexchange.com/a/33654/4726)
    – Raul
    Commented Jan 19, 2018 at 15:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .