A. All products with Category 'Beverages' and Price less than 20.
B. All products with Category 'Beverages' or Price less than 20.
C. All products with Price less than 20 only.
D. All products with Category 'Beverages' only.
Solution
Step 1: Analyze the FILTER condition
The condition uses && which means AND, so both must be true: Category = "Beverages" AND Price < 20.
Step 2: Understand the result of FILTER
FILTER returns rows where both conditions hold, so only products matching both are included.
Final Answer:
All products with Category 'Beverages' and Price less than 20. -> Option A
Quick Check:
AND condition filters both criteria = B [OK]
Hint: && means both conditions must be true [OK]
Common Mistakes:
Confusing && (AND) with || (OR)
Ignoring one condition
Assuming it filters only by one column
4.
Identify the error in this DAX expression that filters Orders for Quantity greater than 10:
FILTER(Orders, Quantity > 10)
medium
A. The table name Orders is missing.
B. FILTER cannot be used with numeric conditions.
C. Quantity should be referenced as Orders[Quantity].
D. The condition should use < instead of >.
Solution
Step 1: Check column reference in condition
In DAX, columns must be referenced with table name, so 'Quantity' alone is invalid; it should be 'Orders[Quantity]'.
Step 2: Confirm other parts are correct
The table 'Orders' is present, and the condition operator > 10 is valid.
Final Answer:
Quantity should be referenced as Orders[Quantity]. -> Option C
Quick Check:
Column needs table prefix = C [OK]
Hint: Always prefix columns with table name in FILTER [OK]
Common Mistakes:
Using column name without table prefix
Thinking FILTER can't use numeric conditions
Changing operators without reason
5.
You want to create a measure that counts how many sales have PurchaseAmount over $500 in the Sales table. Which DAX expression correctly filters the Sales table?
COUNTROWS(FILTER(Sales, ____))
hard
A. Sales[CustomerID] > 500
B. Sales[CustomerID] < 500
C. Sales[PurchaseAmount] < 500
D. Sales[PurchaseAmount] > 500
Solution
Step 1: Identify the filter condition for purchases over $500
The condition should check if PurchaseAmount is greater than 500 to filter relevant sales.
Step 2: Confirm the correct column and operator
Sales[PurchaseAmount] > 500 uses Sales[PurchaseAmount] > 500, which correctly filters sales over $500.
Final Answer:
Sales[PurchaseAmount] > 500 -> Option D
Quick Check:
Filter sales where PurchaseAmount > 500 = D [OK]
Hint: Filter by purchase amount greater than 500 [OK]
Common Mistakes:
Filtering by CustomerID instead of PurchaseAmount
Using less than instead of greater than
Confusing column names
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.