Bird
0
0

Given the table Products with columns Category and Price, what will this DAX expression return?

medium📝 dax lod result Q13 of 15
Power BI - Power Query Editor

Given the table Products with columns Category and Price, what will this DAX expression return?

FILTER(Products, Products[Category] = "Beverages" && Products[Price] < 20)
AAll products with Category 'Beverages' and Price less than 20.
BAll products with Category 'Beverages' or Price less than 20.
CAll products with Price less than 20 only.
DAll products with Category 'Beverages' only.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the FILTER condition

    The condition uses && which means AND, so both must be true: Category = "Beverages" AND Price < 20.
  2. Step 2: Understand the result of FILTER

    FILTER returns rows where both conditions hold, so only products matching both are included.
  3. Final Answer:

    All products with Category 'Beverages' and Price less than 20. -> Option A
  4. Quick Check:

    AND condition filters both criteria = B [OK]
Quick Trick: && means both conditions must be true [OK]
Common Mistakes:
  • Confusing && (AND) with || (OR)
  • Ignoring one condition
  • Assuming it filters only by one column

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes