Tag: Analytics

Implement Time Intelligence Measures (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:
Model the data (25–30%)
--> Create model calculations by using DAX
--> Implement Time Intelligence Measures


Note that there are 10 practice questions (with answers and explanations) at the end of each topic. Also, there are 2 practice tests with 60 questions each available on the hub below all the exam topics.

Exam Context

Time intelligence is a core DAX competency on the PL-300 exam. Microsoft frequently tests a candidate’s ability to calculate values across time, such as year-to-date, prior period comparisons, rolling totals, and growth metrics.


What Are Time Intelligence Measures?

Time intelligence measures are DAX calculations that:

  • Analyze data over time
  • Compare values across different periods
  • Accumulate results over a date range

These measures rely on:

  • A proper date table
  • Correct relationships
  • The CALCULATE function

Prerequisites for Time Intelligence (Frequently Tested)

Before time intelligence will work correctly, the model must include:

1. A Dedicated Date Table

  • One row per date
  • Continuous date range (no gaps)
  • Marked as a Date table in Power BI

2. Proper Relationships

  • Date table related to fact tables
  • Relationship uses the date column (not datetime, if possible)

3. Correct Data Types

  • Date column must be of type Date
  • Not text or integer

⚠️ Exam Tip:
Many PL-300 questions are trick questions where time intelligence fails because one of these prerequisites is missing.


Role of CALCULATE in Time Intelligence

All built-in time intelligence functions work by modifying filter context using CALCULATE.

Example:

Sales YTD =
CALCULATE(
    [Total Sales],
    DATESYTD(Date[Date])
)

👉 CALCULATE changes the filter context to include all dates from the start of the year through the current date.


Common Time Intelligence Functions (PL-300 Focus)

Year-to-Date (YTD)

Sales YTD =
CALCULATE(
    [Total Sales],
    DATESYTD(Date[Date])
)

Month-to-Date (MTD)

Sales MTD =
CALCULATE(
    [Total Sales],
    DATESMTD(Date[Date])
)

Quarter-to-Date (QTD)

Sales QTD =
CALCULATE(
    [Total Sales],
    DATESQTD(Date[Date])
)


Previous Period Comparisons

Previous Year

Sales PY =
CALCULATE(
    [Total Sales],
    SAMEPERIODLASTYEAR(Date[Date])
)

Previous Month

Sales PM =
CALCULATE(
    [Total Sales],
    DATEADD(Date[Date], -1, MONTH)
)

Exam Insight:
SAMEPERIODLASTYEAR requires a continuous date table—a common failure point on the exam.


Rolling and Moving Averages

Rolling 12 Months

Sales Rolling 12M =
CALCULATE(
    [Total Sales],
    DATESINPERIOD(
        Date[Date],
        MAX(Date[Date]),
        -12,
        MONTH
    )
)

This pattern is commonly tested in scenario-based questions.


Growth and Variance Measures

Year-over-Year Growth

Sales YoY Growth =
[Total Sales] - [Sales PY]

Year-over-Year Percentage

Sales YoY % =
DIVIDE(
    [Total Sales] - [Sales PY],
    [Sales PY]
)

⚠️ Exam Tip:
Always use DIVIDE() instead of / to safely handle divide-by-zero scenarios.


Time Intelligence vs Custom Date Logic

Built-in Time IntelligenceCustom Logic
Requires date tableCan work without one
Simpler syntaxMore flexible
Optimized by engineMore complex
Preferred for PL-300Tested less often

👉 For PL-300, Microsoft prefers built-in time intelligence functions.


Common Mistakes (Often Tested)

  • Using time intelligence without marking a date table
  • Using text-based dates
  • Missing dates in the calendar
  • Using fact table dates instead of a shared date dimension
  • Expecting time intelligence to work in calculated columns

Best Practices for PL-300 Candidates

  • Always create and mark a common date table
  • Build reusable base measures
  • Use built-in time intelligence when possible
  • Validate results at different grain levels (year, month, day)
  • Avoid time intelligence in calculated columns

How This Appears on the Exam

Expect questions that:

  • Ask why a YTD or PY measure returns incorrect results
  • Test which function to use for a specific time comparison
  • Require selecting the correct DAX pattern
  • Identify missing prerequisites in a data model

Key Takeaways

  • Time intelligence is a high-value exam topic
  • Depends on a proper date table and relationships
  • Uses CALCULATE to modify filter context
  • Enables YTD, PY, rolling totals, and growth analysis
  • Frequently appears in scenario-based questions

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: Create Fact Tables and Dimension Tables (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 Fact Tables and Dimension Tables


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 table contains SalesAmount, Quantity, ProductName, ProductCategory, CustomerName, and OrderDate. Which columns should remain in the fact table?

A. ProductName, ProductCategory
B. CustomerName, OrderDate
C. SalesAmount, Quantity
D. ProductName, CustomerName

Correct Answer: C

Explanation:
Fact tables store numeric measures that are aggregated, such as SalesAmount and Quantity. Descriptive attributes belong in dimension tables.


Question 2

What is the primary purpose of a dimension table?

A. Store transaction-level data
B. Provide descriptive context for facts
C. Improve visual formatting
D. Store calculated measures

Correct Answer: B

Explanation:
Dimension tables provide descriptive attributes (such as names, categories, and dates) that are used to filter and group fact data.


Question 3

Which relationship type is most appropriate between a dimension table and a fact table?

A. Many-to-many
B. One-to-one
C. One-to-many
D. Bi-directional

Correct Answer: C

Explanation:
A dimension table contains unique keys, while the fact table contains repeated foreign keys, creating a one-to-many relationship.


Question 4

You create a Product dimension table but forget to remove duplicate ProductID values. What issue is most likely?

A. Measures will return blank values
B. Relationships cannot be created correctly
C. Visuals will fail to render
D. DAX functions will not work

Correct Answer: B

Explanation:
Dimension tables must have unique key values. Duplicates prevent proper one-to-many relationships.


Question 5

Which schema design is recommended by Microsoft for Power BI models?

A. Snowflake schema
B. Flat table schema
C. Galaxy schema
D. Star schema

Correct Answer: D

Explanation:
The star schema is recommended for performance, simplicity, and easier DAX calculations in Power BI.


Question 6

Where should fact and dimension tables typically be created?

A. In DAX measures
B. In Power Query during data preparation
C. In visuals after loading data
D. In the Power BI Service

Correct Answer: B

Explanation:
Fact and dimension tables should be shaped in Power Query before loading into the data model.


Question 7

A model uses the same Date table for Order Date and Ship Date. What type of dimension is this?

A. Slowly changing dimension
B. Degenerate dimension
C. Role-playing dimension
D. Bridge table

Correct Answer: C

Explanation:
A role-playing dimension is used multiple times in different roles, such as Order Date and Ship Date.


Question 8

Which is a valid reason not to split a dataset into fact and dimension tables?

A. The dataset is extremely small and static
B. The dataset contains numeric measures
C. The model requires relationships
D. The data will be refreshed regularly

Correct Answer: A

Explanation:
For very small or simple datasets, splitting into facts and dimensions may add unnecessary complexity.


Question 9

What is the primary performance benefit of separating fact and dimension tables?

A. Faster visual rendering due to fewer measures
B. Reduced memory usage and simpler filter paths
C. Automatic indexing of columns
D. Improved DirectQuery support

Correct Answer: B

Explanation:
Star schemas reduce duplication of descriptive data and create efficient filter paths, improving performance.


Question 10

Which modeling mistake often leads to the unnecessary use of bi-directional relationships?

A. Using too many measures
B. Poor star schema design
C. Too many dimension tables
D. Using calculated columns

Correct Answer: B

Explanation:
Bi-directional relationships are often used to compensate for poor model design. A clean star schema usually requires only single-direction filtering.


Final Exam Tips for This Topic

  • Measures → Fact tables
  • Descriptive attributes → Dimension tables
  • Use Power Query to shape tables before modeling
  • Ensure unique keys in dimension tables
  • Prefer star schema over flat or snowflake models
  • Know when not to over-model

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

Practice Questions: Identify when to use reference or duplicate queries and the resulting impact (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
--> Identify when to use reference or duplicate queries and the resulting impact


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

You have a query that cleans and standardizes sales data. You need to create several dimension tables from this cleaned dataset. Which option should you use?

A. Duplicate the query for each dimension
B. Reference the query for each dimension
C. Import the source data multiple times
D. Merge the query with itself

Correct Answer: B

Explanation:
Referencing allows multiple tables to inherit the same cleaned logic from a single base query. This ensures consistency and reduces repeated transformation steps, which is a recommended best practice for production models.


Question 2

What is the primary difference between a referenced query and a duplicated query?

A. Referenced queries refresh faster
B. Duplicated queries do not support transformations
C. Referenced queries depend on the original query
D. Duplicated queries cannot be loaded to the model

Correct Answer: C

Explanation:
A referenced query is dependent on its source query and will reflect any changes made to it. A duplicated query is an independent copy with no dependency.


Question 3

A change made to a base query causes multiple downstream queries to fail during refresh. What is the most likely reason?

A. The downstream queries were duplicated
B. The downstream queries were referenced
C. The model relationships were deleted
D. The data source credentials expired

Correct Answer: B

Explanation:
Referenced queries rely on the base query. If a breaking change is introduced (such as removing or renaming a column), all dependent referenced queries may fail.


Question 4

When should you duplicate a query instead of referencing it?

A. When you want transformations to stay consistent
B. When creating multiple dimension tables
C. When experimenting with major changes
D. When reducing refresh dependencies

Correct Answer: C

Explanation:
Duplicating a query is ideal when testing or experimenting, because changes will not affect other queries or downstream dependencies.


Question 5

Which impact is most commonly associated with excessive query duplication?

A. Improved refresh reliability
B. Reduced data volume
C. Increased maintenance effort
D. Better data lineage visibility

Correct Answer: C

Explanation:
Duplicating queries can lead to repeated transformation logic, making the model harder to maintain and increasing the risk of inconsistent data shaping.


Question 6

How does Power BI’s View Lineage represent referenced queries?

A. As independent branches
B. As disconnected tables
C. As upstream and downstream dependencies
D. As hidden queries

Correct Answer: C

Explanation:
Referenced queries appear as downstream dependencies in View Lineage, clearly showing how data flows from base queries to derived queries.


Question 7

You want to ensure that a change to data cleansing logic automatically applies to all derived tables. What should you do?

A. Duplicate the query
B. Reference the query
C. Disable query loading
D. Create calculated tables

Correct Answer: B

Explanation:
Referencing ensures that any change to the base query propagates to all dependent queries automatically.


Question 8

Which of the following is a common mistake when using referenced queries?

A. Using them for experimentation
B. Using them for dimension creation
C. Forgetting that changes propagate downstream
D. Using them to centralize data cleaning

Correct Answer: C

Explanation:
A frequent mistake is forgetting that changes to a referenced base query can unintentionally affect multiple dependent queries.


Question 9

Which approach generally results in a cleaner and more maintainable data model?

A. Duplicating all queries
B. Referencing a well-designed base query
C. Importing data separately for each table
D. Performing transformations in DAX

Correct Answer: B

Explanation:
Using a base query with referenced downstream queries centralizes transformation logic and simplifies maintenance, which aligns with Microsoft’s recommended modeling practices.


Question 10

Which scenario best illustrates when NOT to use a referenced query?

A. Creating a product dimension
B. Applying consistent formatting rules
C. Testing a new transformation approach
D. Creating multiple tables from a single source

Correct Answer: C

Explanation:
Referenced queries should not be used when testing or experimenting with transformations, because changes may impact other dependent queries. Duplicating is safer in this case.


PL-300 Exam Tip

Expect Microsoft to test:

  • Dependency awareness
  • Impact of changes
  • Maintainability vs flexibility
  • Correct use of Reference vs Duplicate

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

Practice Questions: Merge and append queries (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
--> Merge and append queries


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

You receive three Excel files containing sales data for Q1, Q2, and Q3. Each file has identical columns. You want to analyze total sales for the year. What is the BEST approach?

A. Merge the queries using an inner join
B. Merge the queries using a left outer join
C. Append the queries
D. Create relationships between the tables

Correct Answer: C

Explanation:
Appending stacks rows from tables with the same structure. Since the quarterly files have identical columns, Append is the correct transformation. Merge is used for combining columns, not rows.


Question 2

You have a Sales table with ProductID and a Products table with ProductID and ProductName. You want to add product names to the Sales table. Which transformation should you use?

A. Append queries
B. Merge queries with a left outer join
C. Merge queries with a full outer join
D. Create a calculated column

Correct Answer: B

Explanation:
This is a classic lookup scenario. A left outer merge keeps all sales rows while adding matching product details.


Question 3

What is the primary difference between Merge and Append in Power Query?

A. Merge works only with SQL sources
B. Append combines columns; merge combines rows
C. Merge combines rows; append combines columns
D. Merge combines columns; append combines rows

Correct Answer: D

Explanation:
Merge combines tables side-by-side (columns) based on keys, while append stacks tables top-to-bottom (rows).


Question 4

You append two tables with similar but not identical column names. What happens?

A. Power Query fails with an error
B. Columns are automatically renamed
C. New columns are created with null values where data doesn’t exist
D. Only matching columns are appended

Correct Answer: C

Explanation:
When appending, Power Query keeps all columns and fills missing values with nulls, which can create sparse tables if structures don’t align.


Question 5

Which join type returns only rows that do NOT have matching values between two tables?

A. Inner join
B. Left outer join
C. Anti join
D. Full outer join

Correct Answer: C

Explanation:
Anti joins return non-matching rows and are often used for data validation and quality checks — a subtle but testable concept in PL-300.


Question 6

A merge operation produces duplicate rows unexpectedly. What is the MOST likely cause?

A. Append was used instead of merge
B. The join key is not unique
C. The data types are mismatched
D. The wrong join type was selected

Correct Answer: B

Explanation:
If the join key appears multiple times in either table, a merge can create many-to-many matches, resulting in duplicated rows.


Question 7

Where should merge and append operations typically be performed for best model performance?

A. In DAX measures
B. In Power BI visuals
C. In the Power Query Editor
D. In calculated tables

Correct Answer: C

Explanation:
Merge and append are data transformation tasks and should be done in Power Query before loading data into the model.


Question 8

You want to combine historical and current transaction tables that represent the same data structure. What should you do FIRST?

A. Merge the tables
B. Append the tables
C. Create a relationship
D. Create a calculated column

Correct Answer: B

Explanation:
Historical and current tables with the same structure should be appended to form a single fact table before modeling.


Question 9

After merging two queries, the related table appears as a column with the word “Table” in each row. What must you do next?

A. Change the column data type
B. Expand the merged column
C. Rename the column
D. Create a relationship

Correct Answer: B

Explanation:
After a merge, you must expand the nested table to select the columns you want to bring into the main query.


Question 10

Which scenario BEST indicates that append should NOT be used?

A. Combining monthly sales files
B. Combining yearly budget tables
C. Adding customer details to a sales table
D. Combining regional sales data

Correct Answer: C

Explanation:
Appending is for stacking similar datasets. Adding customer details requires merge, not append. This aligns with the PL-300 best practice: know when not to append.


Key PL-300 Takeaways

  • Append = same structure, more rows
  • Merge = related tables, more columns
  • Left outer join is the most common merge type
  • Always validate keys and data types
  • Do transformations in Power Query, not DAX

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

Practice Questions: Identify and Create Appropriate Keys for Relationships (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
--> Identify and Create Appropriate Keys for Relationships


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

You want to create a one-to-many relationship between a Sales table and a Customers table. Which column should be used as the key on the one side?

A. Customer Name
B. Customer Email
C. CustomerID
D. Sales Amount

Correct Answer: C

Explanation:
The key on the “one” side must be unique and non-null. CustomerID is a stable identifier designed to uniquely identify customers.


Question 2

Power BI automatically creates a many-to-many relationship between two tables. What is the MOST likely cause?

A. The relationship is inactive
B. The join direction is incorrect
C. Duplicate values exist in the key columns
D. The relationship was created in DAX

Correct Answer: C

Explanation:
Many-to-many relationships occur when neither side of the relationship has unique values. This is often caused by poor key design or missing dimension tables.


Question 3

You need to create a relationship using two columns (OrderDate and StoreID) because no single column is unique. What should you do?

A. Create two relationships
B. Use a many-to-many relationship
C. Create a composite key in Power Query
D. Use a calculated column in DAX

Correct Answer: C

Explanation:
Power BI does not support native composite relationships. You must combine columns into a single key—preferably in Power Query before loading data.


Question 4

A relationship fails to work even though the key values appear identical. What should you check FIRST?

A. Relationship cardinality
B. Column data types
C. Storage mode
D. Table visibility

Correct Answer: B

Explanation:
Keys must have the same data type on both sides. Text vs numeric mismatches are a common cause of broken relationships.


Question 5

Which table should typically contain foreign keys in a star schema?

A. Dimension tables
B. Fact tables
C. Bridge tables only
D. Lookup tables only

Correct Answer: B

Explanation:
In a star schema, fact tables contain foreign keys that reference the primary keys in dimension tables.


Question 6

Which of the following is the BEST candidate for a primary key in a dimension table?

A. Product Name
B. Product Category
C. ProductID
D. Product Description

Correct Answer: C

Explanation:
Primary keys must be unique, stable, and non-descriptive. IDs are ideal, while names and descriptions are subject to change and duplication.


Question 7

You discover duplicate values in a dimension table’s key column. What is the BEST next step?

A. Enable many-to-many relationships
B. Remove duplicates or redesign the dimension
C. Use bidirectional filtering
D. Create a calculated table

Correct Answer: B

Explanation:
Dimension tables must have unique keys. Allowing duplicates introduces ambiguity and breaks proper filter propagation.


Question 8

Where should keys ideally be created or cleaned for best model performance?

A. In DAX measures
B. In calculated columns
C. In Power Query
D. In Power BI visuals

Correct Answer: C

Explanation:
Keys should be created and cleaned before data is loaded. Power Query is the correct environment for shaping and preparing keys.


Question 9

Which situation MOST strongly indicates that a surrogate key should be used?

A. A column contains null values
B. No stable unique identifier exists
C. The table contains many rows
D. The table is a fact table

Correct Answer: B

Explanation:
Surrogate keys are often introduced when natural keys are missing, unstable, or composite, enabling reliable relationships.


Question 10

Why are descriptive columns (such as names or emails) poor choices for relationship keys?

A. They increase storage size
B. They slow down visuals
C. They are not guaranteed to be unique or stable
D. They cannot be indexed

Correct Answer: C

Explanation:
Descriptive fields can change, contain duplicates, or include formatting inconsistencies, making them unreliable as relationship keys.


Key PL-300 Takeaways

  • Keys must be unique, non-null, and stable
  • Dimension tables define the one side
  • Fact tables contain foreign keys
  • Composite keys must be explicitly created
  • Poor key design leads to incorrect results
  • Prepare keys in Power Query, not DAX

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

Practice Questions: Configure Data Loading for Queries (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
--> Configure Data Loading for Queries


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

You create a Power Query that cleans raw data and is referenced by several other queries. The query should not appear as a table in the data model. What should you do?

A. Hide the table in Report View
B. Disable Load for the query
C. Delete the query after use
D. Set the query to DirectQuery mode

Correct Answer: B

Explanation:
Staging or helper queries should have Enable Load turned off so they don’t create unnecessary tables in the data model.


Question 2

Which setting determines whether a Power Query is loaded into the Power BI data model?

A. Include in report refresh
B. Enable Load
C. Query folding
D. Incremental refresh

Correct Answer: B

Explanation:
The Enable Load option controls whether a query results in a table in the data model.


Question 3

You disable load for a query that other queries reference. What is the impact?

A. Dependent queries will fail
B. The query is deleted
C. The query still runs but does not load into the model
D. Relationships are automatically removed

Correct Answer: C

Explanation:
Disabling load does not prevent the query from executing. It simply prevents it from creating a table in the model.


Question 4

A dataset contains historical data spanning 10 years and refresh times are very slow. What configuration would MOST improve refresh performance?

A. Disable query folding
B. Hide the table from report view
C. Enable incremental refresh
D. Convert the table to DirectQuery

Correct Answer: C

Explanation:
Incremental refresh limits refresh operations to new or changed data, dramatically improving performance for large datasets.


Question 5

Which requirement must be met before configuring incremental refresh?

A. The table must use Import mode
B. The table must contain a Date/Time column
C. The query must be disabled for load
D. The model must use DirectQuery

Correct Answer: B

Explanation:
Incremental refresh requires a Date/Time column to define data partitions using parameters like RangeStart and RangeEnd.


Question 6

Why is it a best practice to disable load for staging queries?

A. It improves DAX performance
B. It reduces the number of visuals
C. It reduces model size and complexity
D. It enables bidirectional filtering

Correct Answer: C

Explanation:
Loading only final tables keeps the model lean, efficient, and easier to maintain — a key PL-300 principle.


Question 7

Which Power BI feature visually shows how queries depend on each other?

A. Model View
B. Query Diagnostics
C. Query Dependencies
D. Performance Analyzer

Correct Answer: C

Explanation:
Query Dependencies provides a visual map showing which queries reference others, helping validate load configuration decisions.


Question 8

Which action helps preserve query folding and improve data loading performance?

A. Creating calculated columns
B. Filtering data early in Power Query
C. Disabling load for fact tables
D. Hiding columns in Data View

Correct Answer: B

Explanation:
Applying filters early allows Power Query to push transformations back to the data source, improving performance during load.


Question 9

A query is hidden from Report View but still increases dataset size. Why?

A. Hidden tables still load into the model
B. Hidden tables are cached
C. Hidden tables are duplicated
D. Hidden tables disable query folding

Correct Answer: A

Explanation:
Hiding a table only affects visibility. It does not prevent data from being loaded into the model.


Question 10

Which configuration prevents a query from refreshing but keeps it in the model?

A. Disable Load
B. Remove the query
C. Uncheck “Include in report refresh”
D. Convert to DirectQuery

Correct Answer: C

Explanation:
Unchecking Include in report refresh keeps the table in the model but excludes it from refresh operations.


Key PL-300 Takeaways

  • Enable Load controls whether a query creates a model table
  • Disable load for staging and helper queries
  • Incremental refresh is critical for large datasets
  • Query folding affects how data is loaded
  • Hidden tables still consume memory

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

Practice Questions: Configure table and 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:
Model the data (25–30%)
--> Design and implement a data model
--> Configure table and column properties


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

You notice that a column containing Customer IDs is being summed in report visuals by default.
What is the best way to prevent this behavior?

A. Change the data type to Text
B. Hide the column
C. Set Default Summarization to Do not summarize
D. Create a measure instead

Correct Answer: C

Explanation:
Default Summarization controls how numeric columns aggregate in visuals. ID columns should not be summed, so setting them to Do not summarize prevents incorrect totals while still allowing the column to be used where appropriate.


Question 2

A report displays month names alphabetically instead of chronologically.
Which column property should you configure to correct this?

A. Data Category
B. Default Summarization
C. Sort By Column
D. Column Visibility

Correct Answer: C

Explanation:
The Sort By Column property allows a text column (Month Name) to be sorted using a numeric column (Month Number), ensuring correct chronological order.


Question 3

You want to prevent report authors from accidentally using surrogate key columns in visuals.
What should you do?

A. Change the data type
B. Hide the columns
C. Disable summarization
D. Remove the columns from the model

Correct Answer: B

Explanation:
Hiding columns removes them from the Fields pane while keeping them available for relationships and internal model use.


Question 4

A column containing website URLs should appear as clickable links in reports.
Which property must be configured?

A. Data Type
B. Format
C. Data Category
D. Default Summarization

Correct Answer: C

Explanation:
Setting the Data Category to Web URL enables Power BI to render values as clickable links in visuals.


Question 5

You are preparing a shared dataset for enterprise use. Users frequently ask what certain fields represent.
Which feature best addresses this issue?

A. Column formatting
B. Column descriptions
C. Data categories
D. Column visibility

Correct Answer: B

Explanation:
Descriptions provide tooltips in Power BI Desktop and Service, improving documentation and usability without affecting calculations.


Question 6

Which column should typically have Default Summarization set to “Do not summarize”?

A. Sales Amount
B. Quantity Sold
C. Discount Percentage
D. Customer ID

Correct Answer: D

Explanation:
Identifiers should never be aggregated. Summing or averaging IDs produces meaningless results.


Question 7

You want a column representing cities to work correctly in map visuals.
Which property should you configure?

A. Sort By Column
B. Data Category
C. Format
D. Column Visibility

Correct Answer: B

Explanation:
Setting the Data Category to City helps Power BI geocode the data correctly for map visuals.


Question 8

Does hiding a table or column improve model performance?

A. Yes, it reduces memory usage
B. Yes, it reduces refresh time
C. No, it only affects usability
D. Only for calculated columns

Correct Answer: C

Explanation:
Hiding objects only impacts the user interface. It does not affect performance, refresh time, or memory usage.


Question 9

Which table type most commonly contains hidden key columns and visible descriptive attributes?

A. Fact table
B. Dimension table
C. Bridge table
D. Calculated table

Correct Answer: B

Explanation:
Dimension tables expose descriptive fields (Name, Category) while hiding primary keys used only for relationships.


Question 10

A numeric column representing profit margin (percentage) is being summed in visuals, causing incorrect results.
What is the best configuration?

A. Change the data type to Text
B. Set Default Summarization to Average or Do not summarize
C. Hide the column
D. Convert it to a measure

Correct Answer: B

Explanation:
Percentages are non-additive. Changing the default summarization prevents misleading totals while keeping the column usable.


Key PL-300 Exam Takeaways

  • Default Summarization is frequently tested
  • Sort By Column is essential for time-based attributes
  • Data Category impacts maps and URLs
  • Hiding fields improves usability, not performance
  • Descriptions matter for shared and certified datasets

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

Practice Questions: Implement Role-Playing Dimensions (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:
Model the data (25–30%)
--> Design and implement a data model
--> Implement Role-Playing Dimensions


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 Sales table contains OrderDate, ShipDate, and DeliveryDate. All three columns reference the same Date dimension. What is the recommended modeling approach?

A. Create one Date table and mark two relationships inactive
B. Use calculated columns to combine the dates
C. Duplicate the Date dimension for each role
D. Use USERELATIONSHIP in every measure

Correct Answer: C

Explanation:
Duplicating the Date dimension allows all relationships to remain active, avoids complex DAX, and creates a clearer and more intuitive model—this is the preferred PL-300 approach.


Question 2

Why is using a single Date table with multiple inactive relationships generally discouraged?

A. It prevents refresh
B. It increases storage requirements
C. It requires explicit DAX to activate filters
D. It violates star schema rules

Correct Answer: C

Explanation:
Inactive relationships do not filter visuals automatically. Measures must use USERELATIONSHIP(), increasing complexity and risk of errors.


Question 3

Which DAX function is required when using an inactive relationship?

A. CROSSFILTER
B. TREATAS
C. RELATED
D. USERELATIONSHIP

Correct Answer: D

Explanation:
USERELATIONSHIP() temporarily activates an inactive relationship within a calculation.


Question 4

A report user wants to analyze sales by both Order Date and Ship Date using slicers. What model design best supports this?

A. One Date table with calculated columns
B. One Date table with inactive relationships
C. Two duplicated Date dimension tables
D. A single Date table with bidirectional filtering

Correct Answer: C

Explanation:
Duplicated role-playing dimensions allow independent slicers that filter correctly without special DAX logic.


Question 5

Which of the following is a common example of a role-playing dimension?

A. Product Category
B. Calendar Date
C. Fact table surrogate keys
D. Measure tables

Correct Answer: B

Explanation:
Date dimensions commonly play multiple roles such as Order Date, Ship Date, and Due Date.


Question 6

What is the primary benefit of role-playing dimensions in a Power BI model?

A. Reduced data refresh time
B. Smaller model size
C. Improved filter clarity and usability
D. Automatic time intelligence

Correct Answer: C

Explanation:
Role-playing dimensions provide clear business meaning and ensure intuitive filtering behavior in reports.


Question 7

Which action should be taken after duplicating a dimension table for a role-playing scenario?

A. Enable bidirectional filters
B. Rename the table to reflect its role
C. Disable data load
D. Hide all columns

Correct Answer: B

Explanation:
Renaming the table (e.g., Date – Order, Date – Ship) improves model readability and user understanding—important for exam and real-world models.


Question 8

What is the impact of duplicating a dimension table on model performance?

A. Significant performance degradation
B. No change in filtering behavior
C. Slight increase in model size with minimal impact
D. Increased query execution time for all visuals

Correct Answer: C

Explanation:
Duplicated dimensions slightly increase model size but typically have negligible performance impact, especially compared to the benefits.


Question 9

Which scenario most strongly indicates the need for role-playing dimensions?

A. A fact table with multiple numeric measures
B. A dimension table with many attributes
C. A fact table with multiple foreign keys to the same dimension
D. A model with many-to-many relationships

Correct Answer: C

Explanation:
Multiple foreign keys pointing to the same dimension is the classic role-playing dimension scenario.


Question 10

Which modeling choice is most likely to cause confusion for report consumers?

A. Duplicating dimensions with clear names
B. Using inactive relationships without explanation
C. Using a star schema
D. Hiding surrogate keys

Correct Answer: B

Explanation:
Inactive relationships do not filter automatically and can lead to confusing or incorrect visuals if not carefully managed.


Exam Tips for This Topic 🧠

  • When in doubt, duplicate the dimension
  • Avoid unnecessary USERELATIONSHIP() usage
  • Look for questions involving multiple dates or roles
  • Favor clarity and simplicity over clever DAX
  • Think from a report consumer’s perspective

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

Practice Questions: Define a Relationship’s Cardinality and Cross-Filter Direction (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:
Model the data (25–30%)
--> Design and implement a data model
--> Define a Relationship's Cardinality and Cross-Filter Direction


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

You are designing a star schema with a Sales fact table and a Product dimension table. Which relationship configuration is recommended?

A. Many-to-many with bi-directional filtering
B. One-to-many with single-direction filtering
C. One-to-one with single-direction filtering
D. Many-to-one with bi-directional filtering

Correct Answer: B

Explanation:
A star schema should use a one-to-many relationship from the dimension (Product) to the fact (Sales) with single-direction filtering for predictable results and optimal performance.


Question 2

When should bi-directional cross-filtering be used?

A. In all relationships by default
B. Only for dimension-to-dimension relationships
C. When complex filtering across tables is required
D. Only in one-to-many relationships

Correct Answer: C

Explanation:
Bi-directional filtering should be used only when necessary, such as in many-to-many or fact-to-fact scenarios, because it can introduce ambiguity and performance issues.


Question 3

What is the most common cause of a many-to-many relationship?

A. Missing primary keys
B. Duplicate values on both sides of the relationship
C. Using calculated columns
D. Incorrect data types

Correct Answer: B

Explanation:
Many-to-many relationships occur when both tables contain duplicate values in the join column.


Question 4

A dimension table contains duplicate keys. What is the best solution?

A. Enable bi-directional filtering
B. Change the relationship to many-to-many
C. Remove duplicates or create a bridge table
D. Ignore the issue

Correct Answer: C

Explanation:
Dimension tables should contain unique keys. Removing duplicates or introducing a bridge table preserves correct aggregation behavior.


Question 5

Which cross-filter direction prevents a fact table from filtering a dimension table?

A. Both
B. None
C. Single
D. Auto

Correct Answer: C

Explanation:
Single-direction filtering allows filters to flow from the one-side (dimension) to the many-side (fact) only.


Question 6

What is a risk of using bi-directional relationships excessively?

A. Reduced model size
B. Automatic time intelligence
C. Circular dependencies and ambiguous filters
D. Improved query performance

Correct Answer: C

Explanation:
Bi-directional filtering can create ambiguous filter paths, circular dependencies, and incorrect results if overused.


Question 7

You have two fact tables that must be analyzed together. What relationship design is most appropriate?

A. One-to-many with single direction
B. Many-to-many with bi-directional filtering
C. One-to-one with single direction
D. No relationship

Correct Answer: B

Explanation:
Fact-to-fact analysis typically requires many-to-many relationships with bi-directional filtering, often via a bridge table.


Question 8

Why are one-to-one relationships uncommon in Power BI models?

A. They are not supported
B. They cause performance issues
C. Tables can often be merged instead
D. They require bi-directional filtering

Correct Answer: C

Explanation:
One-to-one relationships often indicate the tables could be merged, simplifying the model.


Question 9

What is the default cross-filter direction for a one-to-many relationship in Power BI?

A. Both
B. Single
C. None
D. Auto

Correct Answer: B

Explanation:
Power BI defaults to single-direction filtering from the one-side to the many-side.


Question 10

A report returns inflated totals after enabling bi-directional filtering. What is the most likely cause?

A. Incorrect data types
B. Duplicate measures
C. Ambiguous filter propagation
D. Missing relationships

Correct Answer: C

Explanation:
Bi-directional filtering can cause filters to propagate through multiple paths, leading to double-counting or inflated results.


Key Exam Reminders 🧠

  • Default to one-to-many + single direction
  • Use bi-directional filtering sparingly
  • Watch for duplicate keys
  • Many-to-many ≠ shortcut
  • Think in terms of filter flow, not just connectivity

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