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 365 | Integration, Dataverse...
Suggested Answer

How to calculate a Balance, or SUM a field total so It can be shown on a form

(0) ShareShare
ReportReport
Posted on by 5

Hello All

I am struggling with this requirement. We have a Form where we want to enable people to see their current Balance, I was tasked to create this field that will sum totals of each record depending on the status of the record. If Status is pending then the amount must be added and so on.... until it reaches the last record. How to obtain that output, Been reading and found out about rollup fields and calculated but dont know which one should I go for. Just to mention i am new to this Dynamics world.

Btw we are displaying this on a Dynamics Portals website

Dynamics365.png

I have the same question (0)
  • Suggested answer
    Steven RH JIANG Profile Picture
    Microsoft Employee on at

    Hi RicardoC,

    So may I assume, you have a parent entity, and a child entity. The child entity stores data like transaction with amount field and status field. And in your parent entity, you need to show the 'Current Balance' value? And the formula is, Parent record's 'Current Balance' = Sum(All child record's amount if its status = Pending)?

    If my understanding is correct, I would suggest you to use rollup field. Please refer to this article for more details. https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/define-rollup-fields#aggregate-data-for-a-record-from-related-records

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 172

#2
ManoVerse Profile Picture

ManoVerse 58 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans