Microsoft

PL-300 Free Practice Questions — Page 16

Question 142

You have a Power BI workspace named BI Data that contains a dataset named BI Finance. You have the Build permission for the BI Finance dataset, but you do NOT have permissions for the workspace. You need to connect to BI Finance and create a report. Which two actions should you perform? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. From the Power BI service, create a dataflow to the dataset by using DirectQuery.
B. From Power BI Desktop, connect to a Dataverse data source.
C. From the Power BI service, create a new report and select a published dataset.
D. From Power BI Desktop, connect to a shared dataset.
Show Answer
Correct Answer: C, D
Explanation:
Build permission on a Power BI dataset allows creating reports from that shared (published) dataset both in the Power BI service and from Power BI Desktop using a live connection to a shared dataset. It does not grant workspace permissions, and creating a dataflow or connecting to Dataverse is unrelated to using the existing dataset.

Question 143

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Power BI report that imports a date table and a sales table from an Azure SQL database data source. The sales table has the following date foreign keys: • Due Date • Order Date • Delivery Date You need to support the analysis of sales over time based on all three dates at the same time. Solution: From the Fields pane, you rename the date table as Due Date. You use a DAX expression to create Order Date and Delivery Date as calculated tables. You create active relationships between the sales table and each date table. Does this meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
Yes. Creating separate copies of the Date dimension (role-playing dimensions) such as Due Date, Order Date, and Delivery Date allows each copy to have its own active relationship to the Sales table using the corresponding foreign key. Renaming the original table and creating calculated table copies is a valid way to achieve simultaneous analysis by all three dates. The limitation is only that there cannot be multiple active relationships between the same two tables; separate date tables avoid that ambiguity.

Question 144

HOTSPOT - You have a Power BI report that contains a page. The page contains the following visuals: • A card • A matrix • A bar chart You need to configure the page to ensure that the card and the bar chart are unaffected when a user drills down in the matrix. The card and the bar chart must change when a user selects a cell in the matrix. What should you configure? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-300 question 144
Show Answer
Correct Answer: Visual type: Matrix Set: Apply drill down filters to Selected visual
Explanation:
Configure the matrix so drill-down filters apply only to the selected visual. This prevents drilling in the matrix from affecting the card and bar chart, while normal selection interactions can still update the other visuals.

Question 145

HOTSPOT - You are creating a Power BI model to analyze inventory. You load data into three tables named Date, Product, and Inventory. The Inventory table relates to the Date and Product tables by using one-to-many relationships. Inventory data is recorded daily with no exceptions. The correct inventory quantity for a given product in a month is the last recorded value for that month. You need to write a DAX measure that will show the correct inventory value when a user analyzes inventory by year, month, or date. How should you complete the measure? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-300 question 145
Show Answer
Correct Answer: Calculate LastDate
Explanation:
Use CALCULATE to modify the filter context and evaluate the inventory sum at the last date in the current period. Because inventory is recorded every day without exceptions, LASTDATE over the Date table returns the correct end-of-period inventory date. MAX returns a scalar rather than the table expected in this filter argument, and LASTNONBLANKVALUE is not the appropriate choice here as presented.

Question 146

You use Power Query Editor to import and preview sales data from the years 2020 and 2021 in a Microsoft Excel file as shown in the following exhibit. You need to shape the query to display the following three columns: • Month • Sales • Year What should you select in Power Query Editor?

A. Merge columns
B. Transpose
C. Unpivot columns
D. Pivot column
Show Answer
Correct Answer: C
Explanation:
To convert year columns (such as 2020 and 2021) into a single Year column with corresponding Sales values while keeping Month as an identifier, use Unpivot Columns. This transforms the wide format into a normalized table with Month, Year (from the attribute), and Sales (from the value).

Question 147

HOTSPOT - You have a Power BI model that contains the following data. The Date table relates to the Sales table by using the Date columns. You need to create a calculated table that will contain the following: • A row for each year • A column that contains the total sales per year How should you complete the DAX calculation? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-300 question 147 Illustration for PL-300 question 147
Show Answer
Correct Answer: SUMMARIZE Date[Year]
Explanation:
SUMMARIZE groups rows by the specified column. Grouping by Date[Year] produces one row per year, and adding "Sales", SUM(Sales[Sale]) returns the yearly total through the existing relationship between Date and Sales.

Question 148

HOTSPOT - You are using Power Query Editor to preview the data in a column named Max Temp. The column statistics and value distribution are shown in the following exhibit. Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.

Illustration for PL-300 question 148 Illustration for PL-300 question 148
Show Answer
Correct Answer: 45 24
Explanation:
The value distribution chart shows 45 as the tallest bar, so it is the most frequent value. The column statistics show Min = 24, which is the smallest non-NULL value.

Question 149

In Power Query Editor, you have a query named Sales Data that contains the following columns. You need to create two queries named Product Dimension and Sales Fact based on the Sales Data query. The solution must minimize maintenance effort and the size of the dataset. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Reference the Sales Data query to create the new queries.
B. Disable the load for the Sales Fact query.
C. Duplicate the Sales Data query to create the new queries.
D. Clear Include in report refresh for the Sales Data query.
E. Disable the load for the Sales Data query.
Show Answer
Correct Answer: A, E
Explanation:
Use Reference to create Product Dimension and Sales Fact from the staging Sales Data query so transformations are maintained in one place, reducing maintenance. Disable load on the staging Sales Data query so only the final dimension and fact tables are loaded into the model, minimizing dataset size. Do not duplicate because it creates independent transformation chains, do not disable load for Sales Fact because it must be in the model, and do not clear report refresh for the staging query because downstream referenced queries depend on refreshed data.

Question 150

You have a Power BI model that contains a table named Date. The Date table contains the following columns: • Date • Fiscal Year • Fiscal Quarter • Month Name • Calendar Year • Week Number • Month Number • Calendar Quarter You need to create a calculated table based on the Date table. The calculated table must contain only unique combinations of values for Calendar Year, Calendar Quarter, and Calendar Month. Which DAX function should you include in the table definition?

A. ADDCOLUMNS
B. CALCULATE
C. SUMMARIZE
D. DATATABLE
Show Answer
Correct Answer: C
Explanation:
SUMMARIZE creates a new table grouped by the specified columns, returning unique combinations of Calendar Year, Calendar Quarter, and Calendar Month (or Month Name as referenced). ADDCOLUMNS adds columns to an existing table, CALCULATE modifies filter context, and DATATABLE creates a static table from explicitly defined values.

Question 151

You have data in a Microsoft Excel worksheet as shown in the following table. You need to use Power Query to clean and transform the dataset. The solution must meet the following requirements: • If the discount column returns an error, a discount of 0.05 must be used. • All the rows of data must be maintained. • Administrative effort must be minimized. What should you do in Power Query Editor?

A. Select Replace Errors.
B. Edit the query in the Query Errors group.
C. Select Remove Errors.
D. Select Keep Errors.
Show Answer
Correct Answer: A
Explanation:
Use Replace Errors on the Discount column and specify 0.05 as the replacement value. This preserves all rows while substituting only error values, meeting the requirement with minimal administrative effort. Remove Errors deletes rows, Keep Errors filters to only error rows, and editing a query is unnecessary for this simple replacement.

$19

Get all 369 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.