Summary
Configuring filter actions on selectors allows the page visitors to view focused and relevant numerical attributes or a summary statistic on an indicator. In some instances, it is necessary to display a static count of a reference value in the indicator to compare with the calculated value of an attribute field.
In this example, the indicator displays the calculated value of public schools in Portland based on the selected category. This article provides instructions to display a static count in the ArcGIS Dashboards indicator with a filtered selector.
Procedure
- In ArcGIS Dashboards, add the indicator element and selector. Refer to ArcGIS Dashboards: Add elements or ArcGIS Dashboards: Add a selector for instructions.
- Configure the map element to apply the filter action. Refer to ArcGIS Dashboards: Filter data for more information on filters and ArcGIS Dashboards: Configure actions for elements for instructions to configure actions for elements.
- Hover over the indicator and click More options > Configure.
- In the Indicator window, click the Data tab.
- On the Data tab, expand the Reference section.
- For Reference type, select Statistic from the drop-down list.
- For Statistic, select Count, and for Field, select OBJECTID.
- Click the Indicator tab.
- On the Indicator tab, for Bottom text delete {reference}.
- Click the General tab.
- Navigate to Description and click Edit.
- Add the description. Navigate to the preferred space in the sentence to display the reference value, click the drop-down, and select reference.
Note:
Optionally, to change the font color for the reference value, highlight {reference} in the description box and click the Text Color drop-down. Select the preferred color to distinguish the reference value.
- Click Done to save the changes.
In this example, the reference value in the description is displayed as a static count representing the total number of schools in Portland, while the category selector filters the calculated value of private or public schools in Portland.