Complete the code to calculate the total sales using SUM.
TotalSales = [1](Sales[Amount])The SUM function adds all values in the Sales[Amount] column to get total sales.
Complete the code to calculate the average sales amount.
AverageSales = [1](Sales[Amount])The AVERAGE function calculates the mean of all values in Sales[Amount].
Fix the error in the measure to correctly sum the Quantity column.
TotalQuantity = SUM([1])The correct syntax is SUM(Sales[Quantity]) where Sales is the table and Quantity is the column.
Fill both blanks to calculate the average sales amount for the year 2023.
AverageSales2023 = CALCULATE([1](Sales[Amount]), Sales[Year] [2] 2023)
Use AVERAGE to calculate the average and = to filter for year 2023.
Fill all three blanks to create a measure that sums sales amount only for products with sales greater than 100.
HighSales = CALCULATE([1](Sales[Amount]), Sales[Amount] [2] [3])
Use SUM to add amounts, > to filter greater than, and 100 as the threshold.