Notifications
Announcements
No record found.
I have 2 tables in my form and 2 tables have a relation with header and line.
In my form (Header) I would like to show sum(Amount) for all data in line.
How should i do? please advise.
Hi, You can do it with 'New Grid Control' feature without customization. Check this article
www.linkedin.com/.../calculate-fields-totals-d365fo-hylke-britstra
If you want to do via code and don't want to manage personalization's for users, then check this article
dynamics365musings.com/.../
Hi,
You can right click that column and click on "Total this column" - This is a inbuilt feature available in d365.
Thanks,
Girish S.
Thank for both but My users want output that header need to have summary because at the end they need to export to be an excel to their boss.
Do you have any sugguestion?
I would suggest you add a display method to show the total line amount against that header. During excel export from the form you can be able to see that display method in the excel also.
As Girish mentioned, best to create a display method. Add the display method at header level which will calculate total of all related sales order lines and export it to excel.
Thank you both now I create method and this issue are solved.
Thank you very much.
Please mark answer/s verified so it can help someone in future.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 565 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader