Week 1 Flashcards
Easy Q1: You plan to get data for a Power BI dataset from flat files. You need a location type that requires you to provide credentials for a Microsoft account. Which location type should you recommend?
OneDrive Personal Account - INCORRECT
EASY Q2: You plan to get data for a Power BI dataset from flat files. You need a location type to store the files. The data must NOT automatically synchronize between the original file and the dataset. Which location type should you recommend?
Local file
Easy Q3: You have multiple Excel files stored in a folder synced with One Drive for Business. You need to import data from the files. The solution must NOT use a data gateway. Which type of connector should you use?
SharePoint folder
Easy Q4: From Power BI Desktop, you create a data source by importing an Excel file that contains 10,000 rows. You plan to identify data anomalies within the data source. Which interface should you use to display the column distribution and column quality graphs?
The Power Query Editor
Easy Q5: You use Power BI Desktop to transform a query that retrieves data from an Excel spreadsheet. You need to view and modify multiple steps in all of the M code. Which interface should you use?
Advanced Editor in Power Query Editor
Easy Q6: You have an Excel spreadsheet that contains three columns labeled Year, 2021 and 2012. The entries in rows for the first column consists of names of the individual months in the year, while the other two columns contain the sales amount for each month for the corresponding year. You import data from the Excel spreadsheet into Power BI Desktop. You need to transform the data so it will consist of three columns, with the first one containing month, the second one containing year, and the third containing sales amount for that month and year. Which transformation should you use first?
Unpivot
Easy Q7: You have a matrix that has a column named Country and columns for each month of sales data. The names of the sales data columns use a format of Month Year, for example: January 2022. The month column contains the Sales Amount values for each month. You need to reshape the table to have all sales amount values in a single column. A new column should also be added and contain the relevant month year for each row of data. What should you do from the Power Query Editor?
Select the Country column and then select Unpivot Other Columns
Easy Q8: From Power BI Desktop, you create a data source by importing an Excel file that contains 10,000 rows. You plan to identify data anomalies within the data source. You need to ensure that column distribution considers all rows in the Excel file. What should you do?
In the Power Query Editor window, modify the profiling status
Easy Q9: You have to find the percentage of transactions performed by non-unique customers. Which data preview tool in Power Query is the most suitable choice?
Column profile
Easy Q10: You have to find the percentage of transactions with empty Product ID values. Which data preview tool in Power Query is the most suitable choice?
Column quality
Med Q1: You create a Power BI report using an Excel workbook stored on OneDrive for Business as the data source in Power BI Desktop. You need to replace the Excel workbook with a new version that contains updated data. You should NOT change the report data model after replacing the workbook.
The Excel workbook can be edited in Power BI
False
Med Q2: You are analyzing data quality for a dataset in Power Bl.
You use Power Query to preview the data. You need to examine the quality of the data.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Statement Using Column profile in Data Preview, you can gain an insight into only the first 1,000 rows in the dataset.
False
Med Q3: From the Power Query Editor, you import data from a .csv file. The data includes a column named ZIP that contains postal codes from the United States. You notice that the Power Query Editor automatically applies the Whole Number data type to the ZIP column. You need to ensure that the ZIP column uses the Text data type and that all values remain 5 characters long. What should you do?
From Power Query Editor, update the current changed type step and replace convert from number to text for the ZIP column
Med Q4: You have a table that contains a column named ProductID The ProductID column contains values that have a prefix of PD followed by five numbers, for example: PD15332
You plan to convert the ProductID values to numbers(integers). You need to remove the leading two letters from the current ProductID values.
Which command should you use?
Replace values
Med Q5: When importing data from an Excel workbook into Power BI, you receive the error message: “We couldn’t find any data formatted as a table”.
What should you do to resolve the error?
In the Excel workbook, select the data you want to import, create a table and save the change