Skip to main content
added 148 characters in body
Source Link
Babel
  • 80.4k
  • 15
  • 97
  • 245

The array_agg() function contains all you need. It takes all values form Name field, groups them by the value from ID field and filters the feature where the field he has the largest value:

array_agg ( "Name", group_by:="ID", filter:= "he" = maximum ("he", group_by:="ID") )[0] 

enter image description here

The array_agg() function contains all you need:

array_agg ( "Name", group_by:="ID", filter:= "he" = maximum ("he", group_by:="ID") )[0] 

enter image description here

The array_agg() function contains all you need. It takes all values form Name field, groups them by the value from ID field and filters the feature where the field he has the largest value:

array_agg ( "Name", group_by:="ID", filter:= "he" = maximum ("he", group_by:="ID") )[0] 

enter image description here

Source Link
Babel
  • 80.4k
  • 15
  • 97
  • 245

The array_agg() function contains all you need:

array_agg ( "Name", group_by:="ID", filter:= "he" = maximum ("he", group_by:="ID") )[0] 

enter image description here