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 AX (Archived)

How to display total in Reports?

(0) ShareShare
ReportReport
Posted on by 720

Hi,

I am designing a simple report, where i want to calculate the total of a particular column(Derived from two columns of a table)....How to do that in Dynamics?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,452 Most Valuable Professional on at

     Hi,

    you can use a report control of the Sum type (for summing based on a single table field) or your own calculation logic (send() method is often good place for it).

  • Imran Azami Profile Picture
    720 on at

    Thanx for responding Martin,

     Will you give an example...

     With Regards:

    Azami

  • Martin Dráb Profile Picture
    239,452 Most Valuable Professional on at

    For an example of using the Sum control, see the tutorial_CustomizedSumDescription report. For a custom calculation, see - let's say - CustSalesItemGroupStatistics_NA report (and calculation of totalGroupAmount) - it is (of course) only one from many possibilities how to implement it.

    For completeness: the examples above exist in AX2009, they may be missing in older versions.

  • Mohamed Amine HAMDAOUI Profile Picture
    540 on at

    Hi,

    To diplay the total of a column (named ColumnA), you have to :

    1. Click on ColumnA and open its properties (Alt+enter)
    2. Modify the  SumAll to YES
    3. Create a new field (named ColumnASum) typed Sum
    4. In its properties, modify the dataFieldName to ColumnA

    That's all, the sum of all lines will be diplayed in the field.

    Remark : naturally the ColumnASum must be created outside and after the Body containing the ColumnA

    Best regards,

    --------------------
    Mohamed Amine HAMDAOUI
    Dynamics Ax Technical Consultant
    Vi-One North Africa - VISEO Group
    Mail : mhamdaoui@viseo.net
  • Imran Azami Profile Picture
    720 on at

    Thanx a lot Mohammed Amine HAMDAOUI ....

     I got the desired result....

    I have one more problem. ie; In my report I have a column that has same value for all records...I want to display that value only once....How to do that....

     

    With Regards:

    Azami

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans