Category: Analytics

Group and Aggregate Rows (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections:
Prepare the data (25–30%)
--> Transform and load the data
--> Group and Aggregate Rows


Note that there are 10 practice questions (with answers and explanations) for each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available on the hub below the exam topics section.

Grouping and aggregating rows is a foundational data preparation task used to summarize detailed data into meaningful totals before it is loaded into the Power BI data model. For the PL-300: Microsoft Power BI Data Analyst exam, Microsoft evaluates your understanding of how, when, and why to group data in Power Query, and how those decisions affect the data model and reporting outcomes.


Why Group and Aggregate Rows?

Grouping and aggregation are used to:

  • Summarize transactional or granular data
  • Reduce dataset size and improve performance
  • Shape fact tables to the correct grain
  • Prepare data for simpler reporting
  • Offload static calculations from DAX into Power Query

Exam Focus: The exam often tests decision-making—specifically whether aggregation should occur in Power Query or later in DAX.


Where Grouping Happens in Power BI

Grouping and aggregation for this exam objective occur in Power Query Editor, using:

  • Home → Group By
  • Transform → Group By

This transformation physically reshapes the dataset before it is loaded into the model.

Key Distinction: Power Query grouping changes the stored data. DAX measures calculate results dynamically at query time.


The Group By Operation

When using Group By, you define:

1. Group By Columns

Columns that determine how rows are grouped, such as:

  • Customer
  • Product
  • Date
  • Region

Each unique combination of these columns produces one row in the output.

2. Aggregation Columns

New columns created using aggregation functions applied to grouped rows.


Common Aggregation Functions (Exam-Relevant)

Power Query supports several aggregation functions frequently referenced on the PL-300 exam:

  • Sum – Adds numeric values
  • Count Rows – Counts rows in each group
  • Count Distinct Rows – Counts unique values
  • Average – Calculates the mean
  • Min / Max – Returns lowest or highest values
  • All Rows – Produces nested tables for advanced scenarios

Exam Tip: Be clear on the difference between Count Rows and Count Distinct—this is commonly tested.


Grouping by One vs Multiple Columns

Grouping by a Single Column

Used to create high-level summaries such as:

  • Total sales per customer
  • Number of orders per product

Results in one row per unique value.


Grouping by Multiple Columns

Used when summaries must retain more detail, such as:

  • Sales by customer and year
  • Quantity by product and region

The output grain is defined by the combination of columns.


Impact on the Data Model

Grouping and aggregating rows in Power Query has a direct impact on the data model, which is an important exam consideration.

Key Impacts:

  • Reduced row count improves model performance
  • Changes the grain of fact tables
  • May eliminate the need for certain DAX measures
  • Can simplify relationships by reducing cardinality

Important Trade-Off:

Once data is aggregated in Power Query:

  • You cannot recover lower-level detail
  • You lose flexibility for drill-down analysis
  • Time intelligence and slicer-driven behavior may be limited

Exam Insight: Microsoft expects you to recognize when aggregation improves performance and when it limits analytical flexibility.


Group and Aggregate vs DAX Measures (Highly Tested)

Understanding where aggregation belongs is a core PL-300 skill.

Group in Power Query When:

  • Aggregation logic is fixed
  • You want to reduce data volume
  • Performance optimization is required
  • The dataset should load at a specific grain

Use DAX Measures When:

  • Aggregations must respond to slicers
  • Time intelligence is required
  • Users need flexible, dynamic calculations

Common Mistakes (Often Tested)

These are frequent pitfalls that appear in exam scenarios:

  • Grouping too early, eliminating needed detail
  • Aggregating data that should remain transactional
  • Using Sum on columns that should be counted
  • Confusing Count Rows with Count Distinct
  • Grouping in Power Query when a DAX measure is more appropriate
  • Forgetting to validate results after grouping
  • Incorrect data types causing aggregation errors

Exam Pattern: Many questions present a “wrong but plausible” grouping choice—look carefully at reporting requirements.


Best Practices for PL-300 Candidates

  • Understand the grain of your data before grouping
  • Group only when it adds clear value
  • Validate totals after aggregation
  • Prefer Power Query grouping for static summaries
  • Use DAX for dynamic, filter-aware calculations
  • Know when not to group:
    • When users need drill-down capability
    • When calculations must respond to slicers
    • When time intelligence is required
    • When future reporting needs are unknown

How This Appears on the PL-300 Exam

Expect scenario-based questions such as:

  • You need to reduce model size and improve performance. Where should aggregation occur?
  • Which aggregation produces unique counts per group?
  • What is the impact of grouping data before loading it into the model?
  • Why would grouping in Power Query be inappropriate in this scenario?

Key Takeaways

✔ Grouping is performed in Power Query, not DAX
✔ Aggregation reshapes data before modeling
✔ Grouping impacts performance, flexibility, and grain
✔ Know both when to group and when not to
✔ This topic tests data modeling judgment, not just mechanics


Practice Questions

Go to the Practice Exam Questions for this topic.

Resolve Data Import Errors (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections: 
Prepare the data (25–30%)
--> Profile and clean the data
--> Resolve data import errors


Note that there are 10 practice questions (with answers and explanations) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available on the hub's main page.

Data import errors are a common issue when bringing data into Power BI. These errors typically arise during the Power Query stage and must be resolved before data can be successfully loaded into the data model. The PL-300 exam tests your ability to identify, interpret, and fix these errors using Power Query’s built-in tools and transformations.


What Are Data Import Errors?

Import errors occur when Power BI cannot process or convert incoming data as expected. These errors can arise from:

  • Invalid data formats
  • Incompatible data types
  • Data corruption
  • Unexpected null or missing values
  • Transformation steps that fail

Identifying and resolving these errors early ensures that your dataset is clean, consistent, and ready for modeling and reporting.


Where Import Errors Occur

Import errors are most commonly encountered:

🧩 During Data Type Conversion

When the source value cannot be converted to the target type
(e.g., text "N/A" converted to number)

🧩 In Applied Steps

If a transformation step references a column that doesn’t exist
or expects a format that isn’t present

🧩 While Combining Queries

When merging or appending tables with mismatched structures

🧩 When Parsing Complex Formats

Such as dates in nonstandard formats or malformed JSON


How Power BI Signals Import Errors

In Power Query Editor, import errors are typically shown as:

  • Error icons in the preview cells
  • A warning message in the query results (“Error” link)
  • Red dotted underlines or warnings in applied steps
  • The “Load failed” message when refreshing

The first step in resolving errors is to examine the error details.


Viewing Error Details

When an error appears in Power Query:

  1. Click the Error indicator in the cell or
  2. Use View → Column quality / Column profile

You can also filter the column to show only error values by filtering on Errors.

Exam tip:
Power BI often shows technical error messages, so part of the task is interpreting what the underlying issue is (e.g., type mismatch, invalid format, null where not expected).


Common Import Errors & How to Fix Them

1. Type Conversion Errors

Scenario: A column expected to be numeric contains text such as "Unknown".

Fix Options:

  • Use Replace Errors to substitute a default value
  • Use Replace Values to convert specific text to numeric (e.g., "Unknown" → 0)
  • Adjust data type after cleaning

Key Idea: Always fix the root cause before changing the data type.


2. Unexpected Null Values

Scenario: A key column has nulls where values are required, causing subsequent transformations to fail.

Fix Options:

  • Replace nulls with default values via Replace Values
  • Remove rows where the column is null
  • Use conditional logic (Add Column → Conditional Column) to handle nulls appropriately

Key Idea: Nulls can break transformations (like merges) if not handled first.


3. Transformation Step Errors

Scenario: A transformation step refers to a column removed or renamed earlier in the applied steps.

Fix Options:

  • Review and reorder steps in the APPLIED STEPS pane
  • Rename the column consistently before referencing it
  • Delete the problematic step and reapply it correctly

Key Idea: Power BI applies steps sequentially. A downstream step can fail if an upstream change invalidates assumptions.


4. Merge/Append Structure Errors

Scenario: You merge or append tables that don’t share compatible column structures (e.g., mismatched data types).

Fix Options:

  • Ensure columns used for merger/join have identical data types
  • Rename or reorder columns to match structures
  • Preclean individual tables before combining

Key Idea: Always validate structure and types before merging or appending tables.


5. Parsing & Date Format Errors

Scenario: Date values import as text due to regional format differences (MM/DD/YYYY vs DD/MM/YYYY).

Fix Options:

  • Change the column data type to Date after validating format
  • Use Transform → Using Locale to define the correct regional format
  • Use Custom Columns to parse dates manually with Date.FromText

Key Idea: Locale-aware parsing helps resolve ambiguous date formats.


Tools to Help Diagnose Import Errors

Power BI provides several tools to help you locate and fix import errors:

🔍 Error Filtering

Filter columns to show only error rows.

📊 Column Quality / Distribution / Profile

Use profiling tools to identify patterns, nulls, and anomalies.

🧠 Step Validation

Hover over each Applied Step to see whether it is valid or failing.

📝 Advanced Editor

Review M code for logic errors or incorrect references.


Best Practices for Fixing Import Errors

1. Clean Before Converting Types
Always fix textual anomalies and nulls before assigning data types.

2. Avoid Hard-Coding Values
Replace problematic values using conditional logic or parameters for maintenance.

3. Inspect Impact of Each Step
Use the Applied Steps pane to ensure each transformation is valid.

4. Test Incrementally
Fix errors one at a time and refresh often to confirm success.

5. Document Assumptions
Add comments or descriptive step names to make logic clearer.


How This Appears on the PL-300 Exam

The exam commonly tests your ability to:

✔ Identify why a query fails (type mismatch, nulls, missing column)
✔ Choose the correct sequence to fix the issue
✔ Understand the difference between Replace Errors and Remove Errors
✔ Apply transformations in the correct order (clean → convert → transform)

Most questions are scenario-based, asking what action you would take next to successfully import data.


Key Exam Takeaways

  • Import errors can be caused by data type mismatches, unexpected nulls, invalid formats, and broken transformation steps.
  • Use Power Query tools to diagnose and resolve errors before loading data into the model.
  • Always understand the root cause before applying a fix.
  • Knowing how to use Replace Errors, Replace Values, Conditional Columns, and Data Type changes is essential.

Practice Questions

Go to the Practice Exam Questions for this topic.

Evaluate Data including Data Statistics & Column Properties (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections: 
Prepare the data (25–30%)
--> Profile and clean the data
--> Evaluate data, including data statistics and column properties


Note that there are 10 practice questions (with answers and explanations) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available on the hub below the exam topics section.

Before cleaning, transforming, or modeling data, a Power BI Data Analyst must first evaluate the quality and structure of the data. The PL-300 exam tests your ability to profile data, interpret data statistics, and understand column properties to identify issues such as missing values, incorrect data types, outliers, and inconsistent formats.

This topic lives under Profile and clean the data because effective data preparation starts with understanding what the data looks like and how it behaves.


What Does “Evaluate Data” Mean in Power BI?

Evaluating data means using Power BI (specifically Power Query) to:

  • Understand data distribution and completeness
  • Identify data quality issues
  • Verify correct data types and formats
  • Decide what cleaning or transformation steps are required

Rather than guessing, Power BI provides built-in profiling tools that summarize data characteristics automatically.


Data Profiling Tools in Power Query

Power BI includes several profiling features that appear in the Power Query Editor, primarily within the View tab.

Key Data Profiling Options

  • Column quality
  • Column distribution
  • Column profile

These tools help you quickly assess whether a column is usable, trustworthy, and correctly defined.


Column Quality

Column quality provides a high-level overview of data completeness and validity.

It visually displays:

  • Valid values
  • Error values
  • Empty (null) values

Why Column Quality Matters

  • Quickly highlights missing or broken data
  • Helps determine whether rows should be filtered, fixed, or removed
  • Useful for early detection of refresh or ingestion issues

📌 Exam insight:
Questions often test whether you can identify which tool reveals missing or invalid values—column quality is the answer.


Column Distribution

Column distribution shows how values are spread across a column.

It provides:

  • Frequency of values
  • Distinct vs unique counts
  • A histogram-style visualization (for numeric fields)

Common Uses

  • Spotting unexpected duplicates
  • Identifying skewed data
  • Detecting outliers
  • Validating categorical values

📌 Exam insight:
Column distribution is used to understand value frequency, not just nulls or errors.


Column Profile

Column profile gives the most detailed statistical view of a column.

Depending on the data type, it may include:

  • Minimum and maximum values
  • Average
  • Standard deviation
  • Count and distinct count
  • Null count

Typical Use Cases

  • Verifying numeric ranges (e.g., negative values where none should exist)
  • Checking date ranges
  • Understanding overall data shape before modeling

📌 Exam insight:
Column profile helps validate statistical characteristics, not formatting or naming.


Understanding Column Properties

Beyond statistics, Power BI also evaluates column properties, which affect how data behaves in the model and visuals.

Key Column Properties to Evaluate

Data Type

Examples:

  • Whole number
  • Decimal number
  • Text
  • Date / DateTime
  • Boolean

Incorrect data types can:

  • Break visuals
  • Prevent aggregations
  • Cause relationship issues

📌 Exam tip:
Always verify data types before applying transformations or creating measures.


Format

Controls how values appear (e.g., currency, percentage, date format).

  • Affects display, not calculation logic
  • Often adjusted after validating data type

Default Summarization

Determines how numeric columns aggregate in visuals:

  • Sum
  • Average
  • Count
  • Do not summarize

📌 Exam insight:
Default summarization is evaluated when deciding how columns behave in visuals—not during Power Query transformations.


Column Name & Description

  • Clear names improve usability
  • Descriptions help report consumers understand the data

While not deeply technical, the exam may include best-practice questions around data clarity and usability.


Evaluating Data at the Right Stage

Most evaluation tasks occur in Power Query, before data is loaded into the model.

Why?

  • Faster detection of issues
  • Prevents poor-quality data from entering the model
  • Reduces downstream modeling complexity

📌 Key distinction for the exam:

  • Power Query → data evaluation & cleaning
  • Model view → relationships & behavior
  • Report view → visualization

Common Exam Scenarios

You may encounter questions like:

Scenario 1

You need to quickly identify columns with missing or invalid values.

Correct concept: Column quality


Scenario 2

You want to understand how frequently values appear in a categorical column.

Correct concept: Column distribution


Scenario 3

You need to verify numeric ranges and detect outliers.

Correct concept: Column profile


Scenario 4

A numeric column is being treated as text and cannot be aggregated.

Correct concept: Incorrect data type (column property)


Best Practices to Remember

  • Enable profiling tools early in data preparation
  • Validate data types before transformations
  • Use statistics to guide cleaning decisions
  • Don’t rely on visuals alone to detect data quality issues

Key Exam Takeaways

For the PL-300 exam, remember:

  • Column quality → valid, error, and null values
  • Column distribution → frequency and distinct values
  • Column profile → statistical insights
  • Column properties affect aggregation, relationships, and visuals
  • Data evaluation happens primarily in Power Query

Understanding how to interpret what Power BI is telling you about your data is just as important as knowing how to clean it.


Practice Questions

Go to the Practice Exam Questions for this topic.

Change Data Source Settings (including Credentials & Privacy Levels) (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections: 
Prepare the data (25–30%)
--> Get or connect to data
--> Change Data Source Settings, including Credentials & Privacy Levels


Note that there are 10 practice questions (with answers and explanations) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available on the hub below the exam topics section.

Managing data source settings is a core responsibility of a Power BI Data Analyst and a frequently tested skill on the PL-300: Microsoft Power BI Data Analyst exam. This topic focuses on understanding how Power BI connects to data, how credentials are stored and updated, and how privacy levels affect data combination and security.

On the exam, you’re rarely asked where to click. The emphasis will likely be on conceptual understanding, decision-making, and troubleshooting. You’re likely to be tested on things like what happens when credentials are wrong, why a refresh fails, or how privacy levels affect query behavior.


What Are Data Source Settings in Power BI?

Data source settings define how Power BI authenticates, accesses, and combines data from one or more sources. These settings exist at two primary levels:

  • Power BI Desktop (development and modeling)
  • Power BI Service (publishing, refresh, and sharing)

Key components include:

  • Authentication credentials
  • Privacy levels
  • Data source permissions
  • Refresh behavior

Managing Credentials

What Are Credentials?

Credentials determine who Power BI is when it connects to a data source. If credentials are invalid, expired, or mismatched between environments, refreshes will fail.

Common Authentication Types (Exam-Relevant)

  • Windows authentication
    • On-premises SQL Server
    • Often paired with gateways
  • Database authentication
    • SQL login stored in Power BI
    • Independent of user identity
  • Microsoft Entra ID (OAuth)
    • Cloud sources (Azure SQL, Power BI datasets)
    • Most common for Power BI Service
  • Anonymous
    • Public web data
    • Rare in enterprise scenarios

Where Credentials Are Managed

In Power BI Desktop

  • File → Options and settings → Data source settings
  • Credentials are stored locally
  • Used during development and testing

In Power BI Service

  • Managed per dataset
  • Required for scheduled refresh
  • Often paired with a gateway for on-premises data

📌 Exam tip:
Credentials in Desktop do not automatically carry over to the Power BI Service.


Updating or Changing Credentials

You may need to update credentials when:

  • Passwords expire
  • Data sources move environments
  • Ownership of a dataset changes
  • Refresh failures occur after publishing

On the exam, expect scenarios like:

“A dataset refresh fails after being published. It worked in Power BI Desktop.”

The likely solution:

  • Update credentials in Power BI Service
  • Configure or reconfigure the gateway

Understanding Privacy Levels

Privacy levels control how Power BI isolates data sources when combining data to prevent unintended data leakage.

The Three Privacy Levels

Public

  • Data is publicly available
  • Lowest level of isolation
  • Examples: public websites

Organizational

  • Internal company data
  • Can be shared within the organization
  • Common for corporate databases

Private

  • Highly sensitive data
  • Strict isolation
  • Cannot be freely combined with other sources

Why Privacy Levels Matter

When Power BI combines multiple data sources:

  • It enforces privacy isolation
  • It may block query folding
  • It may require additional processing

📌 Key exam concept:
Privacy levels affect data combination behavior, not just security.


Privacy Levels and Query Folding

Privacy levels can:

  • Prevent Power BI from pushing transformations back to the source
  • Force local evaluation of queries
  • Reduce performance

Example:

  • Combining a Private SQL database with a Public web source may prevent query folding.

📌 Exam takeaway:
Privacy settings can impact performance, not just access.


The “Ignore Privacy Levels” Setting

Power BI Desktop allows you to:

  • Ignore privacy levels (for development or testing)

⚠️ Important for the exam:

  • This setting does not apply in Power BI Service
  • Service refresh always enforces privacy levels

Common Exam Scenarios and What They’re Testing

Scenario 1: Refresh Fails in Service

Tests:

  • Understanding of credential scope
  • Knowledge of service-side configuration

Correct thinking:

  • Credentials must be set in the Power BI Service
  • Gateway may be required

Scenario 2: Combining Multiple Data Sources

Tests:

  • Privacy level understanding
  • Data leakage prevention

Correct thinking:

  • Choose appropriate privacy levels
  • Understand impact on query folding

Scenario 3: Dataset Ownership Changes

Tests:

  • Credential reassignment
  • Dataset security awareness

Correct thinking:

  • Credentials may need to be re-entered
  • Refresh ownership matters

Key Exam Takeaways

For the PL-300 exam, remember:

  • Credentials define who Power BI is when accessing data
  • Desktop and Service credentials are separate
  • Privacy levels control data isolation
  • Privacy levels affect data combination and performance
  • Ignoring privacy levels works only in Desktop
  • Refresh failures often point to credential or gateway issues

If you understand why Power BI behaves the way it does with credentials and privacy, you’ll answer these questions confidently—even when the wording is tricky.


Practice Questions

Go to the Practice Exam Questions for this topic.

Identify and Connect to Data Sources or a Shared Semantic Model (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections: 
Prepare the data (25–30%)
--> Get or connect to data
--> Identify and connect to data sources or a shared semantic model


Note that there are 10 practice questions (with answers and explanations) for each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available on the hub below the exam topics section.

One of the first and most foundational skills tested in the PL-300: Microsoft Power BI Data Analyst exam is the ability to identify, select, and connect to appropriate data sources. This skill lives within the Prepare the data domain and underpins everything that follows—modeling, visualization, and analysis.

A Power BI Data Analyst must understand where data lives, how to connect to it efficiently, and when to reuse existing models instead of building new ones.


Understanding Data Source Types in Power BI

Power BI supports a wide variety of data sources, and the exam expects familiarity with common enterprise and self-service scenarios rather than obscure connectors.

Common Data Source Categories

File-based sources

  • Excel workbooks
  • CSV and text files
  • XML and JSON files
  • PDF files (structured tables)

Database sources

  • SQL Server
  • Azure SQL Database
  • Azure Synapse Analytics
  • Oracle
  • MySQL / PostgreSQL

Cloud and SaaS sources

  • SharePoint Online lists and files
  • OneDrive
  • Dataverse
  • Azure Blob Storage
  • Azure Data Lake Storage Gen2

Power Platform and Power BI sources

  • Power BI datasets (shared semantic models)
  • Dataflows
  • Datamarts

Exam tip: You are not expected to memorize every connector—focus on recognizing the correct source for a given scenario.


Choosing the Right Connectivity Mode

When connecting to data, Power BI offers three primary connectivity modes, and the exam frequently tests your understanding of when to use each one.

Import Mode

  • Data is loaded into the Power BI model
  • Fast performance
  • Supports full DAX and modeling capabilities
  • Requires dataset refreshes

Use when:
Data size is manageable and performance is critical.


DirectQuery Mode

  • Queries data directly at the source
  • Minimal data stored in Power BI
  • Performance depends on the source system
  • Some modeling and DAX limitations

Use when:
Data is very large or must remain in the source system.


Live Connection

  • Used with shared semantic models (Power BI datasets) or Analysis Services
  • No local model created
  • Modeling is done in the source dataset

Use when:
Connecting to a centrally governed dataset managed by another team.


Connecting to a Shared Semantic Model

A shared semantic model (formerly called a “dataset”) allows analysts to reuse existing data models instead of duplicating logic.

What Is a Shared Semantic Model?

  • A centrally managed Power BI dataset
  • Contains curated tables, relationships, measures, and security
  • Published to the Power BI Service
  • Designed for reuse across multiple reports

Benefits of Using Shared Semantic Models

  • Consistent metrics and definitions
  • Reduced duplication of logic
  • Centralized governance and security
  • Faster report development

How to Connect

In Power BI Desktop:

  1. Select Get data
  2. Choose Power BI datasets
  3. Select an existing dataset from the workspace
  4. Create a report using a Live connection

Exam tip:
When connected to a shared semantic model:

  • You cannot modify relationships
  • You cannot add calculated tables
  • You can create report-level measures (thin reports)

Authentication and Access Considerations

The exam also expects awareness of authentication methods, especially in enterprise environments.

Common authentication types include:

  • Windows authentication
  • Database authentication
  • Microsoft Entra ID (Azure AD)
  • OAuth

Key concept:
Your ability to connect depends on permissions at the source, not just in Power BI.


Identifying the Best Data Source for a Scenario

You may see exam questions that describe a business requirement and ask you to identify the most appropriate data source or connection method.

Example Scenarios

  • A finance team needs fast, interactive reports → Import mode
  • A large transactional database updated every minute → DirectQuery
  • Multiple teams need consistent KPIs → Shared semantic model
  • Files stored in SharePoint and updated weekly → SharePoint Folder connector

Key Exam Takeaways

For the PL-300 exam, remember the following:

  • Understand major data source categories
  • Know Import vs DirectQuery vs Live connection
  • Recognize when to use shared semantic models
  • Be aware of limitations when using Live connections
  • Choose data sources based on performance, governance, and scale

This topic is less about clicking buttons and more about making the right architectural decision—a critical skill for a Power BI Data Analyst.


Power BI Connection Modes – Comparison Table (PL-300 Exam Focus)

Feature / AspectImportDirectQueryLive Connection
Where data is storedLoaded into Power BI datasetRemains in source systemRemains in source dataset or Analysis Services
PerformanceFastest (in-memory)Depends on source performanceDepends on source dataset
Data refresh requiredYes (scheduled or manual)No (queries run live)No (always live)
Data volume supportLimited by dataset sizeVery large datasetsVery large datasets
Modeling allowedFull modeling supportedLimited modelingNo model changes allowed
Create relationshipsYesLimitedNo
Create calculated tablesYesLimitedNo
Create calculated columnsYesLimitedNo
Create measures (DAX)YesYes (with limitations)Yes (report-level only)
Power Query transformationsFully supportedLimited (query folding dependent)Not supported
Row-level security (RLS)SupportedSupportedInherited from source
Typical sourcesExcel, CSV, SQL, SharePointLarge SQL, Azure SQL, SynapsePower BI datasets, Analysis Services
Best use caseHigh performance, small-to-medium dataNear-real-time or massive dataReusing governed enterprise models
Exam frequencyVery highHighVery high

When to Choose Each Mode (Exam Scenarios)

Import Mode

Choose Import when:

  • Performance is the top priority
  • Data size is manageable
  • Full modeling flexibility is needed

📌 Most common and safest answer on the exam unless constraints are stated.


DirectQuery

Choose DirectQuery when:

  • Data is extremely large
  • Data must stay at the source
  • Near real-time reporting is required

📌 Expect questions about performance trade-offs and modeling limitations.


Live Connection

Choose Live Connection when:

  • Using a shared semantic model
  • Consistent metrics are required across reports
  • Centralized governance is in place

📌 Often paired with “thin report” exam scenarios.


High-Value Exam Tips ⭐

  • If the question mentions enterprise governance or shared datasets → think Live Connection
  • If it mentions large, frequently changing data → think DirectQuery
  • If it mentions fast visuals and full modeling → think Import
  • Live connections do not allow model changes
  • Import mode requires refresh
  • DirectQuery relies on query folding

Practice Exam Questions

Go to the Practice Exam Questions for this section.

Practice Questions: Identify and connect to data sources or a shared semantic model (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections: 
Prepare the data (25–30%)
--> Get or connect to data
--> Identify and connect to data sources or a shared semantic model


Below are 10 practice questions (with answers and explanations) for this topic of the exam.
There are also 2 practice tests for the PL-300 exam with 60 questions each (with answers) available on the hub.

Practice Questions

Question 1

A report requires the fastest possible query performance and the ability to create calculated tables and columns. The dataset size is moderate and updates occur nightly. Which connection mode should you use?

A. DirectQuery
B. Live connection
C. Import
D. Composite model

✅ Correct Answer: C

Explanation:
Import mode stores data in memory, provides the best performance, and supports full modeling capabilities.


Question 2

A company has a centrally governed Power BI dataset with standardized KPIs used across multiple departments. You need to build a report using this dataset without modifying the model. What should you use?

A. Import mode
B. DirectQuery mode
C. Live connection
D. Power BI dataflow

✅ Correct Answer: C

Explanation:
Live connections are used to connect to shared semantic models and enforce centralized governance.


Question 3

Which limitation exists when using a Live connection to a Power BI dataset?

A. Measures cannot be created
B. Relationships cannot be modified
C. Data refresh cannot be scheduled
D. Visual interactions are disabled

✅ Correct Answer: B

Explanation:
When using a Live connection, the data model is read-only and cannot be changed.


Question 4

A dataset must query a transactional database containing billions of rows with near real-time requirements. The data must remain at the source system. Which connection mode is most appropriate?

A. Import
B. Live connection
C. DirectQuery
D. Power BI dataflow

✅ Correct Answer: C

Explanation:
DirectQuery queries the data directly at the source and supports very large datasets.


Question 5

You connect to a shared semantic model in Power BI Service. Which type of measures can you create?

A. Calculated column measures
B. Dataset-level measures
C. Report-level measures only
D. No measures can be created

✅ Correct Answer: C

Explanation:
With a Live connection, only report-level measures are allowed.


Question 6

Which data source scenario is best suited for Import mode?

A. Streaming IoT telemetry
B. Large fact table updated every second
C. Excel files stored in SharePoint and refreshed weekly
D. Enterprise semantic model shared across teams

✅ Correct Answer: C

Explanation:
File-based sources with scheduled refreshes are ideal for Import mode.


Question 7

Which statement about DirectQuery is true?

A. All Power Query transformations are supported
B. Data is cached in memory for performance
C. Query performance depends on the source system
D. Calculated tables are fully supported

✅ Correct Answer: C

Explanation:
DirectQuery sends queries to the source system, so performance depends on the source.


Question 8

When should you connect to a Power BI dataset instead of importing data?

A. When you need to modify relationships
B. When consistent metrics across reports are required
C. When data volume is small
D. When Power Query transformations are required

✅ Correct Answer: B

Explanation:
Shared semantic models ensure consistency and governance across reports.


Question 9

Which authentication method is commonly used when connecting to cloud-based Power BI datasets?

A. Database authentication
B. Windows authentication
C. OAuth / Microsoft Entra ID
D. Anonymous authentication

✅ Correct Answer: C

Explanation:
Power BI Service connections typically use Microsoft Entra ID (OAuth).


Question 10

A Power BI report must use data from both an imported Excel file and a DirectQuery SQL source. Which feature enables this scenario?

A. Live connection
B. Power BI dataflow
C. Composite model
D. Shared semantic model

✅ Correct Answer: C

Explanation:
Composite models allow combining Import and DirectQuery data sources.


Exam Readiness Check ✅

If you can:

  • Quickly identify Import vs DirectQuery vs Live
  • Recognize shared semantic model scenarios
  • Recall modeling limitations by connection type

…then you’re in great shape for this PL-300 objective.


Go back to the PL-300 Exam Prep Hub main page

Practice Questions: Change data source settings, including credentials and privacy levels (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections:
Prepare the data (25–30%)
--> Get or connect to data
--> Change data source settings, including credentials and privacy levels


Below are 10 practice questions (with answers and explanations) for this topic of the exam.
There are also 2 practice tests for the PL-300 exam with 60 questions each (with answers) available on the hub.

Practice Questions

Question 1

A dataset refresh succeeds in Power BI Desktop but fails after being published to the Power BI Service. What is the most likely cause?

A. Privacy levels were set incorrectly in Desktop
B. Credentials were not configured in the Power BI Service
C. Query folding was disabled
D. The dataset uses Import mode

✅ Correct Answer: B

Explanation:
Credentials used in Power BI Desktop do not automatically transfer to the Power BI Service. They must be configured separately.


Question 2

Which authentication method is most commonly used when connecting to cloud-based data sources in the Power BI Service?

A. Windows authentication
B. Database authentication
C. OAuth (Microsoft Entra ID)
D. Anonymous authentication

✅ Correct Answer: C

Explanation:
Cloud data sources typically use OAuth through Microsoft Entra ID for secure authentication.


Question 3

What is the primary purpose of privacy levels in Power BI?

A. To encrypt data at rest
B. To restrict report sharing
C. To prevent unintended data leakage when combining sources
D. To improve dataset refresh performance

✅ Correct Answer: C

Explanation:
Privacy levels isolate data sources to prevent sensitive data from being unintentionally shared across sources.


Question 4

A Power BI model combines data from a Private SQL database and a Public web source. What is a potential impact of this configuration?

A. Scheduled refresh will be disabled
B. Query folding may be prevented
C. Calculated measures will not work
D. Row-level security will be removed

✅ Correct Answer: B

Explanation:
When combining sources with different privacy levels, Power BI may prevent query folding to enforce data isolation.


Question 5

Which privacy level should be assigned to internal corporate data sources?

A. Public
B. Anonymous
C. Organizational
D. Private

✅ Correct Answer: C

Explanation:
Organizational privacy level is intended for internal company data that can be shared within the organization.


Question 6

Which statement about the “Ignore privacy levels” option is true?

A. It applies to both Desktop and Service
B. It permanently disables privacy enforcement
C. It only applies in Power BI Desktop
D. It improves dataset refresh performance in the Service

✅ Correct Answer: C

Explanation:
Ignoring privacy levels is a Desktop-only setting and is not honored during refresh in the Power BI Service.


Question 7

When are credentials typically required to be re-entered?

A. When a report is viewed by another user
B. When the dataset owner changes
C. When a visual is modified
D. When a slicer is added

✅ Correct Answer: B

Explanation:
Changing dataset ownership often requires credentials to be re-entered to maintain refresh functionality.


Question 8

Which scenario requires the use of an on-premises data gateway?

A. Connecting to Azure SQL Database
B. Connecting to a Power BI dataset
C. Connecting to an on-premises SQL Server from the Service
D. Connecting to SharePoint Online

✅ Correct Answer: C

Explanation:
On-premises data sources require a gateway to allow the Power BI Service to access them.


Question 9

What happens if incorrect credentials are configured in the Power BI Service?

A. The report will not open
B. Visuals will display blank data
C. Scheduled refresh will fail
D. The dataset will be deleted

✅ Correct Answer: C

Explanation:
Incorrect credentials cause scheduled refresh failures, even if reports still open using cached data.


Question 10

Which action should you take first when a scheduled refresh suddenly starts failing?

A. Rebuild the data model
B. Change privacy levels
C. Check and update credentials in the Service
D. Disable query folding

✅ Correct Answer: C

Explanation:
Most unexpected refresh failures are caused by expired or changed credentials and should be checked first.


Exam Readiness Summary ✅

If you can confidently:

  • Distinguish Desktop vs Service credentials
  • Explain why privacy levels exist
  • Identify refresh and gateway issues
  • Understand how privacy levels affect query folding

…then you are well prepared for this PL-300 exam objective.


Go back to the PL-300 Exam Prep Hub main page

Practice Questions: Choose between DirectQuery and Import (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections:
Prepare the data (25–30%)
--> Get or connect to data
--> Choose between DirectQuery and Import


Below are 10 practice questions (with answers and explanations) for this topic of the exam.
There are also 2 practice tests for the PL-300 exam with 60 questions each (with answers) available on the hub.

Practice Questions

Question 1

A Power BI report must deliver the fastest possible visual response. The dataset is moderate in size and refreshed once per day. Which connectivity mode should you choose?

A. DirectQuery
B. Live connection
C. Import
D. Composite model

✅ Correct Answer: C

Explanation:
Import mode stores data in memory, providing the fastest performance and full modeling capabilities.


Question 2

A report must show up-to-the-minute transaction data from a large operational database. Data must remain in the source system. What is the best option?

A. Import
B. DirectQuery
C. Live connection
D. Power BI dataflow

✅ Correct Answer: B

Explanation:
DirectQuery retrieves data directly from the source in real time and avoids importing large datasets.


Question 3

Which limitation is most commonly associated with DirectQuery?

A. No scheduled refresh support
B. Reduced modeling and DAX capabilities
C. Inability to use row-level security
D. Inability to connect to SQL Server

✅ Correct Answer: B

Explanation:
DirectQuery limits certain modeling features, including calculated tables and some DAX expressions.


Question 4

A dataset contains a small product lookup table and a very large fact table that updates continuously. What is the most appropriate solution?

A. Import both tables
B. Use DirectQuery for both tables
C. Use a composite model
D. Use a live connection

✅ Correct Answer: C

Explanation:
Composite models allow importing small static tables while using DirectQuery for large, frequently updated tables.


Question 5

Which factor has the greatest impact on report performance when using DirectQuery?

A. Number of visuals on the page
B. Power BI Desktop version
C. Performance of the source system
D. Dataset refresh frequency

✅ Correct Answer: C

Explanation:
DirectQuery sends queries to the source system, so performance depends heavily on the source’s ability to handle queries.


Question 6

When is Import mode generally not recommended?

A. When modeling flexibility is required
B. When dataset size exceeds practical memory limits
C. When reports need fast interactivity
D. When refresh can occur on a schedule

✅ Correct Answer: B

Explanation:
Very large datasets may exceed memory constraints, making Import impractical.


Question 7

Which statement about data freshness is true?

A. Import mode always shows real-time data
B. DirectQuery requires scheduled refresh
C. Import mode relies on dataset refresh
D. DirectQuery stores data in memory

✅ Correct Answer: C

Explanation:
Import mode displays data as of the last refresh, while DirectQuery retrieves data at query time.


Question 8

A Power BI report must support complex DAX measures and calculated tables. Data updates hourly and does not need real-time accuracy. What should you choose?

A. DirectQuery
B. Import
C. Live connection
D. Streaming dataset

✅ Correct Answer: B

Explanation:
Import mode supports full DAX and modeling flexibility and is appropriate when real-time data is not required.


Question 9

Which scenario is the best candidate for DirectQuery?

A. Monthly financial reporting
B. Historical trend analysis
C. Real-time inventory monitoring
D. Static reference data

✅ Correct Answer: C

Explanation:
Real-time or near-real-time monitoring scenarios are ideal for DirectQuery.


Question 10

Why might a Power BI Data Analyst avoid DirectQuery unless necessary?

A. It cannot connect to cloud data sources
B. It disables report sharing
C. It can negatively impact performance and modeling flexibility
D. It does not support security

✅ Correct Answer: C

Explanation:
DirectQuery introduces performance dependencies on the source system and limits modeling features, making Import preferable when possible.


Exam Readiness Check ✅

You’re well prepared for this PL-300 objective if you can:

  • Identify real-time vs scheduled refresh needs
  • Balance performance vs flexibility
  • Recognize large-scale data scenarios
  • Explain why DirectQuery is chosen—not just when

Go back to the PL-300 Exam Prep Hub main page

Practice Questions: Select the appropriate column data type (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections:
Prepare the data (25–30%)
--> Transform and load the data
--> Select the appropriate column data type


Below are 10 practice questions (with answers and explanations) for this topic of the exam.
There are also 2 practice tests for the PL-300 exam with 60 questions each (with answers) available on the hub.

Practice Questions

1. Choosing the Correct Type for IDs

A column contains values such as 100245, 100312, and 100587. These values are used only to uniquely identify records. What data type should you use?

A. Whole Number
B. Decimal Number
C. Text
D. Fixed Decimal Number

Correct Answer: C

Explanation:
Identifiers should be stored as Text, not numeric types, since they are not used in calculations and may contain leading zeros in the future.


2. Fixing Incorrect Aggregation Behavior

A column representing revenue does not aggregate correctly in visuals. The column’s data type is set to Text. What should you do?

A. Change the data type to Decimal Number
B. Replace null values
C. Remove duplicate rows
D. Create a calculated column

Correct Answer: A

Explanation:
Text columns cannot be aggregated. Changing the data type to Decimal Number enables proper numeric calculations.


3. When to Use Fixed Decimal Number

Which scenario is BEST suited for the Fixed Decimal Number data type?

A. Product quantity
B. Currency values requiring precision
C. Customer ID numbers
D. Percentage values used in visuals

Correct Answer: B

Explanation:
Fixed Decimal Number is designed for financial data where precision is critical, such as currency.


4. Handling Dates Imported as Text

A column contains date values stored as text due to regional formatting differences. What is the BEST way to convert them?

A. Change data type directly to Date
B. Replace values manually
C. Change data type using locale
D. Create a calculated column

Correct Answer: C

Explanation:
Using Change Type → Using Locale ensures Power BI interprets dates correctly based on regional formats.


5. Preventing Data Type Errors

You are experiencing errors after converting a column’s data type. What should you do FIRST?

A. Remove rows with errors
B. Replace errors with null
C. Clean and validate the source values
D. Disable automatic type detection

Correct Answer: C

Explanation:
Errors often occur because the data is not clean. Always clean data before converting types.


6. Relationship Creation Failure

You are unable to create a relationship between two tables on a key column. What is the MOST likely reason?

A. The column contains duplicate values
B. The column contains null values
C. The data types of the columns do not match
D. The column is hidden

Correct Answer: C

Explanation:
Relationship columns must have matching data types for Power BI to create the relationship.


7. Choosing Between Date and Date/Time

A column contains dates only, with no time component. Which data type is MOST appropriate?

A. Text
B. Date/Time
C. Date
D. Date/Time/Timezone

Correct Answer: C

Explanation:
Using Date avoids unnecessary time components and improves filtering and grouping accuracy.


8. Automatic Type Detection Issues

Power BI automatically assigns a Whole Number type to a column that should be text. Why is this a problem?

A. It increases model size
B. It prevents the column from being filtered
C. It can remove leading zeros
D. It causes duplicate values

Correct Answer: C

Explanation:
Numeric types do not preserve leading zeros, which can be critical for codes or IDs.


9. Best Practice for Applying Data Types

When should you apply data type changes in Power Query?

A. Immediately after loading the data
B. After creating relationships
C. After cleaning and transforming the data
D. After publishing the report

Correct Answer: C

Explanation:
Applying data types after cleaning prevents conversion errors and ensures consistent transformations.


10. Diagnosing Model Performance Issues

A Power BI model is larger than expected and performs poorly. One cause is unnecessary Date/Time columns where only Date is needed. What should you do?

A. Convert Date/Time columns to Date
B. Convert Date columns to Text
C. Remove the columns
D. Disable auto date/time

Correct Answer: A

Explanation:
Using Date instead of Date/Time reduces model size and improves performance when time data is not required.


✅ PL-300 Exam Takeaways

  • Data type selection affects calculations, relationships, and performance
  • IDs should almost always be Text
  • Clean data before converting data types
  • Know when to use Decimal vs Fixed Decimal
  • Expect subtle, behavior-based questions on the exam

Go back to the PL-300 Exam Prep Hub main page

Practice Questions: Create and transform columns (PL-300 Exam Prep)

This post is a part of the PL-300: Microsoft Power BI Data Analyst Exam Prep Hub; and this topic falls under these sections:
Prepare the data (25–30%)
--> Transform and load the data
--> Create and transform columns


Below are 10 practice questions (with answers and explanations) for this topic of the exam.
There are also 2 practice tests for the PL-300 exam with 60 questions each (with answers) available on the hub.

Practice Questions

1. Choosing the Correct Tool

You need to split a column named FullName into FirstName and LastName before loading the data into the model. What is the BEST approach?

A. Create two DAX calculated columns
B. Use Split Column in Power Query
C. Use a measure
D. Use a visual-level calculation

Correct Answer: B

Explanation:
Structural changes like splitting columns should be done in Power Query before the data loads into the model.


2. Fixing Inconsistent Text Data

A column contains values with inconsistent casing (e.g., “north”, “North”, “NORTH”). What transformation should you apply?

A. Replace values
B. Trim
C. Format → Uppercase
D. Conditional column

Correct Answer: C

Explanation:
Formatting text to Uppercase (or Lowercase) standardizes values efficiently and avoids manual replacements.


3. Extracting Date Components

You need a column containing only the year from an existing Date column. What is the BEST option?

A. Create a DAX measure
B. Extract → Year in Power Query
C. Convert the date to text
D. Use a conditional column

Correct Answer: B

Explanation:
Power Query provides built-in Extract options for date components such as Year, Month, and Day.


4. Creating Business Logic Columns

You want to classify sales as “High” when the amount is greater than 1,000 and “Low” otherwise. What should you use?

A. Replace values
B. Split column
C. Conditional column
D. Index column

Correct Answer: C

Explanation:
Conditional columns are designed for simple business logic and can be created through the UI without writing code.


5. Removing Hidden Characters

A text column contains hidden, non-printable characters that affect filtering. Which transformation should you apply?

A. Trim
B. Clean
C. Replace errors
D. Capitalize Each Word

Correct Answer: B

Explanation:
Clean removes non-printable characters that are not visible but can cause data issues.


6. Merging Text Values into One Column

You need to combine City and State columns into a single column called Location. What should you use?

A. Split Column
B. Replace Values
C. Merge Columns
D. Custom Column

Correct Answer: C

Explanation:
Merge Columns combines multiple columns into one using a specified delimiter.


7. When to Use a Custom Column

When should you create a Custom Column instead of a Conditional Column?

A. When no logic is required
B. When simple IF/ELSE logic is needed
C. When more complex formulas or functions are required
D. When renaming columns

Correct Answer: C

Explanation:
Custom columns use Power Query M code, allowing more complex logic than conditional columns.


8. Power Query vs DAX Calculated Columns

Which scenario is BEST suited for a DAX calculated column instead of a Power Query column?

A. Cleaning inconsistent text values
B. Splitting a column by delimiter
C. Creating a column dependent on model relationships
D. Removing leading spaces

Correct Answer: C

Explanation:
DAX calculated columns can reference model relationships, while Power Query columns cannot.


9. Creating Row Identifiers

You need to add a sequential number to each row to preserve order. What should you use?

A. Conditional column
B. Custom column
C. Index column
D. Replace values

Correct Answer: C

Explanation:
An Index Column assigns a sequential number to each row and is commonly used for sorting or tracking order.


10. Best Practice for Column Creation

Which is the BEST practice when creating and transforming columns?

A. Create all columns using DAX
B. Transform columns after publishing the report
C. Clean data before creating derived columns
D. Avoid renaming columns

Correct Answer: C

Explanation:
Derived columns should be created from clean, validated data to avoid compounding errors.


✅ PL-300 Exam Takeaways

  • Use Power Query for structural transformations
  • Use DAX calculated columns when logic depends on model context
  • Know when to split, merge, extract, or derive columns
  • Expect scenario-based questions testing tool choice and order of operations

Go back to the PL-300 Exam Prep Hub main page