Microsoft

PL-300 practice question 12

Microsoft Power BI Data Analyst · free question 12 of 20

Question

You have two CSV files named Products and Categories. The Products file contains the following columns: - ProductID - ProductName - SupplierID - CategoryID The Categories file contains the following columns: - CategoryID - CategoryName - CategoryDescription From Power BI Desktop, you import the files into Power Query Editor. You need to create a Power BI dataset that will contain a single table named Product. The Product table includes the following columns: - ProductID - ProductName - SupplierID - CategoryID - CategoryName - CategoryDescription How should you combine the queries, and what should you do on the Categories query?

Explanation

Combine the queries by performing a: Merge, joining Products to Categories on CategoryID to add CategoryName and CategoryDescription as columns. Append would stack rows rather than add columns, and transpose does not combine queries. On the Categories query: disable the query load so the dataset contains only the single Product table. Deleting the query would break the merge that depends on it, and excluding it from report refresh would leave category data stale.

Need the theory? Learn it free in the PL-300 course on Godlike Academy

Practice the whole free set

Answer all 20 free PL-300 questions with instant feedback, or unlock all 393 questions with Learn and Exam modes.