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)

Select Date in Dynamicx ax 2009

(0) ShareShare
ReportReport
Posted on by 19

hi,friends

 pastedimage1562073710109v1.png,I have one table like this. I want select some data group by teststringid and count(teststringid)>2,use ax code,could you help me ?

pastedimage1562073904222v2.png

  

*This post is locked for comments

I have the same question (0)
  • Vignesh R Profile Picture
    535 on at

    Hi,

    Refer below link

    http://www.axaptapedia.com/Having_Clause

  • Marin Profile Picture
    19 on at

    hi,friends ,I want get some data like teststringgrade>60 && count(teststringid)>=2,could you help me?

  • Marin Profile Picture
    19 on at

    hi,friends ,I want get some data like teststringgrade>60 && count(teststringid)>=2,could you help me?

  • Marin Profile Picture
    19 on at

    hi,friends ,I want get some data like teststringgrade>60 && count(teststringid)>=2,could you help me?

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Do you want to do that by coding or do you just want to filter transactions?

    Best regards

    Ludwig

  • Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi Marin,

    Please refer link below and see section ... Group by and order by..

    docs.microsoft.com/.../select-statement-examples

  • Marin Profile Picture
    19 on at

    hi,Vignesh  ï¼Œthanks your replay,but maybe there are not Having in the X++

  • Marin Profile Picture
    19 on at

    hi,Friends ,I want by code

  • Blue Wang Profile Picture
    on at

    Hi Marin,

    Although there is no Having in AX, you can use Query () to achieve the conditions you need.
    Vignesh's shared article, in fact, has talked about this part, you can read it carefully.

    http://www.axaptapedia.com/Having_Clause
    An example of AX2012:https://community.dynamics.com/ax/b/dynamicsaxsolutions/posts/how-to-use-having-in-ax-2012

    I hope it will help you.

  • Marin Profile Picture
    19 on at

    hi,friends ,I copy everything from fitst page ,but it show error:My_FiledID uninitialized,and Second link QueryHavingFilter havingFilter this one is not suit dynamicx ax 2009,I am a new bird,I really thanks your reply.

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