Hi everyone, I am trying to update an Item Management Dashboard for my agency. I am working off the sample that Esri provides and was hoping to add in a filter. I am hoping to filter based on the tags that items have. When I initially try to set this filter up, it pulls the entire field of the table and doesn't separate the tags. It comes through as the entire cell in the dropdown. I would only like one tag listed per dropdown like this:
Versus what I am actually getting right now:
It reads the entire string cell and makes my list very large and extremely specified. I want to pull all instances that contain Forestry (for example), whether there's only the Forestry tag for the item or if there are more tags included in the item as well. We use many different tags and the information in this dashboard is dynamic so I don't think I can list and identify them one by one in code.
Is there a way to adjust this in the actual Dashboard versus in the notebook?
I think you can accomplish this by using Defined Values and Operator contains. On the data tab or your category selector, pick defined values; you will have to manually set up all your values, then on the Selector tab in the operator section, choose contains.
When filtering by individual tags in an ArcGIS Dashboard, you can use category selectors or data expressions to isolate values dynamically. Setting up filters with “IN” operators or Arcade scripts gives more granular control. It’s often easier to design tag fields as lists rather than strings, so dashboards recognize each tag as a discrete filterable element.