Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Calculated Fields

Posted on by 1,695

Accounts has a 1:N relationship with a custom entity OrigAcc. Can I use a calculated field on Accounts to count the number of active records in OrigAcc relating to that Account and if so how ?

*This post is locked for comments

  • Aileen Gusni Profile Picture
    Aileen Gusni 44,522 on at
    RE: Calculated Fields

    Hi Pete,

    Yes, but this I recommend you to use rollup field.

    While you can create the condition to calculate only the child record by Active status.

    Thanks.

  • Frank Lee Profile Picture
    Frank Lee 4,616 on at
    RE: Calculated Fields

    CRM 2015 Rollup Fields is the best option.  It supports custom 1:N custom entities.

    http://www.microsoft.com/en-us/dynamics/crm-customer-center/perform-key-business-calculations-with-rollup-fields.aspx

  • Verified answer
    Abed Haniyah Profile Picture
    Abed Haniyah 4,285 on at
    RE: Calculated Fields

    Dear PeteN,

    For CRM 2015, you can use Rollup field to achieve your requirement.

    Please refer to : www.powerobjects.com/.../roll-up-fields-dynamics-crm-2015

    Regards,

    Abed.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Calculated Fields

    Hi Pete,

    You could add a sub-grid to your Account screen which displays the related OrigAcc records. If you had 20 records against 'Account1' then it would display the count in the grid for you as seen at the bottom left of the screenshot below and you can use a relationship to ensure it shows just the active accounts. I hope this answers your question.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans