Recall & Review
beginner
What does the FILTER function do in Power BI?
FILTER returns a table that contains only the rows that meet a specified condition.
Click to reveal answer
beginner
Write the syntax of the FILTER function.
FILTER(<table>, <condition>)<br><br>Where <table> is the table to filter and <condition> is the logical test applied to each row.
Click to reveal answer
intermediate
Can FILTER be used inside a measure in Power BI?
Yes, FILTER is often used inside measures to create dynamic calculations based on filtered data.
Click to reveal answer
beginner
What type of output does FILTER return?
FILTER returns a table, not a single value. This table can be used as input for other functions.
Click to reveal answer
beginner
Example: How to filter the 'Sales' table to only include rows where 'Amount' is greater than 100?
FILTER(Sales, Sales[Amount] > 100)
Click to reveal answer
What does the FILTER function return in Power BI?
✗ Incorrect
FILTER returns a table containing only rows that meet the condition.
Which of these is the correct syntax for FILTER?
✗ Incorrect
FILTER requires a table first, then a condition to filter rows.
Can FILTER be used inside a measure to calculate values dynamically?
✗ Incorrect
FILTER is commonly used inside measures for dynamic calculations.
If you want to filter rows where Sales[Quantity] is less than 50, which FILTER expression is correct?
✗ Incorrect
The correct syntax is FILTER(table, condition).
What happens if FILTER condition matches no rows?
✗ Incorrect
FILTER returns an empty table if no rows meet the condition.
Explain how the FILTER function works and give a simple example.
Think about how you pick only certain rows from a list based on a rule.
You got /3 concepts.
Describe a scenario where using FILTER inside a measure would be helpful.
Imagine you want to calculate totals but only for some specific data.
You got /3 concepts.