Complete the code to create a calculated table that lists all unique product categories.
ProductCategories = DISTINCT([1])The DISTINCT function returns unique values from the specified column. Here, Products[Category] is the correct column to get unique categories.
Complete the code to create a calculated table that filters sales for the year 2023.
Sales2023 = FILTER(Sales, Sales[Year] [1] 2023)
The FILTER function needs a condition. To get sales only for 2023, use Sales[Year] = 2023.
Fix the error in the calculated table that tries to sum sales by product.
SalesByProduct = SUMMARIZE(Sales, Sales[Product], "TotalSales", [1](Sales[Amount]))
SUMMARIZE groups data, but to calculate total sales, use SUM on the Amount column.
Fill both blanks to create a calculated table that lists customers with sales greater than 1000.
HighValueCustomers = FILTER([1], [2] > 1000)
We filter the Customers table where their TotalSales column is greater than 1000.
Fill all three blanks to create a calculated table that summarizes total sales by region and year.
SalesSummary = SUMMARIZE([1], [2], [3], "TotalSales", SUM(Sales[Amount]))
SUMMARIZE groups the Sales table by Region and Year, then sums Amount as TotalSales.