Microsoft PL-300 Free Exam Questions 121-140 with Answers
Scenario-based practice questions for the Microsoft PL-300 Power BI Data Analyst exam. Each question includes a clear answer, a plain-English explanation, and a reference link to official Microsoft documentation. Work through them as a diagnostic, then focus your study time on the gaps they reveal.
PL-300 Practice Questions 121-125
Question 121
You have a Power BI data model that contains a table named Employees. The table has the following columns:
• Employee Name
• Email Address
• Start Date
• Job Title
You are implementing dynamic row-level security (RLS).
You need to create a table filter to meet the following requirements:
• Users must see only their own employee data.
• The DAX expression must work in both Power BI Desktop and the Power BI service.
Which expression should you use?
- A. [Email Address] – USERNAME()
- B. [Employee Name] – USERPRINCIPALNAME()
- C. [Employee Name] = USERNAME()
- D. [Email Address] = USERPRINCIPALNAME()
Reference: USERPRINCIPALNAME function (DAX)
Question 122
DRAG DROP
You have the Power BI data model shown in the following exhibit.
The Country table contains the following data.
You create two row-level security (RLS) roles named Manager and CFO.
You plan to publish the dataset to the Power BI service.
You need to create DAX expressions for the RLS filters. The solution must meet the following requirements:
• Each manager must see only the data in the Sales and Human Resources tables for their own country.
• The CFO must be prevented from seeing the data in the Human Resources table.
• The CFO must see the sales data of all countries.
How should you complete the DAX expressions to meet the requirements? To answer, drag the appropriate expressions to the correct targets. Each expression may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Reference: Row-level security in Power BI
Question 123
You have a Power BI data model that imports data from a Microsoft Excel spreadsheet.
You use Power Query to load a query that contains both renamed and custom columns.
Later, you attempt to reload the query and receive the following error message.
Expression.Error: The column ‘Category’ of the table wasn’t found.
What are two possible causes of the error? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. The column was removed from the source file.
- B. The column was renamed in the source file.
- C. The file is no longer in the specified location.
- D. The data type of the column was changed.
Reference: Excel connector in Power Query
Question 124
You have a Power BI model that contains a table named Sales. The Sales table contains the following columns:
• Order Line ID
• Product ID
• Unit Price
• Order ID
• Quantity
Orders are uniquely identified by using the order ID and can have multiple order lines. Each order line within an order contains a different product ID.
You need to write a DAX measure that counts the number of orders.
Which formula should you use?
- A. Count(‘Sales'[Order ID])
- B. CountA(‘Sales’ [Order ID])
- C. CountRows(‘Sales’)
- D. DistinctCount(‘Sales’ [Order ID])
Reference: DISTINCTCOUNT function (DAX)
Question 125
HOTSPOT
You are creating a Power BI model in Power BI Desktop.
You need to create a calculated table named Numbers that will contain all the integers from -100 to 100.
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.
Reference: GENERATESERIES function (DAX)
PL-300 Practice Questions 126-130
Question 126
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.
Reference: Reference queries in Power Query
Question 127
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
Reference: SUMMARIZE function (DAX)
Question 128
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.
Reference: SUMMARIZE function (DAX)
Question 129
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
Reference: Unpivot columns in Power Query
Question 130
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.
Reference: LASTNONBLANK function (DAX)
PL-300 Practice Questions 131-135
Question 131
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
Question 132
HOTSPOT
You are creating a Power BI report that will show the number of current employees over time. The report will use Import storage mode for all tables.
The employment data will be imported from Azure SQL Database in a monthly snapshot. The data will be stored in a table named Headcount and will contain the following:
• One row per employee for each month the employee is employed
• In each row, a date key that shows the first day of the month of each snapshot
You have a related date table that contains dates for the years 2020 to 2030.
You need to create a semi-additive DAX measure that will return the count of employees for the last available date in a year, quarter, or month.
How should you complete the measure? To answer, select the appropriate options in the answer area.
Reference: LASTNONBLANK function (DAX)
Question 133
HOTSPOT
You have a query named All Sales that imports sales data into a Power BI model.
You plan to create a star schema by separating columns into separate queries and performing further transformations. The solution must meet the following requirements:
• Use All Sales as the source for three other queries named Sales Fact, Product Dimension, and Customer Dimension.
• Minimize maintenance effort.
What should you do to create the Sales Fact query, and for which query should you clear Enable load? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Reference: Reference queries in Power Query
Question 134
You have a Power BI model that contains the following data.
The Date table relates to the Sales table by using the Date columns.
The model contains the following DAX measure.
Total Sales = SUM(Sales[Sale])
You need to create another measure named Previous Quarter to display the sales one quarter before the selected period.
Which DAX calculation should you use?
- A. CALCULATE ( [Total Sales], DATEADD (Date[Date], -1, QUARTER ) )
- B. CALCULATE ( [Total Sales], DATESQTD (Date[Date] ) )
- C. TOTALQTD ( [Total Sales], Date[Date] )
- D. CALCULATE ( [Total Sales], PARALLELPERIOD (Date[Date], 1, QUARTER ) )
Reference: DATEADD function (DAX)
Question 135
You are reviewing a Power BI data model.
You have a calculated table that has the following definition.
ProductList = INTERSECT ( ProductsGroupA, ProductsGroupB )
You need to identify the results of the DAX expression.
Which rows will be returned in ProductList?
- A. all the rows in ProductsGroupB that have a matching row in ProductsGroupA
- B. all the rows in both tables
- C. all the rows in ProductsGroupA that have a matching row in ProductsGroupB
- D. all the rows in ProductsGroupA that have no matching row in ProductsGroupB.
Reference: INTERSECT function (DAX)
PL-300 Practice Questions 136-140
Question 136
HOTSPOT
You have a Power BI tenant that contains a workspace. The workspace contains a dataset named datasetA.
You need to build a pivot table report in Microsoft Excel. The report must use datasetA as the data source. The solution must meet the following requirements:
• Ensure that the report can be refreshed to get the latest available data from the Power BI service.
• Ensure that all the visible data in datasetA is available for use in Excel.
What should you do to connect Excel to datasetA, and which element in datasetA will be incompatible with the Excel connection? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Reference: Connect Excel to Power BI datasets
Question 137
HOTSPOT
You have Power BI report that contains the fields 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.
Reference: Use the field list in Power BI Desktop
Question 138
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 the date foreign keys.
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
Question 139
You use Power Query Editor to preview a query that contains sales order data in the following columns:
• Tax Amount
• Sales Order ID
• Freight Amount
• Subtotal Amount
• Total Item Quantity
The Sales Order ID column uniquely identifies each sales order. The Subtotal Amount and Total Item Quantity columns are always populated, but the Tax Amount and Freight Amount columns are sometimes null when an order has no associated amount.
You need to query the data to identify the following metrics by month:
• The average item quantity per order
• The average freight amount per order
• The maximum item quantity per order
How should you modify the query?
- A. In the Total Item Quantity column, replace the null values with 0.
- B. In the Tax Amount column, remove rows that contain null values.
- C. In the Freight Amount column, remove rows that contain null values.
- D. In the Freight Amount column, replace the null values with 0.
Reference: Replace values in Power Query
Question 140
DRAG DROP
You use Power Query Editor to import three tables named Customers, Address, and Country.
In the source system, not every customer has a related address, but every address has a related country.
You need to merge all the tables into a single query. The solution must optimize query refresh performance.
Which type of join should you use for each merge operation? To answer, drag the appropriate join types to the correct operations. Each join type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Reference: Merge queries overview
























