Header Ads Widget

How to create a rollup summary in Salesforce?



How to create Roll-Up Summary fields in Salesforce

How to create Roll-Up Summary fields in Salesforce : In this training tutorial we are going to learn what is Roll-Up Summary field in salesforce, Characteristic of Roll-Up Summary field and how to create Roll-Up Summary field in Salesforce.

Roll-Up Summary field : Roll-Up Summary field in salesforce calculates values from a set of related records.

Roll-Up Summary field can do the following functions.

ü  Count : It calculates the total number of related records.

ü  Sum : It totals the values of selected fields.

ü  Min : Displays lowest value.

ü  Max : Displays the highest value.

Characteristics of Roll-Up Summary.

Ø  Roll-Up Summary field can be created only in a object which is referred as a object with a master detailed relationship field.

Ø  Roll-Up Summary field can only created for Master-detail Relationship.

Ø  Roll-Up Summary field can not be  created for Lookup Relationship.

Ø  It Derives the data from child Object.

Ø  We can’t change field type of a field that we reference in a roll-up summary field.

Ø  Auto numbers are not available here.

Ø  Roll-Up Summary fields are not available for mapping lead fields of converted fields.

How to create Roll-Up Summary Fields in Salesforce.

Here we are going to create Roll-Up Summary field in Custom object called “College”. Totally we are going to create Four Roll-Up Summary fields which are Total number of Students from Student Object, Total number of Employes from Employs Object, Total Fee Paid from Student Object and finally Total Courses from Course Object.

Step1 : Go to Detailed view of the object then go to Custom fields and Relationship section.
Custom fields and Relationship section => New => Roll-Up Summary.
check this video :


Post a Comment

0 Comments