PL-300: Microsoft Power BI Data Analyst Exam-style mock test
PL-300 Power BI Data Analyst Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Prepare the Data
A data analyst at a global retail bank connects Power BI Desktop to an on-premises SQL Server table of 400 million card transactions. The analyst adds a filter to keep only the current fiscal year, then removes several columns. To confirm that these Power Query steps are being translated into a single SQL statement executed by the server rather than processed locally, which action should the analyst take?
・Enable the Fast Combine privacy option so the applied steps merge before loading.
Incorrect. Fast Combine controls privacy-level enforcement when merging data from different sources and does not reveal or verify folding.
・Switch the transaction table's storage mode to Import first.
Incorrect. Switching to Import mode loads the data but does not verify that the transformation steps are being folded into server-side SQL.
・Add an Index column, since indexed queries always fold back to the SQL source.
Incorrect. Adding an Index column typically breaks folding because it is computed locally; it does not guarantee that steps are pushed to the source.
✓Right-click the final applied step and choose View Native Query to confirm folding.
Correct. View Native Query becomes available when a step folds, and it displays the single SQL statement Power Query sends to the source, confirming query folding is occurring.
Explanation
Query folding translates Power Query steps into a native source query, and View Native Query is the built-in way to confirm it. If the option is greyed out, the step is being processed by the Power Query engine instead of the source.
Example2 · Model the Data
A retail bank model contains a FactTransactions table (12 million rows) and a DimAccount table (80,000 rows), joined on AccountKey. Each account appears many times in the fact table, and every transaction maps to exactly one account. You need the relationship to filter transactions by account attributes. Which relationship cardinality and cross-filter direction should you configure?
✓One-to-many from DimAccount to FactTransactions with a single cross-filter direction
Correct. DimAccount is the one side (unique AccountKey) and the fact is the many side, so a one-to-many single-direction relationship lets account attributes filter the transactions.
・Many-to-many cardinality with both-directions cross-filtering enabled between the tables
Incorrect. Many-to-many is only needed when both key columns contain duplicate values, and bidirectional filtering adds ambiguity and overhead that this clean one-side dimension does not require.
・One-to-one from FactTransactions to DimAccount with a single cross-filter direction enforced
Incorrect. One-to-one requires unique keys on both tables, but AccountKey repeats across the 12 million fact rows, so this cardinality cannot be applied.
・Many-to-one from DimAccount to FactTransactions with both-directions cross-filtering
Incorrect. The direction label is reversed and both-directions filtering is unnecessary here, which would risk ambiguous filter paths in the star schema.
Explanation
In a star schema the dimension sits on the one side with a unique key and the fact table sits on the many side. A one-to-many relationship with single cross-filter direction from DimAccount to FactTransactions is the standard, performant choice.
Example3 · Visualize and Analyze the Data
A retail bank analyst must show how a single KPI, monthly card-transaction volume, has trended across 36 consecutive months so that seasonal peaks around year-end are immediately obvious to executives. Which visual type best presents this continuous time-based trend?
✓A line chart with month on the X-axis and transaction volume on the Y-axis
Correct. A line chart plots a measure against a continuous time axis, making a 36-month trend and its recurring seasonal peaks easy to read at a glance.
・A pie chart slicing the total volume into one wedge per month
Incorrect. A pie chart compares parts of a single whole and cannot convey change or trend over a sequence of 36 time periods.
・A tabular matrix listing all thirty-six months down the rows with each month's exact transaction volume value beside it
Incorrect. A matrix shows exact values but forces the reader to scan 36 rows, so trend shape and seasonality are not visually apparent.
・A clustered column chart breaking every month into separate bars by card product used
Incorrect. A clustered column chart split by product emphasizes category comparison per month rather than the smooth continuous trend the analyst needs.
Explanation
Trends over a continuous time dimension are best shown with line charts, which reveal direction and seasonality. Pie charts, matrices, and product-split columns answer different analytical questions.
Example4 · Deploy and Maintain Assets
A hospital analytics team publishes a clinical-outcomes report to a Power BI workspace. The lead analyst must let a group of ward nurses view and interact with the published report but must prevent them from editing the report, republishing it, or seeing any other content in the workspace. Which approach meets these requirements?
・Assign the nurses the Viewer role directly in the workspace so they can open every item it contains.
Incorrect. The Viewer role grants read access to all items in the workspace, so nurses would also see unrelated clinical content.
・Assign the nurses the Contributor role in the workspace so they can refresh and open the report.
Incorrect. Contributor allows editing and republishing content, which violates the view-only requirement.
✓Publish the report in an app and add the nurses to an audience scoped to just that report.
Correct. A Power BI app with a scoped audience lets consumers view the single report read-only without workspace access or edit rights.
・Share the underlying semantic model with the nurses so they can build and own their own personal report copy that refreshes.
Incorrect. Sharing the semantic model and letting them build reports grants build permission and does not restrict them to view-only.
Explanation
Apps with audiences are the governed way to distribute read-only content to consumers without exposing the workspace. Workspace roles like Viewer and Contributor expose all items and, in Contributor's case, grant edit rights.
Example5 · Prepare the Data
A hospital analytics team connects Power BI to an Azure SQL Database holding 40 million patient-encounter rows. The analyst adds a filter in Power Query to keep only encounters from the current fiscal year, then checks the step to confirm the filter runs on the SQL server rather than downloading all rows first. Which Power Query feature is the analyst relying on?
✓Query folding, which translates the applicable transformation steps back into a single native source query
Correct. Query folding converts supported steps (such as the date filter) into native SQL so the server returns only the needed rows.
・Incremental refresh, which splits the table into partitions that each reload on a schedule
Incorrect. Incremental refresh partitions data for scheduled reloads but does not make a single Power Query filter execute on the server.
・Data profiling, which samples column values so the report shows quality statistics in the editor
Incorrect. Data profiling inspects sampled values for quality; it does not push transformation logic to the source.
・DirectQuery storage mode, which keeps every visual bound directly to the live source without any local caching at all
Incorrect. DirectQuery is a storage mode choice, not the mechanism that pushes an Import-mode Power Query filter to the source.
Explanation
Query folding is the capability where Power Query generates a native query for the source and pushes down steps like filters and column removals. Relational sources such as Azure SQL fold well, reducing data transfer and refresh time.
Example6 · Prepare the Data
A streaming-media analyst imports a CSV of daily viewership. The ViewDate column arrives as Text with values like 2026-03-14, and a measure that compares periods fails because time intelligence requires a proper date column. What is the most appropriate Power Query action to resolve this?
✓Change the ViewDate column data type to Date using the Locale option so the text is parsed with the correct regional format for a true date column
Correct. Setting the column to a Date type (using Locale when formats are ambiguous) produces a true date column that time intelligence can use.
・Add a conditional column that returns the original text unchanged whenever the value looks like a date
Incorrect. A conditional column that returns the same text leaves the data as Text and does not create a usable date type.
・Keep the column as Text and rely on DAX to convert each value inside every time-intelligence measure at run time
Incorrect. Leaving it as Text forces fragile per-measure conversions and still blocks the date table relationship that time intelligence expects.
・Replace the hyphens in the ViewDate values with slashes so the report page displays the dates more neatly
Incorrect. Swapping hyphens for slashes only changes characters; the column stays Text and remains unusable for time intelligence.
Explanation
Time-intelligence functions require a column of the Date (or Date/Time) data type. Converting the text column in Power Query, using Change Type with Locale for ambiguous formats, is the correct fix.
Example7 · Prepare the Data
A logistics firm stores daily telemetry CSV files in an Azure Data Lake Storage Gen2 folder named /iot/sensors/, with one file added per day. An analyst must build a single Power Query query that imports and appends all current and future files in that folder without editing the query each time a new file arrives. Which Get Data approach meets this need?
✓Connect by using the Azure Data Lake Storage Gen2 connector at the folder level and combine every file with the auto-generated sample transform function on refresh
Correct. The ADLS Gen2 folder-level connection returns all files in the path and the auto-generated combine/sample function transforms and appends every current and future file automatically.
・Connect to each individual CSV file by using the Text/CSV connector and then manually append the resulting queries one by one
Incorrect. Referencing each file individually means the query must be edited whenever a new daily file is added, which fails the no-maintenance requirement.
・Connect to the newest CSV file only and schedule a dataflow to rewrite the folder source path each and every morning
Incorrect. Rewriting the source path each morning is manual maintenance and does not import historical files in a single query as required.
・Connect by using the Web connector to the one file URL and paste a new download link each time a file is published
Incorrect. The Web connector targets one static URL, so each new telemetry file would require pasting another link rather than loading the whole folder.
Explanation
Folder-style connectors (ADLS Gen2, SharePoint folder, local folder) enumerate every file at the path and generate a combine function that applies the same transforms to each file. New files appearing in the folder are picked up automatically on the next refresh with no query edits.
Example8 · Prepare the Data
A manufacturing plant's machine-event table has a Status column containing values such as "Running", "running", and " Running " (with leading and trailing spaces). The analyst needs every variation consolidated into one consistent value before grouping. Which sequence of Power Query transformations produces consistent values?
・Replace Errors on the column and then change the column data type to Text
Incorrect. Replace Errors and a type change do not remove spaces or normalize casing, so "running" and " Running " remain distinct.
・Split the column by the space delimiter into new columns and keep only the first part
Incorrect. Splitting by space discards content and does not fix casing differences between the remaining parts.
・Use Fill Down on the Status column and then remove any of the duplicate rows afterward
Incorrect. Fill Down copies values into blanks and removing duplicates deletes rows, neither of which standardizes the text itself.
✓Apply Trim and then apply Lowercase to standardize the casing
Correct. Trim removes the leading and trailing spaces and Lowercase normalizes letter case, collapsing all variants into one consistent value.
Explanation
Trim strips surrounding whitespace while Clean removes non-printing characters, and a casing transform (Lowercase, Uppercase, or Capitalize Each Word) normalizes letter case. Together they consolidate textual variants so later grouping and filtering treat them as a single value.
Example9 · Prepare the Data
An IoT vibration dataset has a Timestamp column that Power Query auto-detected as Text because the source wrote values like "2026-03-14T08:15:30". The analyst needs to extract the hour of day for time-of-day analysis and ensure the model stores a true date/time value. What should the analyst do?
✓Set the column data type to Date/Time and then add a custom column or Time transform that returns the hour component
Correct. Converting the column to Date/Time gives a genuine temporal value, and a Time.Hour-style transform or custom column then extracts the hour component reliably.
・Leave the column as Text and build the hour by using the Extract Text Range transformation on the fixed character positions each time
Incorrect. Keeping Text and slicing characters is fragile and never produces a true Date/Time value that the model can use for time intelligence.
・Change the column to the Whole Number data type so the hour can be calculated from the numeric value
Incorrect. A Whole Number conversion on an ISO-8601 text string fails to parse and discards the date/time meaning entirely.
・Mark the column as having errors and replace its values with the current system date and time
Incorrect. Marking the valid timestamps as errors and overwriting them with the current date and time destroys the actual event times.
Explanation
Correctly typing the column as Date/Time is prerequisite to any temporal extraction. Once typed, Power Query's Date/Time transforms (or a custom column using Time.Hour) expose components such as hour, and the model stores a real temporal value usable for time-of-day analysis.
Example10 · Prepare the Data
You are a data analyst at a B2B SaaS company. You connect Power BI Desktop to an Azure SQL Database that stores the 'FactSubscriptionEvents' table. You add a Filtered Rows step to keep only rows where EventDate is in the current year, and you want this filter to be pushed to the database engine rather than processed locally. Which Get Data configuration best enables this behavior?
・Import the entire table without any folding, then apply the date filter later in a separate dataflow that runs on a scheduled refresh inside the Power BI service workspace environment
Incorrect. Importing the full table first loads every row into Power BI, so the date filter runs locally and no WHERE clause is folded to the source engine.
・Paste a hand-written native SQL statement into the connector so that every downstream Power Query transformation step is automatically forced to fold back to the database engine regardless of its type
Incorrect. A native SQL query becomes an opaque source step, and transformations applied after it generally stop folding rather than being forced to fold.
・Connect with the Web connector pointing at a database REST endpoint because web sources reliably fold filters and aggregations back to the remote relational service in an efficient manner
Incorrect. The Web connector is for HTTP/REST and generally does not fold relational filters; it is also the wrong connector for an Azure SQL Database.
✓Use the Azure SQL connector in default folding-enabled mode and apply the Filtered Rows step so Power Query emits a WHERE clause to the source
Correct. The Azure SQL connector supports query folding, so a Filtered Rows step is translated into a SQL WHERE clause and evaluated by the database engine.
Explanation
Query folding occurs when Power Query can translate steps into the source's native language, such as SQL. Relational connectors like Azure SQL fold a Filtered Rows step into a WHERE clause so the engine does the work.
Example11 · Prepare the Data
A gaming analytics team imports a 'PlayerSessions' table where the 'DurationMinutes' column arrives as text because the source export wrapped some values in quotes. A few rows contain the literal string 'N/A'. You change the column type to Decimal Number, and the 'N/A' rows produce Error values. You must keep every session row but ensure the errored durations are treated as unknown rather than breaking downstream measures. Which Power Query approach meets this requirement?
・Use Remove Errors on the DurationMinutes column so that all session rows with unparseable durations are discarded from the query before loading
Incorrect. Remove Errors deletes the entire row wherever the column holds an Error, which violates the requirement to keep every session row.
・Change the column type to Text again so the 'N/A' strings load successfully and later convert the whole column during visualization in the report view
Incorrect. Reverting to Text defeats the goal of a numeric duration column and pushes the parsing problem downstream instead of resolving the errors.
✓Use Replace Errors on the DurationMinutes column to substitute null for the Error values, keeping each session row while marking the duration as unknown
Correct. Replace Errors swaps Error values for null, so each session row is retained and the unparseable durations become unknown rather than breaking measures.
・Apply Keep Errors on the DurationMinutes column to isolate problem rows, then merge them back so every original session row and value is preserved in the model
Incorrect. Keep Errors returns only the error rows, so merging back does not cleanly restore all the original session rows and values.
Explanation
Replace Errors converts Error cells to a chosen value such as null while leaving all other rows intact. Nulls are safely ignored by most aggregations, satisfying the need to keep rows and flag unknown durations.
Example12 · Prepare the Data
A regional energy authority stores 15 years of hourly smart-meter readings in an Azure SQL Database table containing hundreds of millions of rows. A Power BI analyst connects in Import mode and, in Power Query, filters the rows to only the most recent two years and groups them by meter and month. The analyst wants these operations executed by the Azure SQL engine rather than the local mashup engine so the refresh pulls far fewer rows. Which action best confirms that query folding is occurring for these steps?
・Enable the Power Query option that automatically detects column data types on load.
Incorrect. Automatic data type detection adds a Changed Type step and does not verify whether the filter and group steps are pushed to the source.
✓Right-click the final applied step and select View Native Query to confirm a translated SQL statement is generated.
Correct. If View Native Query is enabled (not greyed out) for the step, Power Query has translated the applied steps into a single SQL statement that the Azure SQL engine executes, confirming folding.
・Add an Index column as the first transformation step so that each source row receives a unique sequential identifier value.
Incorrect. Adding an Index column typically breaks query folding because the local engine must enumerate rows, which is the opposite of the desired behaviour here.
・Change the connection from the default Import storage mode to DirectQuery so that the visuals query the source live.
Incorrect. Switching to DirectQuery changes the storage architecture entirely and is not how you verify that Import-mode steps fold to the source.
Explanation
Query folding pushes transformations back to the source as native SQL, reducing the data transferred during refresh. View Native Query is the built-in way to confirm a step folds; if it is available, the step is being translated to SQL. Steps like Index columns often stop folding.
Example13 · Prepare the Data
A ministry of education publishes one CSV file per academic year of school enrollment statistics, and all files sit in a single folder on a network share using an identical column layout. Each year a new CSV is added. An analyst needs a single query that automatically appends every current and future file in that folder into one table without editing the query when new years arrive. Which Power Query approach should the analyst use?
・Connect to each individual yearly CSV file separately and then reference one query from another so that the data lineage between all of them is carefully preserved.
Incorrect. Connecting to each file separately requires adding and appending a new query every time a year is added, defeating the no-edit requirement.
✓Use the Folder connector and the Combine Files experience to build a transform function run on every file.
Correct. The Folder connector with Combine Files generates a sample query and a transform function that is applied to every file in the folder, so new CSVs added later are included on the next refresh with no edits.
・Create a blank query and paste each year's full file path into a hard-coded static list that the query iterates over sequentially during every refresh.
Incorrect. A hard-coded list of paths must be manually updated for every new file, so future years would not be picked up automatically.
・Point the Web connector at the network share so new CSV files are detected on refresh.
Incorrect. The Web connector targets HTTP endpoints, not a file-system folder, so it cannot auto-combine the folder's files.
Explanation
The Folder (or SharePoint folder) connector with Combine Files is the standard pattern for consolidating many identically structured files. It creates a sample transformation function applied to each file, so appending future files is automatic. Per-file queries or hard-coded lists require manual maintenance.
Example14 · Prepare the Data
A data analyst at a travel insurance company connects Power BI Desktop to an Azure SQL Database that holds a large PolicyTransactions table. The analyst wants the Remove Rows and Filter Rows steps applied in Power Query to be translated into a SQL WHERE clause and executed on the server so that only the needed rows are transferred. Which Power Query behavior does the analyst need to rely on to achieve this?
・Incremental refresh, which stores previously loaded partitions so only newly added rows are imported into the dataset on each scheduled refresh run
Incorrect. Incremental refresh controls which partitions are reloaded over time and does not translate individual transformation steps into a server-side SQL WHERE clause.
・DirectQuery storage mode, which prevents source data from ever being cached inside the dataset
Incorrect. DirectQuery changes storage mode and query timing but is not the mechanism that pushes applied Import-mode transformation steps back to the source.
・Enabling the Table.Buffer function so each transformation step is fully materialized in memory before the load runs
Incorrect. Table.Buffer forces data to be loaded into memory and actually breaks folding rather than enabling server-side execution of the steps.
✓Query folding, where the supported filter steps are pushed back to the source as a native query
Correct. Query folding translates supported Power Query steps into a single native source query, so the filter runs on the Azure SQL server and only the needed rows are returned.
Explanation
Query folding is the capability that converts eligible Power Query steps into a native source query executed at the data source. Relying on folding for filters against a SQL source minimizes data transfer and speeds up refresh.
Example15 · Prepare the Data
An analyst imports a Claims worksheet from Excel into Power Query. The ClaimAmount column was typed as text because some cells contain the literal value "N/A". The analyst needs ClaimAmount to be a Decimal Number type, with the "N/A" entries becoming blanks instead of causing conversion errors in the column. Which sequence of steps best meets this need?
✓Replace every "N/A" cell with null first, and only after that cleanup is done change the ClaimAmount column type to Decimal Number so the conversion completes without errors
Correct. Replacing every "N/A" with null before the type change leaves valid blanks, so the subsequent conversion to Decimal Number succeeds without producing errors.
・Change the column type to Decimal Number first, and then use Remove Errors to delete every row that failed the numeric conversion attempt
Incorrect. Changing the type first turns every "N/A" into an error value and Remove Errors deletes the whole row, losing otherwise valid claim data instead of blanking the amount.
・Change the column type to Decimal Number using the locale option and leave the "N/A" values unchanged
Incorrect. A locale-based type change still cannot parse the text "N/A" as a number, so those cells become errors rather than blanks.
・Split the column by the delimiter "/" and then change only the first resulting column to Decimal Number
Incorrect. Splitting by "/" fragments the amounts and does not address the "N/A" text, so the conversion still fails on those rows.
Explanation
Cleaning non-numeric placeholders to null before applying a numeric data type avoids conversion errors while preserving the rows. Ordering the Replace Values step ahead of the Change Type step is the key to keeping valid claims intact.
▶ Try 10 free questions (graded)