Select to view content in your preferred language

How can I group values by a field without losing String values?

395
1
02-01-2023 05:42 AM
Labels (1)
NygrenOhto
New Contributor II

I am trying to group a Table in ArcGIS Dashboards by municipalities by using Data Expressions, but the groupby function only takes the first string value it finds for each row and uses that.

Table I have:

image.png

 

Table I am trying to achieve:

image.png

 

Table I keep getting:

image.png

 

I cannot use the Grouped Values feature in ArcGIS Dashboards Data options as it only shows statistics for Value Fields and not string values. I have also tried solving this with Python but cannot find the correct way despite hours of Googling and trying.

1 Reply
SimonGIS
New Contributor III

Having a similar issue.  Want to use GroupBy, but working with string fields and not numerical. 

0 Kudos