0
0
Power BIbi_tool~5 mins

IF function for conditions in Power BI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
A"No"
B3
C5
D"Yes"
Which part of IF function is the condition?
AThe first argument
BThe second argument
CThe third argument
DNone of the above
How do you check multiple conditions with IF in Power BI?
AUse SWITCH instead
BUse only one IF function
CUse nested IF functions
DUse SUM function
What does IF(Sales[Amount] = 0, "No Sales", "Sales") do?
AFilters sales data
BLabels zero sales as "No Sales" and others as "Sales"
CCalculates total sales
DReturns sales amount
What is the output of IF(FALSE, 10, 20)?
A20
B10
CFALSE
DError
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.