Complete the code to return a unique list of products from the Sales table.
UniqueProducts = [1](Sales[Product])The VALUES function returns a one-column table of unique values from the specified column.
Complete the code to get a distinct list of customer IDs from the Customers table.
DistinctCustomers = [1](Customers[CustomerID])The DISTINCT function returns a one-column table with unique values from the specified column.
Fix the error in the code to return unique product categories from the Products table.
UniqueCategories = DISTINCT([1])In DAX, columns are referenced with square brackets inside the table name, like TableName[ColumnName].
Fill both blanks to create a measure that counts distinct customers who made sales.
DistinctCustomerCount = COUNTROWS([1]([2]))
First, use VALUES to get unique CustomerIDs from the Sales table, then count rows to get the number of distinct customers.
Fill all three blanks to create a table of distinct product names and their categories from the Products table.
DistinctProducts = SUMMARIZE([1], [2], [3])
SUMMARIZE creates a summary table grouping by specified columns. Here, we group the Products table by ProductName and Category to get distinct combinations.