Improve DirectQuery Performance Without Changing the Data Source: Use Aggregations
Your Power BI dataset uses DirectQuery to a SQL Server data warehouse. Users report that reports are slow. You need to improve performance without changing the data source. What should you do?
Quick Answer
Aggregations are the answer because they let Power BI intercept and answer many report queries using a small, pre-summarized table instead of sending every request straight through to the SQL Server data warehouse, which is exactly the kind of performance gain this scenario needs without touching the source itself. A DirectQuery report normally sends a live query to the source every time a visual needs data, so when the source is large or the network round-trip is slow, users feel it directly as report lag. By building an aggregated table at a higher granularity and letting it serve as a stand-in for the detailed DirectQuery table whenever a query can be satisfied at that summary level, Power BI only falls back to the full DirectQuery request for the rare cases that need row-level detail. This keeps the underlying data source and connection mode completely unchanged, which matters here since the requirement is explicitly to improve performance without modifying the source. The general principle to take away is that DirectQuery performance problems are often solved inside Power BI itself, through techniques like aggregations that reduce how often and how much data has to be pulled live from the source, rather than by upgrading the source or switching the whole model to Import mode.
⚠ Common exam trap
Many exam-takers assume performance improvements must come from switching to Import mode or tuning the gateway, but the Aggregations feature is specifically designed to optimize DirectQuery performance without altering the source system.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create aggregated tables in Power BI using the Aggregations feature.
Creating aggregated tables in Power BI using the Aggregations feature allows you to pre-summarize data at a higher granularity while still using DirectQuery. This reduces the amount of data queried from the SQL Server data warehouse, improving report performance without changing the underlying data source or switching to Import mode.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Switch the dataset to Import mode.
Why it's wrong here
Import mode is a different storage mode, not a performance fix for DirectQuery.
- ✗
Disable the 'Enable query reduction' option in Power BI Desktop.
Why it's wrong here
Disabling query reduction may increase the number of queries.
- ✓
Create aggregated tables in Power BI using the Aggregations feature.
Why this is correct
Aggregations reduce the amount of data queried from the source.
- ✗
Increase the memory limit of the on-premises data gateway.
Why it's wrong here
Memory limit does not affect DirectQuery performance.
Go deeper
Related to this question
About these practice questions
One of 217 original PL-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on PL-300
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. You have a Power BI dataset that uses DirectQuery to a Snowflake data warehouse. Users report that reports are slow. You need to improve query performance without changing the data source. What should you configure?
easy- A.Enable Query Folding in Power Query
- B.Change the dataset to Import mode
- C.Increase the number of concurrent queries in Power BI Service
- ✓ D.Create aggregations in the Power BI model
Why D: Creating aggregations in the Power BI model allows pre-summarized data to be stored in memory, reducing the volume of queries sent to Snowflake via DirectQuery. This improves performance without altering the data source, as aggregations can serve high-level queries from cached data while falling back to DirectQuery for detailed queries.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PL-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-300 exam.