# Gi Function date filter

**URL:** <https://community.velixo.com/t/gi-function-date-filter/83>\
**Category:** Q&A\
**Tags:** Acumatica\
**Created:** [December 19, 2024, 2:44pm UTC](https://community.velixo.com/t/gi-function-date-filter/83 "2024-12-19T14:44:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Racer](https://community.velixo.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@David\_Racer](https://community.velixo.com/u/David_Racer)\
**Post date:** [December 19, 2024, 2:44pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/1 "2024-12-19T14:44:44Z")

</div>

I am trying to filter a date from the GI and the array is returning an error. The filter actually goes through correctly and I can see the filter details in the cell, but the query returns a #value error. Below is the valid filter. The last one is the date filter. It shows “and ARMStartdate le 2024-12-31T000:00:00:000Z” in the cell telling me it’s valid. Why won’t this work. I tried it with another date field and got the same error. The dates in the query are in MM/DD/YY format

=GIFILTER(“Ithaka”,“DR-Weekly Sales report”,“Glaccount”,B8:B19,“InventoryID”,“\<\>”&“”“”,“Status”,C8:C10,“ARMStartDate”,“\<=”&“12/31/24”)

---

<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:** [December 19, 2024, 3:41pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/2 "2024-12-19T15:41:49Z")

</div>

Can you show the “invalid” message?

---

<div class="post-metadata">

**Author:** ![David\_Racer](https://community.velixo.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@David\_Racer](https://community.velixo.com/u/David_Racer)\
**Post date:** [December 19, 2024, 3:45pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/3 "2024-12-19T15:45:33Z")

</div>

Sure #VALUE is showing in the formula box of the GI instead of the entire GI

---

<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:** [December 19, 2024, 3:47pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/4 "2024-12-19T15:47:12Z")

</div>

When you select that cell and hover over the yellow triangle, what additional information is displayed?

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

---

<div class="post-metadata">

**Author:** ![David\_Racer](https://community.velixo.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@David\_Racer](https://community.velixo.com/u/David_Racer)\
**Post date:** [December 19, 2024, 4:01pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/5 "2024-12-19T16:01:40Z")

</div>

Could not recognize the ODATA syntax

Most likely your filter contains a function Which is not supported server side such as (tolower(), startswith() or contains ()

If possible try to reformulate the filter expression without using any unsupported function cells

Alternatively if this query is not too large to load without a filter consider enabling client side filtering for the inquiry in velixos Generic inquiry options

---

<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:** [December 19, 2024, 4:19pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/6 "2024-12-19T16:19:21Z")

</div>

Thank you. That would tend to indicate the that the filter (and, thus, the query) has gotten too long for the ERP to handle.

I would suggest sharing this information with the Velixo Help Desk ([support@velixo.com](mailto:support@velixo.com)). They may have suggestions for making the query more manageable. Alternatively, if the entire GI is fairly small, you could do what the message suggests and bring in the entire record set and then perform the filtering:

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

---

<div class="post-metadata">

**Author:** ![David\_Racer](https://community.velixo.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@David\_Racer](https://community.velixo.com/u/David_Racer)\
**Post date:** [December 19, 2024, 5:08pm UTC](https://community.velixo.com/t/gi-function-date-filter/83/7 "2024-12-19T17:08:51Z")

</div>

Thanks. Will do
