I have a data set created from a flat file data source pointing at a csv. The data set has 4 columns: Name, Time, Group, Score<br />
<br />
I need to add a fifth computed column which is the average of the Score values where name and time are the same. So if this were sql then it would look something like:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
select name, time, avg(score)
from csv_file
group by name, time;
</pre>
<br />
however, because this is coming from a csv file, i can't use sql

<br />
<br />
i'm guessing this is done in the "computed columns" tab but i'm pretty stumped<br />
<br />
any ideas?