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

How to use Count ,Avg,sum,Max,Min field in AOT query.

(0) ShareShare
ReportReport
Posted on by 875

Hi Friends ,

Any one can tell me  How to use Count ,Avg,sum,Max,Min field in  AOT query.

*This post is locked for comments

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

    What's the problem? Your picture already shows how to create such fields, so you must mean something else, but I don't know what it is.

  • Vikas_AX_Blogs Profile Picture
    875 on at

    Hi Martin,

    After add count filed in query where i can use that is my question .

  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    You'll access it in exactly the same way as if it was a normal field without any aggregation function applied. You can show it in a report, read it in X++ code and so on.

  • Vikas_AX_Blogs Profile Picture
    875 on at

    Thanks Martin

  • Ann2015 Profile Picture
    1,128 on at

    How do I refer to the sum or count fields in a report. I tried adding it to the Design and getting errors.

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Ann2015, if you problem is related to this thread, i.e. it's about an AOT query, test whether your query works before trying to use in the report.

    If your question isn't about AOT queries, please create a new thread and explain your problem in detail there. You'll surely agree with me that we can't know what errors you're getting unless you tell us about them.

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans