Which of the following is NOT a main section of the Power Query Editor interface?
Think about what Power Query Editor is used for versus Excel features.
The Pivot Table Field List is part of Excel's interface, not Power Query Editor. Power Query Editor has the Query pane, Ribbon, and Formula Bar.
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?
Source = Table.FromList({1,2,3,4,5}, Splitter.SplitByNothing(), {"Number"})
Filtered = Table.SelectRows(Source, each [Number] > 3)Think about what the condition [Number] > 3 means.
The step filters rows to keep only those where the Number column is greater than 3, so only 4 and 5 remain.
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?
Think about which function adds a new column with a calculation.
Table.AddColumn adds a new column with the specified calculation. The others either filter rows, remove columns, or rename columns.
You have a table with a column Score. You apply two steps in this order:
- Filter rows where
Score> 50 - Add a new column
Bonuswith valueScore * 0.1
What happens if you reverse the order of these steps?
Think about when calculations happen relative to filtering.
Reversing the steps means the Bonus column is added first for all rows, then filtering removes rows. So the Bonus is calculated on all rows before filtering.
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?
Think about what causes division errors in math.
Dividing by zero is not allowed and causes an error. If any Quantity value is zero, the division fails.