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] 