List.Average(list as list, optional precision as nullable number) as any


Returns the average value for the items in the list, list. The result is given in the same datatype as the values in the list. Only works with number, date, time, datetime, datetimezone and duration values. If the list is empty null is returned.

Reference Data

Power Query M Functions / List Functions / List.Average