Complete the code to remove duplicate rows from the table.
DistinctTable = DISTINCT([1])The DISTINCT function removes duplicate rows from the specified table. Here, we use the table name Sales as input.
Complete the code to create a table with unique CustomerIDs from Sales.
UniqueCustomers = VALUES([1][CustomerID])The VALUES function returns unique values from the specified column. Here, we want unique CustomerIDs from the Sales table.
Fix the error in the code to remove duplicates from the Sales table.
CleanSales = DISTINCT([1])DISTINCT requires a table as input. Using Sales (the table) is correct. Passing a column causes an error; other options use unnecessary table expressions.
Fill both blanks to create a table with unique CustomerIDs from Sales.
UniqueCombos = SUMMARIZE([1], [2])
The SUMMARIZE function groups the Sales table by Sales[CustomerID] to get unique CustomerIDs.
Fill all three blanks to create a table with unique CustomerID and ProductID combinations using SUMMARIZE.
UniqueCombos = SUMMARIZE([1], [2], [3])
SUMMARIZE groups the Sales table by CustomerID and ProductID columns to remove duplicates of these combinations.