Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Calculate Sum Amount of Selected Rows on Parent Entity

(0) ShareShare
ReportReport
Posted on by 40

I have a requirement that on the selection of records in subgrid the amount denied should sum (for selected records only) and set in parent entity custom field and in case of unselection it should subract from the custom field.

Please see the image below for reference.

2020_2D00_11_2D00_13-14_5F00_48_5F00_51_2D00_C_5F005F00_Users_5F00_maliv_5F00_Quire_5F00_Screenshots_5F00_2020_2D00_11_2D00_13-14_5F00_45_5F00_40_2D00_Claim_5F00_-Claim_5F00_-890776-_2D00_-Dyna.jpg

Any help will be appreciated.

TIA.

  • Ioannis Vrasenikis Profile Picture
    on at
    RE: Calculate Sum Amount of Selected Rows on Parent Entity

    Hi Muhammad Ali,

    you can explore the OnRecordSelect Event and see if that fits your needs.

    docs.microsoft.com/.../grid-onrecordselect

    As an alternative, I would also consider if an editable grid on the Bills subgrid with specific "flagging for sum" attributes could be also an option. You could use oob of the box rollup fields to sum up the "flagged" bills.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans