Predefined filters can be added to your Insights for ArcGIS page and used as part of your shared page. Predefined filters allow some of the functionality of filters to be accessed on a shared page, including by users who do not have an Insights license.
A predefined filter acts like a dataset filter, meaning that it will be applied to all cards using the filtered dataset, rather than an individual card.
Add a predefined filter card
Predefined filters are stored on cards on your Insights page. To add a predefined filter card, complete the following steps:
- Click the drop-down menu under the Widget button in the data pane and choose Predefined Filter .
- Click the Add button to create a new filter.
- Click Choose a field to expand the drop-down list with field names.
- Choose a field from the list.
- Apply the filter parameters that you want available on your shared page. For more information, see Filter data.
- Click Apply, By group or By value to add the filter.
The background and border can be changed for a predefined filter card by clicking the More button and clicking the Card Settings button to open the Card Style pane. Hover your mouse pointer over the filter to display the Rename filter , Edit filter , and Remove filter buttons .
Predefined filter options
Predefined filters have options for how the filters are added and how selections are made on the filter.
Add filters by group
A group of filters can be used to add a single filter for multiple categorical values from a string field. For example, if you have a dataset of world countries, you can create a single filter for the United Kingdom that includes Northern Ireland, Scotland, England, and Wales by selecting only those four countries and adding them to the predefined filter card using the By group button. A single filter will be added to the card, labeled with the field name (for example, CountryName). The filter can be renamed to better describe the group using the Rename filter button .
Add filter by value
Individual categorical values from a string field can be added to the predefined filter card using the By value button. You can use the By value button to add a single value, multiple values, or all of the values from the field. Each value selected will be added to the card as an individual filter value.
A predefined filter can be created in a single select or multi select format. A single select predefined filter allows you to toggle on a single value at a time. If a different value is selected, the first value will be unselected. A multi select filter allows you to select more than one value at once. Use the following steps to change the selection type for a predefined filter:
- Click the More button on the predefined filter card to display the side toolbar.
- Click the Card Settings button . The Card Style pane opens.
- Click the Selection Properties tab .
- Click on Single select or Multi select to choose the selection type.
- Close the Card Style pane.
Add multiple filters
There are two ways to add multiple predefined filters to a page: adding multiple filters on the same card and adding multiple predefined filter cards.
Multiple filters on the same card
Multiple filters can be added to a predefined filter card. When there are multiple filters on the same card, the filters are joined with an OR clause, meaning all the filters will be displayed individually on the page.
Multiple predefined filter cards
An Insights page can include more than one predefined filter card. When there are multiple predefined filter cards on a page, the filters are joined with an AND clause, meaning only features that meet all the filter criteria from each card will be displayed on the page.