Merging Queries MCQS

Q. What does Merge Queries do in Power BI?

A
Stacks rows from two tables on top of each other
B
Combines columns from two tables based on a matching key
C
Deletes duplicate rows from a table
D
Creates a new calculated column using DAX
Solution:

Merge Queries joins two tables side-by-side on a shared key column, adding columns from the second table to the first — similar to a SQL JOIN.

Q. Which join kind keeps ALL rows from the first (left) table and only matched rows from the second?

A
Inner Join
B
Full Outer Join
C
Left Outer Join
D
Right Anti Join
Solution:

A Left Outer join retains every row from the left table and appends matching data from the right table; unmatched right-side cells show null.

Q. Where do you perform Merge Queries in Power BI?

A
DAX formula bar
B
Power Query Editor
C
Model View
D
Report View
Solution:

Merge Queries is a Power Query Editor feature found under Home → Merge Queries. It operates on queries before data is loaded into the model.

Q. What happens if the key columns in a merge have different data types (e.g., text vs. number)?

A
Power Query automatically converts them
B
The merge returns zero matched rows
C
Power BI raises a DAX error
D
The merge produces duplicate rows
Solution:

Power Query does not auto-convert types during a merge. If one key is text ‘001’ and the other is number 1, no rows will match — you must align data types first.

Q. How is 'Merge Columns' different from 'Merge Queries'?

A
Merge Columns joins two tables; Merge Queries concatenates text
B
Merge Columns concatenates text columns within one table; Merge Queries joins two tables on a key
C
They are the same operation with different names
D
Merge Columns works only in DAX
Solution:

Merge Columns concatenates two or more text columns in the same table using a separator. Merge Queries joins two separate tables based on a matching key.

Q. What is the most likely cause of a row count explosion after a Merge Queries step?

A
Using a Full Outer join
B
A many-to-many relationship between the key columns
C
Selecting too many columns to expand
D
Using Merge Queries as New instead of Merge Queries
Solution:

When both tables have duplicate values in the key column, every combination is produced (a Cartesian product for those keys), multiplying the row count unexpectedly.

Q. In Power Query M code, which function is generated when you perform a Merge Queries operation?

A
Table.Combine
B
Table.Join
C
Table.NestedJoin
D
Table.AddColumn
Solution:

 The M function behind Merge Queries is Table.NestedJoin, which produces a nested table column that you then expand with Table.ExpandTableColumn.

Q. Which SQL operation is Append Queries equivalent to?

A
JOIN
B
SELECT
C
UNION ALL
D
INSERT INTO
Solution:

Append Queries stacks rows from multiple tables, matching columns by name — this is equivalent to SQL UNION ALL.

Q. Where do you find Append Queries in Power BI?

A
DAX formula bar
B
Model View → New Relationship
C
Power Query Editor → Home tab
D
Report View → Insert tab
Solution:

Append Queries is a Power Query Editor feature located on the Home tab, used during the data transformation stage before loading.

Q. What is the difference between 'Append Queries' and 'Append Queries as New'?

A
Append Queries creates a new query; Append Queries as New modifies the current one
B
Append Queries modifies the current query; Append Queries as New creates a fresh combined query
C
There is no difference
D
Append Queries as New only works with three or more tables
Solution:

‘Append Queries’ adds rows to the currently selected query. ‘Append Queries as New’ leaves both originals unchanged and creates a third, combined query.

Q. You need to append 12 monthly CSV files from a folder. What is the most efficient approach?

A
Load each file manually and append one by one
B
Use Get Data → Folder to load all CSVs and combine them automatically
C
Write a DAX expression to merge the files
D
Import all files into Access first, then connect Power BI to Access
Solution:

Get Data → Folder loads all matching files from a directory and provides a Combine option to automatically append identically structured files — far more efficient than manual appending

Q. What M function does Power Query generate for an Append Queries step?

A
Table.NestedJoin
B
Table.NestedJoin
C
Table.Merge
D
Table.Append
Solution:

The M function behind Append Queries is Table.Combine, which takes a list of tables and stacks their rows.

Q. Where do you find the Unpivot option in Power BI?

A
Model View
B
DAX formula bar
C
Power Query Editor → Transform tab
D
Report View → Format tab
Solution:

Unpivot is a Power Query transformation found on the Transform tab in Power Query Editor.

