I have this table, and I want the average of the column EC(mS/cm) on the column next to it, group by name.

I used this formula yesterday but today it does not work when I apply it to the column.
If( Row() == Col Min( As Column( "EC (mS/cm)" ) << By( :Name ) ),
Col Mean( As Column( "EC (mS/cm)" ) << By( :Name ) ),
.
)
Thank you in advance!