Recall & Review
beginner
What does the IF function do in Power BI?
The IF function checks a condition and returns one value if the condition is true, and another value if it is false.
Click to reveal answer
beginner
Write the basic syntax of the IF function in Power BI DAX.
IF(<condition>, <value_if_true>, <value_if_false>)
Click to reveal answer
intermediate
Can the IF function handle multiple conditions in Power BI?
Yes, by nesting IF functions inside each other, you can check multiple conditions step by step.
Click to reveal answer
beginner
Example: What does this formula do? IF(Sales[Amount] > 1000, "High", "Low")
It checks if the sales amount is greater than 1000. If yes, it returns "High"; otherwise, it returns "Low".
Click to reveal answer
beginner
Why is the IF function useful in business reports?
It helps to categorize data or create labels based on conditions, making reports easier to understand.
Click to reveal answer
What will IF(5 > 3, "Yes", "No") return?
✗ Incorrect
Since 5 is greater than 3, the condition is true, so IF returns "Yes".
Which part of IF function is the condition?
✗ Incorrect
The first argument in IF is the condition to check.
How do you check multiple conditions with IF in Power BI?
✗ Incorrect
You can nest IF functions inside each other to check multiple conditions.
What does IF(Sales[Amount] = 0, "No Sales", "Sales") do?
✗ Incorrect
It checks if sales amount is zero and labels accordingly.
What is the output of IF(FALSE, 10, 20)?
✗ Incorrect
Since the condition is false, IF returns the third argument, 20.
Explain how the IF function works in Power BI and give a simple example.
Think about checking if a number is bigger than another.
You got /4 concepts.
Describe how you can use multiple IF functions together to check more than one condition.
Imagine asking two questions one after another.
You got /3 concepts.