Q. What is the difference between 'Unpivot Columns' and 'Unpivot Other Columns'?

A
They are identical
B
Unpivot Columns unpivots selected columns; Unpivot Other Columns unpivots everything except the selected columns
C
Unpivot Other Columns only works with numeric data
D
Unpivot Columns is faster
Solution:

Unpivot Other Columns keeps your selected columns fixed and dynamically unpivots all other columns — better for sources that may gain new columns over time.

Q. Why is 'Unpivot Other Columns' generally preferred over 'Unpivot Columns'?

A
It runs faster
B
It automatically handles new columns added to the source
C
It automatically handles new columns added to the source
D
It preserves the original columns
Solution:

 Unpivot Other Columns dynamically unpivots everything except your fixed selections, so when a new column appears in the source (e.g., a new month), it is automatically included.

Q. What is the M function generated by the Unpivot Other Columns step?

A
Table.Pivot
B
Table.Unpivot
C
Table.UnpivotOtherColumns
D
Table.TransformColumns
Solution:

The M function is Table.UnpivotOtherColumns, which takes the table, a list of columns to keep, and the names for the new Attribute and Value columns.

Q. What is the opposite of Unpivot in Power BI?

A
Merge
B
Append
C
Pivot
D
Group By
Solution:

Pivot is the reverse of Unpivot — it turns distinct row values into column headers, converting tall data back into a wide crosstab format.

Q. Where can you view the M code for a query?

A
DAX formula bar
B
Model View
C
Power Query Editor → View → Advanced Editor
D
Report View → Filters pane
Solution:

The Advanced Editor in Power Query Editor shows the complete M code for the selected query, structured as a let…in expression.

Q. What is the basic structure of every M query?

A
SELECT…FROM…WHERE
B
let…in
C
function()…return
D
for…each…next
Solution:

Every M query uses a let…in structure: the let block defines named transformation steps, and the in clause returns the final result.

Q. M is case-sensitive. Which of the following is correct?

A
table.selectrows
B
Table.SelectRows
C
TABLE.SELECTROWS
D
table.SelectRows
Solution:

M is case-sensitive — both function names and step names must match exact casing. Table.SelectRows is the correct form.

Q. Where do you create a parameter in Power BI?

A
Report View → Filters
B
Power Query Editor → Home → Manage Parameters
C
Model View → New Relationship
D
DAX formula bar
Solution:

Parameters are created in Power Query Editor via Home → Manage Parameters → New Parameter.

Q. What types can a Power Query parameter have?

A
Only Text and Number
B
Text, Decimal Number, Date/Time, True/False, and more
C
Only Text
D
Parameters are untyped
Solution:

Parameters support several types including Text, Decimal Number, Whole Number, Date, Date/Time, Date/Time/Timezone, Duration, True/False, and Binary.

Q. How do you check if a step is folding?

A
Look at the DAX formula bar
B
Right-click the step and check if 'View Native Query' is available
C
Open the M code in Advanced Editor
D
Check the Refresh log in Power BI Service
Solution:

Right-click a step in Applied Steps. If ‘View Native Query’ is clickable, that step has successfully folded to the source

Q. Which data source type does NOT support query folding?

A
SQL Server
B
PostgreSQL
C
CSV / Excel files
D
OData feeds
Solution:

Flat files like CSV and Excel do not support a native query language, so Power Query cannot fold steps against them.

Q. Which step is most likely to break query folding?

A
Filter Rows (simple condition)
B
Select Columns
C
Add Custom Column (with M expression)
D
Sort Ascending
Solution:

Custom columns using M expressions are often too complex for the connector to translate to SQL, breaking folding at that point.

Q. Why is query folding important for incremental refresh?

A
It is not related
B
Incremental refresh relies on folding to send date-range partitions to the server
C
Folding makes the refresh schedule run more frequently
D
Folding encrypts the data during transfer
Solution:

Power BI’s incremental refresh partitions data by date range and sends each partition as a parameterized query to the server — this only works if the date filter folds.

Q. Query folding translates Power Query steps into which of the following?

A
DAX expressions
B
M code
C
Native source queries (e.g., SQL)
D
Python scripts
Solution:

Folded steps are translated into native source queries — most commonly SQL SELECT statements with WHERE, GROUP BY, and JOIN clauses.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.