Speed up slow Power BI reports
We measure where a report loses time, then speed up the model, DAX or refresh process. For Port of Amsterdam, we worked with Databricks and Power BI.
Port of Amsterdam policymakers use Databricks and Power BI to make data-based decisions about berths
Together with Port of Amsterdam, we developed a tool that measures historical berth usage and makes it easy to understand. This wasn’t a project about speeding things up; it shows how we build Power BI on top of a data platform.
Why does our report keep loading whenever someone clicks a slicer?
The report worked fine with one year of data. Now it contains more years of data, more visuals and more resource-intensive measures, and everyone has to wait. Buying more capacity only helps once you know which layer is causing the delay.
Four layers that can slow down a Power BI report, each with its own fixes
Measure each visual
Performance Analyzer breaks down each visual’s load time into DAX query, DirectQuery and rendering. We examine the slowest query in DAX query view.
A leaner model
Remove columns and historical data that no report uses, turn off automatic date tables, and separate facts from dimensions in a star schema.
Measures and pages
Use variables for repeated calculations, reduce the number of visuals per page, and move details to a drillthrough page rather than the overview.
Storage and refresh
Import, DirectQuery or composite models, incremental refresh and aggregations, supported by an underlying data platform such as Databricks at Port of Amsterdam.
We measure again after each change, so you can see what each adjustment achieved
-
Measure where the time goes
We use Performance Analyzer on the slowest pages and check model size and refresh time. That tells us which layer is slowing things down.
-
One change at a time
The model, measures, report design or storage: we change one thing at a time, so the effect of each step remains clear.
-
Record and monitor
We record the new timings alongside the old ones and agree guidelines for anyone who adds visuals or columns later.
Is the problem with our report, or with Power BI itself?
A good fit if
Users have to wait when opening or filtering reports, refreshes take longer than expected, or the model grows with each year of data. And you want to find the cause before buying more capacity.
Not a good fit if
The report is slow because the underlying question is wrong or the data is unreliable. In that case, start with the data model and definitions, not tuning.
What determines the scope
How many reports and models are slow, whether they query the source through DirectQuery, how large the fact tables are, and whether we can make changes to the source itself.
Shouldn’t we just add more capacity?
Sometimes. Capacity is a separate layer, as are the gateway and network. But if a table visual retrieves every row from a large table without filtering, extra capacity won’t solve that.
Which storage mode keeps your report fast: Import, DirectQuery or composite?
Import
Choose this if the data fits in memory and refreshing a few times a day is enough. We recommend it for most reports, with incremental refresh for large fact tables.
DirectQuery
Choose this if the data is too large to import or must always be up to date. Performance then depends on the data source: indexes, simple measures and few visuals.
Composite with aggregations
Choose this if summaries need to be fast and details are rarely needed. An imported aggregation table handles the totals, while the detail table stays in DirectQuery.
When you also build the platform behind Power BI, you can identify which layer is causing the slowdown more quickly
Data Science Lab has built data platforms and reporting solutions since 2016 as a Microsoft Partner and Databricks Partner. For Port of Amsterdam, we combined Databricks, real-time data and Power BI.

Your slowest report and the point where it slows down: that’s where the first conversation starts
Stef Stoelwinder
Business DevelopmentStef is your point of contact. In our first conversation, we’ll discuss which report is slow, what action triggers the slowdown and how large the model is.
E-mail info@datasciencelab.nl
Phone +31 (0)20 3636 724
Which Power BI report keeps you waiting the longest?
Tell us which report it is, its data source and when it runs slowly: when opening, filtering or refreshing. We’ll get back to you by email or arrange an initial conversation.
Message sent
Thanks for your message. We’ll be in touch as soon as possible.
Frequently asked questions
The cause is usually in one of the layers Microsoft identifies: the data source, the data model, the report design or the environment, including capacity, gateway and network. If Power BI is slow, first measure which layer is taking the time before changing anything.
If you want a new report designed this way from the outset, read about having a Power BI dashboard built.
Use Performance Analyzer in Power BI Desktop or when editing a report in the browser. For each visual, it shows how long the DAX query, a DirectQuery request, rendering and other tasks take, including after you click a slicer.
You can copy a visual’s query and run it in DAX query view. That way, you start improving Power BI performance with measurements.
Microsoft recommends a star schema: dimension tables for filtering and grouping, and fact tables for aggregation. You should also load only the columns and rows your reports actually use, turn off automatic date/time and calculate columns in Power Query rather than creating calculated columns where possible.
Text with many unique values compresses poorly. Read more about model design in having a data model built.
Put a calculation you need twice into a variable: Power BI then calculates it once. Microsoft shows how this makes a measure for year-on-year growth run faster.
For DirectQuery, Microsoft recommends starting with simple aggregations. Complex measures using CALCULATE can result in expensive queries on the source, as can relationships that filter in both directions.
Microsoft gives no fixed number, but recommends limiting the visuals on a page to those you need and moving details to drillthrough or tooltip pages. The more data a visual displays, the slower it loads; a table is therefore best given a Top N filter.
With DirectQuery, the number of concurrent queries is limited. When a page has many visuals, they are more likely to refresh one after another, making the whole page take longer.
With Import, the data is stored in compressed form in the model. With DirectQuery, each visual sends a query to the source, so performance depends on that source: indexes, complete keys and calculations already performed at the source.
A composite model combines both. An in-memory aggregation table then answers summary queries, while detailed queries go to the DirectQuery table.
Incremental refresh refreshes only recent partitions, filtered using the RangeStart and RangeEnd parameters. This works well only if the date filter folds back to the source. Query folding translates steps from Power Query into a query that the source executes itself.
If the filter does not fold, Power BI still retrieves every row. For information on gateways and refresh scheduling, see Power BI consultant.
Capacity is one layer. Smaller models use less capacity memory and refresh faster, so it pays to make them leaner first. Microsoft is phasing out Premium capacity on a per-capacity basis and recommends that new and existing customers consider Fabric capacity.
To find out how to move your workspaces, read moving from Power BI to Microsoft Fabric.
Does the cause lie deeper—in the model, the setup or the capacity?
- Have a Power BI dashboard builtA new dashboard using your own data sources, with a model that stays lightweight from the start.
- Have a data model builtConcepts, facts and dimensions defined in a single model that every report uses for its calculations.
- Power BI to FabricMove workspaces from Premium capacity to Fabric capacity, using Direct Lake where it makes sense.