Power BI Data Transformation Quiz
QUESTION 1
Which of these operations adds rows to an existing table?
Ⓐ Group By.
Ⓑ Pivoting.
Ⓒ Merging queries.
Ⓓ Appending queries.
.
QUESTION 2
When would you use a tool from the Transform tab over the Add Column tab?
Ⓐ When you want to overwrite the values of existing columns.
Ⓑ When you want to keep the values of existing columns.
Ⓒ When you want to create new columns
Ⓓ Both B & C
.
QUESTION 3
What can be useful to create unique IDs and form relationships between tables?
Ⓐ Adding a column from examples.
Ⓑ Grouping data.
Ⓒ Adding an index column.
Ⓓ Appending queries.
.
QUESTION 4
Which Power Query tool can you use when you know the outcome of a column you want but don't know which transformation(s) to use?
Ⓐ Column from examples.
Ⓑ Conditional column.
Ⓒ Custom column.
Ⓓ Index column.
.
QUESTION 5
What happens "under the hood" whenever you apply a transformation in Power Query?
Ⓐ The same transformation is applied to the source data.
Ⓑ The changes are permanent and cannot be modified.
Ⓒ The Query Editor writes the corresponding DAX code for the applied step.
Ⓓ The Query Editor writes the corresponding M code for the applied step.
.
QUESTION 6
Which two blocks make up the M code that runs your query?
Ⓐ do & while.
Ⓑ if & then.
Ⓒ for & each.
Ⓓ let & in.
.
QUESTION 7
You receive annual sales data that must be included in Power BI reports.
From Power Query Editor, you connect to the Microsoft Excel source shown in the following illustration.
Month | MonthNumber | 2019 | 2020 | 2021 |
Jan | 1 | 345 | 5526 | 3456 |
Feb | 2 | 758 | 773 | 0 |
Mar | 3 | 37763 | 570 | null |
Apr | 4 | 8364 | 9417 | null |
May | 5 | 58256 | 276 | null |
June | 6 | 6722 | 235 | null |
July | 7 | 55225 | 6297 | null |
Aug | 8 | 673 | 63 | null |
Sep | 9 | 552 | 357 | null |
Oct | 10 | 7838 | 24214 | null |
Nov | 11 | 83544 | 257 | null |
Dec | 12 | 32455 | 389 | null |
You need to create a report that meets the following requirements:
• Visualizes the Sales value over a period of years and months
• Adds a slicer for the month
• Adds a slicer for the year
Which three actions should you perform in sequence?
Ⓐ Select 2019, 2020, and 2021
columns.
Ⓑ Select unpivot other columns.
Ⓒ Rename the Attribute column
as Year and the Value column
as Sales.
Ⓓ Select the Month and
MonthNumber columns.
Ⓔ Select Transpose.
.
QUESTION 8
Which Power Query tool can you use to roll-up daily transaction data into monthly transactions?
Ⓐ Merging Queries.
Ⓑ Appending Queries.
Ⓒ Group By.
Ⓓ Pivot Columns.
.
QUESTION 9
You work as an analyst at Cat Slacks and you've just been handed a csv file with yearly sales by department. After connecting to it in Power BI, you notice that each year has its own column. Which Power Query tool can you use to turn the multiple "Year" columns into row?
Ⓐ Pivot.
Ⓑ Unpivot.
Ⓒ Transpose.
Ⓓ Group By.
.
QUESTION 10
Which of these statements is NOT true about merging queries?
Ⓐ Merging queries allows you
to join tables based on a
common column.
Ⓑ Merging adds columns to an
existing table.
Ⓒ You should merge tables
whenever possible.
Ⓓ You can merge queries by
different join kinds (left
outer, inner, etc.).
.
Subscribe to my newsletter
Read articles from Mohamad Mahmood directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Mohamad Mahmood
Mohamad Mahmood
Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He studies at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).