web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Count the number of cases for an account

(0) ShareShare
ReportReport
Posted on by

Hi experts,

I want to display the number of active cases (count) for any account and display that in a custom field in the account record.

How can I accomplish this?

Thanks,

Jon

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Jon,

    You could add a new whole number field to the account entity, and set field type to rollup. Then, choose the related entity you wish to count, apply any filters (e.g. status = active) and set aggregation to count of the cases entity. You can do this without code.

    www.powerobjects.com/.../roll-up-fields-dynamics-crm-2015

    mark my suggestion as verified if helpful.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Jon,

    Simple rollup of child records can be achieved by creating a rollup fields as suggested above. You need to although consider the limitation of rollup field like you can't do rollup of a rollup field etc.

    Check here: technet.microsoft.com/.../dn832162.aspx;MSPPError=-2147217396#BKMK_considerations

    Hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans