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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans