DA-100 Flashcards
You have a Microsoft Excel workbook with a spreadsheet named Sales. You want to use the Sales spreadsheet in a Power BI dashboard report. How should you prepare the data on Sales spreadsheet?
A. In Power BI service, import the data from the Sales spreadsheet.
B. In Microsoft Excel, publish the Sales spreadsheet to the Power BI service.
C. In Microsoft Excel, convert the data in the Sales spreadsheet to a flat table.
D. In the Power BI service, upload the Excel workbook.
Answer: C
You use Power BI Desktop to create a visualization using a database on SQL database server named SQL01.
You want to be able to use Microsoft R scripts in your visualization.
You install SQL Server R Services on SQL01.
Does this action allow you to use Microsoft R scripts in your visualization?
A. Yes, it does
B. No, it does not
Answer: B
You use Power BI Desktop to create a visualization using a database on SQL database server named SQL01.
You want to be able to use Microsoft R scripts in your visualization.
You download and install Microsoft R Open on the computer that has Power BI Desktop installed. Does this action allow you to use Microsoft R scripts in your visualization?
A. Yes, it does
B. No, it does not
Answer: A
You use Power BI Desktop to create a visualization using a database on SQL database server named SQL01.
You want to be able to use Microsoft R scripts in your visualization.
You download and install Visual Studio on the computer that has Power BI Desktop installed. Does this action allow you to use Microsoft R scripts in your visualization?
A. Yes, it does
B. No, it does not
Answer: B
You have a table in Power BI Desktop that contains the following data:
You want to create a custom column that only displays the last four digits of the SSN column and masks all the other digits.
Which Power Query M formula should you use?
A. Text.Replace([SSN], Text.Start([SSN],6), “xxx-xx”)
B. Text.ReplaceRange([SSN], 1, 1, “xxx-xx”)
C. Replacer.ReplaceText([SSN], [SSN], “xxx-xx”)
D. Text.TrimStart([SSN], 6)
Answer: A
You have a Power BI model that has a date table with a date column that displays the date in the format: 2019-12-01
You want the date column to display the date in the format of December 01, 2019. Which DAX formula should you use?
A. FORMAT(‘Date’[Date], @”MMM & “ “ & “DD” & “, “ & “YYYY”)
B. FORMAT(‘Date’[Date], “MMM”) & “ “ & FORMAT(‘Date’[Date], “DD”) & “, “ & FORMAT(‘Date’[Date], “YYYY”)
C. FORMAT(‘Date’[Date], “M”) & “ “ & FORMAT(‘Date’[Date], “D”) & “, “ & FORMAT(‘Date’[Date], [Year])
D. FORMAT(‘Date’[Date], “MMMM DD, YYYY”)
Answer: D
You have the two Power Query M queries in Power BI Desktop. The one query retrieves a table named Customers from a Microsoft SQL Server database while the other query retrieves a table named _Customers from an Oracle database
Both the Customers and the _Customers tables have the same columns. You need to combine the data from the two tables.
Which Power Query function should you use?
A. Combine Tables
B. Merge Queries
C. Merge Columns
D. Append Queries
Answer: D
You have a table named Sales. Sales has a column named CustomerID. The CustomerID column contains a few non-numeric values.
You want to replace the non-numeric values in the CustomerID column with the number 0.
A. From Query Editor, select the CustomerID column and click Replace Values. Then enter null in the Value To Find dialog box and 0 in the Replace With dialog box.
B. From Query Editor, open Advanced Editor and add the following query step: Table.ReplaceNullValues([Sales], {{“Customer_ID”, 0}})
C. From Query Editor, select the CustomerID column and click Sort ascending. Then replace the null values with 0.
D. From Query Editor, select the CustomerID column. Then select Fill > Down.
Answer: A
You want to use Power Query Editor to quickly ascertain the percentage of empty values in each column.
You open the Column profile Data Preview option
Does this action allow you to ascertain the percentage of empty values in each column?
A. Yes, it does
B. No, it does not
Answer: B
You want to use Power Query Editor to quickly ascertain the percentage of empty values in each column.
You open the Column distribution Data Preview option
Does this action allow you to ascertain the percentage of empty values in each column?
A. Yes, it does
B. No, it does not
Answer: B
You want to use Power Query Editor to quickly ascertain the percentage of empty values in each column.
You open the Column quality Data Preview option
Does this action allow you to ascertain the percentage of empty values in each column?
A. Yes, it does
B. No, it does not
Answer: A
You are creating a Power BI report that connects to a Microsoft Excel data source. You create a parameter named DS that specifies the file name and path for the data source.
You want your query to use the DS parameter instead of a hard-coded copy of the location within your query definitions.
What should you do?
A. In the Power Query M code, replace references to the Excel file with the DS parameter.
B. In your query definitions, modify the source step to use the DS parameter as the file path.
C. Create a new query that use the DS parameter.
D. Import the Microsoft Excel data to Power BI.
Answer: B
You have a Power BI model that contains tables named Sales and Date. The Sales and Date tables are shown in the exhibit:
The tables have the following relationships:
• Sales[Due_Date] and Date[Date]
• Sales[Ship_Date] and Date[Date]
• Sales[Order_Date] and Date[Date] The active relationship is on Sales[Due_Date].
You want to create measures to calculate the number of orders by Ship_Date and the number of orders by Order_Date.
Your solution must not result in duplicated data and must not require the loading additional data. Which two actions could you take? Each correct selection is a complete solution.
A. Create a calculated table and then create a measure that uses the calculated table.
B. Create measures that use the CALCULATE, COUNT, and USERELATIONSHIP DAX functions.
C. Create two copies of the Date table named ShipDate and OrderDate. The create a measure that uses the ShipDate and OrderDate tables
D. Create measures that use the CALCULATE, COUNT, and FILTER DAX functions.
Answer: BD
Your company has a Power BI dashboard that contains different visualizations of sales. You enable Q&A on the dashboard.
You want to provide users with a sample of questions that they can ask when using Q&A. What should you do?
A. In Power BI Settings, configure Subscriptions
B. In Power BI Settings, configure Workbooks
C. In Power BI Settings, configure Dashboards
D. In Power BI Settings, configure Datasets
Answer: D
You have a Power BI model that contains tables named Sales and Customers. The Sales and Customers tables are shown in the exhibit:
There is a relationship between the Sales and Customers tables.
You want to rank the customers based on their total sales amount. You run the
RANKX(ALL(Customers), SUMX(RELATEDTABLE(Sales), [Sales_amount])) DAX formula.
Does this action produce the desired outcome?
A. Yes, it does
B. No, it does not
Answer: B
You have a Power BI model that contains tables named Sales and Customers. The Sales and Customers tables are shown in the exhibit:
There is a relationship between the Sales and Customers tables. You want to rank the customers based on their total sales amount.
You run the
RANK.EQ(Sales[Sales_amount], Customers[Customer_ID]) DAX formula.
Does this action produce the desired outcome?
A. Yes, it does
B. No, it does not
Answer: B
You have a Power BI model that contains tables named Sales and Customers. The Sales and Customers tables are shown in the exhibit:
There is a relationship between the Sales and Customers tables.
You want to rank the customers based on their total sales amount. You run the
RANKX(ALL(Sales), SUMX(RELATEDTABLE(Customers), [Sales_amount])) DAX formula.
Does this action produce the desired outcome?
A. Yes, it does
B. No, it does not
Answer: A
You have a Microsoft Excel workbook that has a Power Pivot model with the tables show in the following exhibit:
The model has the following relationships:
- Sales to Product
- Sales to Salesperson
You create a new Power BI file and import the Power Pivot model.
You want to create a report that displays the count of products sold by each salesperson. What should you do before you can create the report?
A. Create a one-to-one relationship between Product and Salesperson.
B. For each relationship, change the Cross filter direction to Both.
C. For each relationship, change the Cardinality to One to one (1:1).
D. Create a many-to-one relationship between Product and Salesperson.
Answer: B
You have a Microsoft SQL Server database with the tables show in the following exhibit:
You create a Power BI model with the following relationships:
- Sales to Product
- Sales to Salesperson
You plan to add a table named Date to the model. The table will have columns for the date, year, month, and end of the last month, and will include data from January 1, 2018 to December 31, 2020.
The Date table and the Sales table will have a relationship. You need to create the columns for the Date table.
Which DAX functions should you use? To answer, drag the appropriate DAX function to the answer area. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Answer: D