Roll-Up Summary Field Roll-up Summary Fields are used to calculate a value from the related records. For this you create a Roll-up Summary field on the Opportunity which will summarize the values from the Detail object to be shown on the Master object - Opportunity. For a Roll-up Summary field, you need to have a Master-Detail relationship. Example : Let's say there is an Opportunity and you want to show the value of the commission per Opportunity Product and display it as a Total Commission on the Opportunity. We make use of a Roll-up Summary field created on the Opportunity Object and that references the Detail object's Commission field. You may choose to display Sum / Max / Min / Count of the commission field on the Opportunity object. Creating Roll-up Summary Field : -- Create a custom field on the object on which you want to display the summary. While creating the custom field choose the Field Type as Roll-up Summary field. ...
This Salesforce tutorial blog is for any body who wants to learn Salesforce admin and become a Salesforce Administrator. The blog would have the content which is easy to learn.