Select to view content in your preferred language

ArcGIS Online- Map Viewer- Filter Expression option for 'Within the Current Year'

2093
14
04-30-2024 12:33 PM
Status: Open
Amanda__Huber
MVP Regular Contributor

Hello AGOL Team, 

In Map Viewer it appears there is is no filter option for "within the current year". Our organization desperately need this (as I'm sure many others do as well). For some of our production projects we have filters set to the current year, and every year we have to manually go into these web maps and update the year/date in the filter. 

Amanda__Huber_0-1714505334938.png

 

Please consider adding a filter for "within the current year". 

 

In addition, please note the difference in variety of filter options between Map Viewer and even ArcGIS Dashboards. Please consider filter equivalency between the two platforms: 

Amanda__Huber_1-1714505541848.png

Thank you, 

Amanda Huber

 

14 Comments
RussRoberts

Date Only support in filtering was added in 11.3 and then with relative filters will be coming in 11.4 enterprise release.  We added support for this in ArcGIS Online in the June 2024 release. 

BrettFrahm

@RussRoberts Can you clarify the current status for this Idea. Here is my understanding below based on your last comment.

 

  • Date Time field in Portal/ArcGIS Online -> No support for filtering to current year
  • Date Only field in Portal 11.3 and ArcGIS Online (including portal features collaborated to AGO) -> Support for filtering to current year

 

Thank you,

Brett

 

 

RussRoberts

Support for

  • Date-Time(classic date field type) relative time filters "in the last year" supported on hosted and non hosted services in AGO.
    • Non hosted layers must be 
      • Min server version 10.9.1
      • Must have standardized queries enabled
    • 11.4 Bringing same support as above. Pre 11.4 was hosted only feature services on the portal.
  • Date Only relative date filters
    • Support added 11.4
BrettFrahm

@RussRoberts Thank you for such a quick response. I'd like to point out that this ArcGIS Idea is for being able to filter to current year and not necessarily just support for relative time filters (which are still an amazing addition).

 

With an 11.2.1 ArcGIS Server feature service in ArcGIS Online (standardize queries enabled) I am only able to do "In the last" and "not in the last" queries for a date-time field, which does not allow me to specifically filter to the current year.

 

With that I'll assume that this feature is still on the horizon and will wait eagerly for its arrival.

 

Thank you,

Brett