HOW TO
In ArcGIS Pro, Arcade expressions and the Includes() function can be used to group multiple field values in the dataset. Grouping the data according to unique values reduces clutter and focuses on the important subpopulations that emerge from the data. For example, grouping the levels of education resources available in the city of Portland into three categories.
This article describes how to use the Includes() function in ArcGIS Pro to categorize multiple field values into three distinct unique values (levels of education) by referencing the LEVEL field. The image below demonstrates the three levels of education resources in the city of Portland.
var <variable1> = $feature.<fieldName1> var <variable2> = Includes(['<field value 1>', '<field value 2>', '<field value 3>', '<field value 4>', '<field value 5>'], <variable1>) var <variable3> = Includes(['<field value 6>', '<field value 7>'], <variable1>) if(<variable2> == True){ return '<field value 8>' } if(<variable3 == True){ return '<field value 9>' } else{ return '<field value 10>' }
Get help from ArcGIS experts
Download the Esri Support App