# How to obtain HAVING function in AX X++ Query

**URL:** <https://www.dynamicsuser.net/t/how-to-obtain-having-function-in-ax-x-query/54536>\
**Category:** Developer Forum\
**Created:** [August 25, 2014, 10:52am UTC](https://www.dynamicsuser.net/t/how-to-obtain-having-function-in-ax-x-query/54536 "2014-08-25T10:52:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinothkumarece07](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vinothkumarece07](https://www.dynamicsuser.net/u/vinothkumarece07)\
**Post date:** [August 25, 2014, 10:52am UTC](https://www.dynamicsuser.net/t/how-to-obtain-having-function-in-ax-x-query/54536/1 "2014-08-25T10:52:05Z")

</div>

Hi All,

How to obtain Having filter in X++ query

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [August 25, 2014, 12:54pm UTC](https://www.dynamicsuser.net/t/how-to-obtain-having-function-in-ax-x-query/54536/2 "2014-08-25T12:54:35Z")

</div>

I’m not sure what exactly you need (please give us a more detailed explanation next time), nevertheless this might help: [Walkthrough: Creating an AOT Query that has Group By and Having Nodes [AX 2012]](http://msdn.microsoft.com/en-us/library/hh745337.aspx).
