2. Which of these is the correct way to append two queries named Sales2023 and Sales2024 in Power Query formula language?
easy
A. Table.Combine({Sales2023, Sales2024})
B. Table.Append(Sales2023, Sales2024)
C. Append.Tables(Sales2023, Sales2024)
D. Combine.Tables(Sales2023, Sales2024)
Solution
Step 1: Recall Power Query append syntax
The correct function to append tables is Table.Combine which takes a list of tables.
Step 2: Check each option
Table.Combine({Sales2023, Sales2024}) uses Table.Combine({Sales2023, Sales2024}) which is correct syntax. Others use incorrect function names or argument formats.
Final Answer:
Table.Combine({Sales2023, Sales2024}) -> Option A
Quick Check:
Use Table.Combine with list of tables [OK]
Hint: Use Table.Combine with curly braces for multiple tables [OK]
Common Mistakes:
Using Table.Append which is not a valid function
Missing curly braces around tables list
Confusing function names like Append.Tables
3. Given two tables in Power Query: Table1 = Table.FromRecords({[ID=1, Name="Anna"], [ID=2, Name="Ben"]}) Table2 = Table.FromRecords({[ID=3, Name="Cara"], [ID=4, Name="Dan"]}) What is the result of Table.Combine({Table1, Table2})?
medium
A. A table with 2 rows: Anna, Ben
B. An error because tables have different rows
C. A table with 2 rows: Cara, Dan
D. A table with 4 rows: Anna, Ben, Cara, Dan
Solution
Step 1: Understand Table.Combine behavior
Table.Combine stacks rows from both tables into one table.
Step 2: Count rows after combining
Table1 has 2 rows (Anna, Ben), Table2 has 2 rows (Cara, Dan). Combined table has 4 rows total.
Final Answer:
A table with 4 rows: Anna, Ben, Cara, Dan -> Option D
Quick Check:
Appending stacks all rows [OK]
Hint: Appending adds all rows from both tables [OK]
Common Mistakes:
Thinking only first table rows remain
Expecting error due to different data
Confusing append with join
4. You wrote this Power Query formula to append two tables: Table.Combine(SalesJan, SalesFeb) But it gives an error. What is the problem?
medium
A. Missing curly braces around tables list
B. Table.Combine cannot append tables
C. Table names must be in quotes
D. Function name should be Append.Tables
Solution
Step 1: Check Table.Combine syntax
Table.Combine expects a list of tables inside curly braces, like {SalesJan, SalesFeb}.
Step 2: Identify missing syntax
The formula lacks curly braces, so it passes two arguments instead of one list, causing error.
Final Answer:
Missing curly braces around tables list -> Option A
Quick Check:
Use curly braces for list input [OK]
Hint: Always wrap tables in curly braces for Table.Combine [OK]
Common Mistakes:
Omitting curly braces around tables
Using wrong function names
Putting table names in quotes
5. You have three monthly sales tables: SalesJan, SalesFeb, and SalesMar. Each has columns Product and Amount. You want a single table with all rows combined. Which Power Query formula correctly appends all three tables?
hard
A. Table.Combine(SalesJan, SalesFeb, SalesMar)
B. Table.Combine({SalesJan, SalesFeb, SalesMar})
C. Table.Append({SalesJan, SalesFeb, SalesMar})
D. Append.Tables(SalesJan, SalesFeb, SalesMar)
Solution
Step 1: Recall correct syntax for appending multiple tables
Table.Combine takes a single argument: a list of tables inside curly braces.
Step 2: Evaluate options
Table.Combine({SalesJan, SalesFeb, SalesMar}) correctly uses Table.Combine({SalesJan, SalesFeb, SalesMar}). Options B, C, and D use wrong syntax or function names.
Final Answer:
Table.Combine({SalesJan, SalesFeb, SalesMar}) -> Option B
Quick Check:
Use Table.Combine with list of tables [OK]
Hint: Use Table.Combine with curly braces for multiple tables [OK]
Common Mistakes:
Passing tables as separate arguments instead of list
Using non-existent functions like Table.Append
Forgetting curly braces
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.