You have a Sales table with a column OrderID. Which DAX measure correctly counts all sales orders, including duplicates?
Think about counting all rows with a specific column, including duplicates.
COUNT counts all non-blank values in a column, including duplicates. DISTINCTCOUNT counts unique values only. COUNTROWS counts rows but does not count a specific column's values. COUNT(Sales) is invalid because COUNT requires a column.
You want to show the difference between total sales orders and unique customers in a report. Which visual is best to clearly show both counts side by side?
Think about comparing two related numbers side by side.
A clustered column chart lets you compare two measures side by side clearly. Pie charts and line charts show one measure or trends, not direct comparison. A table without aggregation doesn't summarize counts.
Given a column with values: {1, 2, 2, BLANK, 3, BLANK}, what are the results of COUNT and DISTINCTCOUNT on this column?
Remember that COUNT ignores blanks but DISTINCTCOUNT counts unique non-blank values.
COUNT counts non-blank values: 1, 2, 2, 3 → 4 values. DISTINCTCOUNT counts unique non-blank values: 1, 2, 3 → 3 values.
What error will this DAX measure cause?TotalCount = COUNT(Sales)
TotalCount = COUNT(Sales)
Check the function argument type requirements.
COUNT requires a single column as argument. Passing a table causes a syntax error.
You have a Customer table with columns CustomerID and Region. Some CustomerID values are blank. You want a measure that counts unique customers per region, ignoring blanks. Which DAX measure is correct?
Think about filtering out blanks before counting distinct customers.
Option D uses CALCULATE with a filter to exclude blanks before DISTINCTCOUNT. Option D counts distinct including blanks (which DISTINCTCOUNT ignores anyway, but filter is explicit). Option D counts all non-blank values including duplicates. Option D counts rows but not distinct customers.