MCQs on Data Transformation Basics | Power BI

Explore the fundamentals of data transformation in Power BI, including Power Query basics, cleaning and shaping data, creating calculated columns, and merging or appending queries. Perfect for beginners and professionals.


Introduction to Power Query

  1. What is the primary purpose of Power Query in Power BI?
    a) Visualizing data
    b) Transforming and preparing data
    c) Storing data in the cloud
    d) Writing SQL queries
  2. Power Query operates on which principle?
    a) Direct Query
    b) Data Mashup
    c) Data Modeling
    d) Scripting
  3. Which interface is used to perform data transformation tasks in Power Query?
    a) Data Model Editor
    b) Query Editor
    c) Dashboard Editor
    d) Report View
  4. How does Power Query store its transformation steps?
    a) As VBA Macros
    b) As a script in M Language
    c) In JSON files
    d) Directly in the database
  5. What is the default output of Power Query after transformation?
    a) Data visualization
    b) A new table in the data model
    c) A DAX query
    d) SQL query results

Cleaning and Shaping Data

  1. What is the first step in data cleaning within Power Query?
    a) Applying filters
    b) Loading the data
    c) Removing unnecessary columns
    d) Fixing data types
  2. In Power Query, which option helps you remove duplicate rows?
    a) Keep Top Rows
    b) Remove Errors
    c) Remove Duplicates
    d) Replace Values
  3. Which transformation can fix inconsistent capitalization in text data?
    a) Split Column
    b) Trim and Clean
    c) Format Case
    d) Merge Queries
  4. What feature in Power Query can handle null values in a dataset?
    a) Replace Values
    b) Group Data
    c) Fill Down
    d) Pivot Columns
  5. What is the benefit of shaping data in Power Query?
    a) It improves the data model design
    b) It makes data ready for analysis
    c) It creates data visualizations
    d) It saves data in external databases
  6. What does the “Unpivot Columns” operation do in Power Query?
    a) Combines multiple columns into one
    b) Turns columns into rows
    c) Splits a single column into two
    d) Removes unwanted columns
  7. In Power Query, what does the “Group By” transformation do?
    a) Sorts data alphabetically
    b) Aggregates data based on a field
    c) Merges two datasets
    d) Deletes unwanted rows
  8. How does “Split Column by Delimiter” function help?
    a) It removes columns with delimiters
    b) It divides a single column into multiple columns
    c) It combines multiple rows
    d) It appends two datasets
  9. What is the “Transpose” function used for?
    a) Converting rows into columns and vice versa
    b) Sorting data alphabetically
    c) Removing duplicates
    d) Appending multiple queries
  10. Which of the following is NOT a data cleaning operation in Power Query?
    a) Replace Errors
    b) Pivot Columns
    c) Create Relationships
    d) Change Data Types

Adding Calculated Columns

  1. What is a calculated column in Power BI?
    a) A column added in the Power Query Editor
    b) A column created using DAX formulas
    c) A column derived from SQL queries
    d) A column generated during data export
  2. Which formula language is used to create calculated columns in Power BI?
    a) SQL
    b) M Language
    c) DAX
    d) Python
  3. Calculated columns are created at what level in Power BI?
    a) Visualization level
    b) Data model level
    c) Query Editor level
    d) Dashboard level
  4. How do calculated columns differ from measures?
    a) Columns aggregate data; measures store raw data
    b) Measures are pre-aggregated; columns store row-level data
    c) Measures use M language; columns use DAX
    d) Columns are dynamic; measures are static
  5. Which of these is an example of a DAX function used in calculated columns?
    a) SUMX
    b) VLOOKUP
    c) FILTERXML
    d) COUNTIFS
  6. What is a key disadvantage of using calculated columns excessively?
    a) They increase visual complexity
    b) They require SQL expertise
    c) They reduce performance
    d) They cannot handle numeric data
  7. In Power BI, where can you create calculated columns?
    a) Power Query
    b) Data View
    c) Dashboard Editor
    d) Report View

Merging and Appending Queries

  1. What is the main purpose of merging queries in Power BI?
    a) Joining tables based on a common key
    b) Creating new columns
    c) Aggregating data
    d) Adding new rows
  2. What does appending queries accomplish in Power BI?
    a) Adds new rows from one query to another
    b) Removes duplicate rows
    c) Joins tables horizontally
    d) Deletes unwanted rows
  3. Which join type is used in Power BI when merging queries to include all records from both tables?
    a) Inner Join
    b) Full Outer Join
    c) Left Anti Join
    d) Right Join
  4. In Power BI, which feature is used to append queries?
    a) Merge Queries
    b) Append Queries
    c) Unpivot Columns
    d) Transform Columns
  5. What must be true for appending queries to work correctly?
    a) The queries must have a common key
    b) The columns must match in number and data type
    c) Both datasets must have the same number of rows
    d) Both datasets must use the same delimiter
  6. Which operation combines columns from two tables into a single table?
    a) Append Queries
    b) Merge Queries
    c) Transpose Table
    d) Group Data
  7. What is the primary difference between merging and appending queries?
    a) Merging adds rows; appending combines columns
    b) Merging combines columns; appending adds rows
    c) Merging removes duplicates; appending sorts data
    d) Merging is faster than appending
  8. How does Power BI handle unmatched rows when merging queries with a Left Join?
    a) It excludes unmatched rows
    b) It fills unmatched rows with null values
    c) It duplicates unmatched rows
    d) It creates a separate table

Answer Key

QnoAnswer
1b) Transforming and preparing data
2b) Data Mashup
3b) Query Editor
4b) As a script in M Language
5b) A new table in the data model
6b) Loading the data
7c) Remove Duplicates
8c) Format Case
9a) Replace Values
10b) It makes data ready for analysis
11b) Turns columns into rows
12b) Aggregates data based on a field
13b) It divides a single column into multiple columns
14a) Converting rows into columns and vice versa
15c) Create Relationships
16b) A column created using DAX formulas
17c) DAX
18b) Data model level
19b) Measures are pre-aggregated; columns store row-level data
20a) SUMX
21c) They reduce performance
22b) Data View
23a) Joining tables based on a common key
24a) Adds new rows from one query to another
25b) Full Outer Join
26b) Append Queries
27b) The columns must match in number and data type
28b) Merge Queries
29b) Merging combines columns; appending adds rows
30b) It fills unmatched rows with null values

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!
Scroll to Top