Calculate mean by group.

Hi all.

This is my problem… I have two columns with numeric values (Wind Speed [Integer], and Power [Double]).

I need to calculate the mean of Power, grouping by Wind Speed.

Example:

Wind Speed ----- Power
5 ------> 10
8 ------> 15
5 ------> 9
7 ------> 11
3 ------> 6
5 ------> 13
8 ------> 12

The result must be:

Wind Speed Power (Mean)
5 10.66
8 13.5
7 11
3 6

Thanz in advance.

Use Group by node grouping by Wind Speed and calculating mean on Power column.

3 Likes

Thankz @izaychik63 !!!.. Solved

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.