0
0
Power BIbi_tool~5 mins

FILTER function in Power BI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AA filtered table
BA single number
CA text string
DA chart
Which of these is the correct syntax for FILTER?
AFILTER(<table>)
BFILTER(<condition>, <table>)
CFILTER(<condition>)
DFILTER(<table>, <condition>)
Can FILTER be used inside a measure to calculate values dynamically?
AYes
BNo
COnly in calculated columns
DOnly in visuals
If you want to filter rows where Sales[Quantity] is less than 50, which FILTER expression is correct?
AFILTER(Sales, Sales[Quantity] > 50)
BFILTER(Sales, Sales[Quantity] < 50)
CFILTER(Sales[Quantity] < 50)
DFILTER(<50, Sales)
What happens if FILTER condition matches no rows?
AReturns the whole table
BReturns an error
CReturns an empty table
DReturns zero
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.