Activity › Forums › Salesforce® Discussions › Can you have a Roll-up Summary field in the case of a Master–Detail Relationship

  • Can you have a Roll-up Summary field in the case of a Master–Detail Relationship

    Posted by Sumit kumar on May 27, 2020 at 11:59 AM

    Can you have a Roll-up Summary field in the case of a Master–Detail Relationship?

    Pooja replied 6 years, 4 months ago 4 Members · 3 Replies
  • 3 Replies
  • MOHIT

    Member
    May 27, 2020 at 2:55 PM

    Yes. You can have a roll-up summary in case of a master-detail relationship. But not in case of a lookup relationship.
    A roll-up summary field is used to display a value in a master record based on the values of a set of fields in a detail record. The detail record must be related to the master through a master-detail relationship.
    There are 4 calculations that you can do using roll-up summary field. You can count the number of detail records related to a master record. Or, you can calculate the sum, minimum value, or maximum value of a field in the detail records.

  • [adinserter block='9']
  • Ayush

    Member
    June 1, 2020 at 9:59 AM

    Yes. You can have a roll-up summary in case of a master-detail relationship.

  • Pooja

    Member
    June 1, 2020 at 1:56 PM

    Yes you can implement it

Log In to reply.

Popular Salesforce Blogs

Understanding the role of Salesforce Consulting in Driving Digital Transformation

Blog in

In today’s rapidly evolving business environment, digital transformation has become a critical priority for companies across all industries. Digital transformation integrates digital technology into an…

Popular Salesforce Videos