Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Counting Child records on Parent record form

(0) ShareShare
ReportReport
Posted on by 190

Hi

Is there a way to display in a number field the 'Count' of contacts on the Accounts form?

I would require a field on the Accounts form called 'Contacts UK Count' for example that would look at the contacts of that Account and if the Country = UK then it would add/subtract on that field every time the form is opened.

Is it possible through calculated fields, business rules or would it have to be a plugin?

Thanks

*This post is locked for comments

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at
    RE: Counting Child records on Parent record form

    Hi

    You can achieve this using a Rollup field (Count aggregate function).

    Please refer the example in the following:

    [View:https://technet.microsoft.com/en-us/library/dn832162.aspx:750:50]

  • Verified answer
    M.Azwar Alam Profile Picture
    on at
    RE: Counting Child records on Parent record form

    Hi,

    Check for  rollup field

    Mark answer as verified

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
dkrishna Profile Picture

dkrishna 6

Featured topics

Product updates

Dynamics 365 release plans