Complete the code to create a calculated field that returns the average sales.
AVG([1])The AVG function calculates the average of the Sales field.
Complete the code to create a calculated field that returns the median profit.
MEDIAN([1])The MEDIAN function calculates the middle value of the Profit field.
Fix the error in the calculated field to return the standard deviation of sales.
STDEV([1])The STDEV function requires the field name without aggregation inside.
Fill both blanks to create a calculated field that returns the variance of profit for each category.
WINDOW_VAR([1], 0, [2])
WINDOW_VAR calculates variance over a window. Use the field name Profit and LAST() to define the window end.
Fill all three blanks to create a calculated field that returns the coefficient of variation (CV) for sales.
[1] / AVG([2]) * [3]
The coefficient of variation is standard deviation divided by average, multiplied by 100 to get a percentage.