# GIFilter GLDetails for non sequential accounts

**URL:** <https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25>\
**Category:** Q&A\
**Tags:** Acumatica\
**Created:** [September 26, 2023, 1:22pm UTC](https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25 "2023-09-26T13:22:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathaniel\_Travis](https://community.velixo.com/letter_avatar_proxy/v4/letter/n/7ba0ec/32.png) [@Nathaniel\_Travis](https://community.velixo.com/u/Nathaniel_Travis)\
**Post date:** [September 26, 2023, 1:22pm UTC](https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25/1 "2023-09-26T13:22:47Z")

</div>

If I want to run a report to build a table of data to use in analysis, but the accounts I want to pull are non sequential, whats the best way to do that.

The example half way down this link has a ‘From Account’ and ‘To Account’. Unfortunately I am new to my organization and did not set up the GL. and I have accounts spread out that I want to build reconciliations for using the GIFilter / Velixo-GLDetails.

---

<div class="post-metadata">

**Author:** ![Harry](https://community.velixo.com/user_avatar/community.velixo.com/harry/32/21_2.png) [@Harry](https://community.velixo.com/u/Harry)\
**Post date:** [September 27, 2023, 8:52pm UTC](https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25/2 "2023-09-27T20:52:52Z")

</div>

Hello. Whenever doing a query based on non-contiguous values (such as non-sequential account numbers), each value would need to be specified in the filter you create.

Here is an example for retrieving data for four separate account numbers:

 ![](https://community.velixo.com/uploads/default/original/1X/45d52d134b14229d49947be10ca6f56bb098cec1.png)

---

<div class="post-metadata">

**Author:** ![Harry](https://community.velixo.com/user_avatar/community.velixo.com/harry/32/21_2.png) [@Harry](https://community.velixo.com/u/Harry)\
**Post date:** [September 27, 2023, 8:56pm UTC](https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25/3 "2023-09-27T20:56:26Z")

</div>

It’s important to keep in mind that, if there are too many values, the filter can become so long as to surpass Excel’s ability to store the string.

---

<div class="post-metadata">

**Author:** ![Gabriel](https://community.velixo.com/user_avatar/community.velixo.com/gabriel/32/7_2.png) [@Gabriel](https://community.velixo.com/u/Gabriel)\
**Post date:** [September 27, 2023, 9:03pm UTC](https://community.velixo.com/t/gifilter-gldetails-for-non-sequential-accounts/25/4 "2023-09-27T21:03:24Z")

</div>

Thanks Harry.

Nathaniel, also please note that it’s also possible to use the Velixo [Range Filtering Syntax](https://helpacumatica.velixo.com/support/solutions/articles/153000012270) and the [EXPANDACCOUNTRANGE](https://helpacumatica.velixo.com/support/solutions/articles/153000013438expandaccountrange-function) function to achieve this:

 ![](https://community.velixo.com/uploads/default/original/1X/d08fc8cb0957a26b54a066e93d98bd1df3fabba8.png)

P.S. You can hardcode the connection name and inquiry name in the function if you prefer, like that:

=GIFILTER(“Demo”,“Velixo-GLDetail”,“Account”,EXPANDACCOUNTRANGE(“Demo”,D3))
