Complete the code to calculate the total sales using an aggregate function.
SUM([1])The SUM function adds all values in the Sales field to give total sales.
Complete the code to calculate the average sales per row.
AVG([1])The AVG function calculates the average of the Sales field values.
Fix the error in the calculation to get the total sales per category.
SUM([1])To get total sales per category, sum the Sales field, not the Category field.
Fill both blanks to calculate the average sales per region, excluding zero sales.
AVG(IF [1] > 0 THEN [2] END)
The condition checks if Sales > 0, then averages the Sales values.
Fill all three blanks to create a calculation that sums sales only for the 'East' region.
SUM(IF [1] = '[2]' THEN [3] ELSE 0 END)
This calculation sums Sales only when Region equals 'East'. Otherwise, it adds zero.
