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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Facing issue while calculating sum from the child entity field value under parent entity

(0) ShareShare
ReportReport
Posted on by 10

Hi All,

I am facing one issue while calculating sum from the child entity field value under the parent entity.

Details:

I have two entities Account [parent] and Contact [Child]

contact entity having two field wagesmonthly , wagesAnnually and  both are calculated field with decimal number

and contact entity also having lookup of account entity under the form.

Task need to do

I want sum for each field and showcase under the account entity custom field1 and field2

how can we achieve this, can some one guide me on this.

Thanks Josh

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Josh,

    Can you please state the issue that you experience?

  • Suggested answer
    Saeid G Profile Picture
    144 on at

    Not sure what issue you have but make sure in your related entity have proper filter 

    I.e.  if field1 contains data 

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Have you tried rollup field ?

    learn.microsoft.com/.../define-rollup-fields

    There is one limitation with rollup field is it can not reference calculated field.

    You can store the result of calculated field in normal field and then use that in rollup

  • Inogic Profile Picture
    709 on at

    Hi,

    You can achieve this by using Rollup field. 

    As you have custom fields on contact entity which are "wagesmonthly" and "wagesAnnually" .

    On account, create your custom field as Rollup field and add conditions like related entity as contact, in filters if the field contains data then aggregate as sum of "wagesmonthly " field of contact entity. 

    You can follow the same for the "wagesAnnually" field. 

    Refer the below. 

    wagesAnnually.png

    Hope this helps.

    Thanks!

  • Josh246 Profile Picture
    10 on at

    Hi All,

    Thanks for the Suggestion.

    Still  having issue, As i have mentioned Contact Entity, Wages monthly and Wages annual  both are decimal calculated field.

    If i create  Rollup field under account as CalMonthly, its not allowed to take the reference to calculated field from contact entity.

    what i need to achieve, calculate sum of all the related contacts  Wages monthly & wages annually individually  which are associated with specific account.

    that data i need to show case under account entitiy as CalMonthly and CalAnnualy fields.

    Please suggested me  how we can achieve this.

    Thanks Josh

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans