0
0
Power BIbi_tool~20 mins

Power Query interface overview in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Power Query Interface Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Identify the main sections of the Power Query Editor interface

Which of the following is NOT a main section of the Power Query Editor interface?

AQuery pane showing all loaded queries
BPivot Table Field List for creating pivot tables
CFormula Bar displaying the M code for transformations
DRibbon with data transformation commands
Attempts:
2 left
💡 Hint

Think about what Power Query Editor is used for versus Excel features.

📊 Formula Result
intermediate
2:00remaining
Result of a simple Power Query step

In Power Query, if you start with a table of numbers 1 to 5 and apply the step Table.SelectRows(Source, each [Number] > 3), what will be the output?

Power BI
Source = Table.FromList({1,2,3,4,5}, Splitter.SplitByNothing(), {"Number"})
Filtered = Table.SelectRows(Source, each [Number] > 3)
AAll rows unchanged
BRows with Number 1, 2, and 3 only
CEmpty table with no rows
DRows with Number 4 and 5 only
Attempts:
2 left
💡 Hint

Think about what the condition [Number] > 3 means.

Function Choice
advanced
2:00remaining
Choose the correct Power Query function to add a new column with doubled values

You want to add a new column to a table that doubles the values in the existing column named Amount. Which Power Query function should you use?

ATable.RemoveColumns(Source, {"Amount"})
BTable.SelectRows(Source, each [Amount] * 2)
CTable.AddColumn(Source, "DoubleAmount", each [Amount] * 2)
DTable.RenameColumns(Source, {"Amount", "DoubleAmount"})
Attempts:
2 left
💡 Hint

Think about which function adds a new column with a calculation.

data_analysis
advanced
2:00remaining
Understanding the effect of applied steps order in Power Query

You have a table with a column Score. You apply two steps in this order:

  1. Filter rows where Score > 50
  2. Add a new column Bonus with value Score * 0.1

What happens if you reverse the order of these steps?

AThe <code>Bonus</code> column will be calculated for all rows before filtering
BThe final table is the same in both cases
CThe filter will remove rows after the <code>Bonus</code> column is added, so fewer rows
DPower Query will give an error because order of steps cannot be changed
Attempts:
2 left
💡 Hint

Think about when calculations happen relative to filtering.

🎯 Scenario
expert
3:00remaining
Diagnose why a Power Query step causes an error

You have this Power Query step:

AddedColumn = Table.AddColumn(Source, "NewCol", each [Price] / [Quantity])

Sometimes this step causes a DivideByZero error. Which option best explains why?

ASome rows have <code>Quantity</code> equal to zero, causing division by zero error
BThe <code>Price</code> column contains text values instead of numbers
CThe <code>Source</code> table is empty, so the step fails
DThe <code>NewCol</code> column already exists in the table
Attempts:
2 left
💡 Hint

Think about what causes division errors in math.