get_unique_values
Retrieve distinct values for a field with row counts. Use to explore attribute data or apply a where clause and limit in ArcGIS Pro.
Instructions
Distinct values of a field with the count of rows for each.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Field name. | |
| limit | No | Maximum distinct values to return. | |
| where | No | SQL where clause. | |
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |