Power BI Performance Optimization: Fixing Slow Dashboards at Enterprise Scale
By Errin O'Connor — April 2026
A Power BI dashboard that takes 30 seconds to load is a dashboard nobody uses. At enterprise scale — millions of rows, dozens of DAX measures, hundreds of users hitting the same capacity — performance problems compound fast. Reports that worked fine during development slow to a crawl in production. Users abandon self-service analytics and go back to requesting Excel exports. The investment in Power BI fails to deliver ROI. This guide covers the specific techniques EPC Group uses to diagnose and fix Power BI performance issues at enterprise scale.
Short answer: record the slow page in Performance Analyzer to see whether time goes to the DAX query, a DirectQuery source, or the visual. Fix DAX first (Boolean filters instead of FILTER over tables, variables, simpler iterators), then the model (star schema, fewer and lower-cardinality columns), then storage mode (Import, Direct Lake, or aggregations over DirectQuery). Only then size the capacity, using the Capacity Metrics app's throttling history.
Diagnose before you buy a fix. Start with the Power BI slow-report triage, which measures a slow report in five probes (visual, DAX, model, source and capacity) and names which one to fix. When the cause is a failing refresh, an overloaded semantic model or a capacity that throttles, the Power BI consulting service takes it from there; two anonymized, EPC-reported recovery examples show what that work looks like: a Power BI Report Server refresh fix for an agribusiness (2021) and an urgent semantic-model fix for a healthcare technology company (2025).
Last updated by Errin O'Connor, Founder & Chief AI Architect, EPC Group
Diagnosing Performance: Performance Analyzer and DAX Studio
Before optimizing anything, you need data. EPC Group starts every performance engagement with three diagnostic tools:
- Performance Analyzer (Power BI Desktop, Optimize ribbon; also in the service when editing a report) — records how long each visual takes, split into DAX query (the semantic model returning results), Direct query (the external source, for DirectQuery tables), Visual display (drawing the visual), and Other (preparing queries, waiting for other visuals to finish, background work). A large Other time usually means the page has too many visuals queuing behind each other, not a slow query.
- DAX Studio — a free external tool that connects to the Power BI semantic model and lets you execute DAX queries, view server timings (storage engine vs. formula engine), examine the query plan, and identify materialization points. For enterprise models, DAX Studio's server timing breakdown is indispensable — it shows you whether the storage engine (VertiPaq) is scanning too many rows or whether the formula engine is doing row-by-row iteration.
- Tabular Editor Best Practice Analyzer (BPA) — a rules engine that scans your semantic model for known anti-patterns: high-cardinality text columns in fact tables, bidirectional relationships, unhidden foreign keys, auto date/time tables, and more. EPC Group runs BPA on every model and treats its findings as the optimization backlog.
The diagnostic phase typically takes 2–3 days for a complex enterprise model and produces a prioritized list of fixes ranked by expected impact on load time.
DAX Optimization: The Biggest Performance Lever
In EPC Group's engagements, DAX is the most common root cause of slow dashboards. The VertiPaq storage engine is extremely fast at scanning compressed columnar data, but poorly written DAX forces the formula engine into row-by-row iteration — and the formula engine is single-threaded.
Key optimization patterns:
- Keep iterator row expressions simple —
SUMX(Sales, Sales[Qty] * Sales[Price])over columns of one table is usually resolved by the storage engine. Iterators get expensive when the row expression calls a measure or CALCULATE (a context transition per row) or reaches into other tables, which hands the work to the formula engine. Check DAX Studio server timings before rewriting, and don't add a calculated column just to avoid a simple SUMX: calculated columns cost memory on every row. - Avoid nested iterators —
SUMX(Products, CALCULATE(SUM(Sales[Amount])))creates a nested loop that scales as Products x Sales. Restructure to use SUMMARIZE or ADDCOLUMNS with a single iterator level. - Use variables (VAR/RETURN) — variables are evaluated once and cached. A measure that references
[Total Sales]three times in different IF branches evaluates that measure three times. Wrap it in a VAR and reference the variable instead. - Minimize CALCULATE filter overrides — every CALCULATE with REMOVEFILTERS or ALL modifies the filter context and can force the storage engine to scan additional data. Be precise:
REMOVEFILTERS(DimDate[Month])is better thanALL(DimDate)when you only need to clear the month filter. - Avoid DISTINCTCOUNT on text columns — DISTINCTCOUNT on a high-cardinality text column (like email addresses or order IDs stored as strings) is extremely expensive. If you must count distinct, consider hashing the text column into an integer in Power Query first.
- Pass Boolean filters, not FILTER over a table —
CALCULATE([Sales], FILTER('Product', 'Product'[Color] = "Red"))evaluates the condition row by row over the whole Product table.CALCULATE([Sales], KEEPFILTERS('Product'[Color] = "Red"))filters the column directly, and KEEPFILTERS keeps any existing Color filter instead of overwriting it. Microsoft's DAX guidance is to use FILTER only when the condition needs a measure, another table's columns, or an OR across columns.
EPC Group benchmarks every DAX measure before and after optimization using DAX Studio server timings. We document the results in a performance report showing the exact millisecond improvement per measure — no vague “it's faster” claims.
Storage Mode Selection: Import, DirectQuery, Composite, and Direct Lake
The choice of storage mode fundamentally determines your performance ceiling. Each mode has tradeoffs:
- Import — data loaded into VertiPaq's in-memory columnar engine. Highest query performance (sub-second for most visuals). Tradeoffs: scheduled refresh latency (data is only as fresh as the last refresh), memory consumption on the capacity, and the 1 GB limit per semantic model on Pro (higher on Premium and Fabric capacities). Best for: models that fit in memory and analytics that tolerate refresh latency.
- DirectQuery — queries are sent to the source system in real time. Data is always current. Tradeoffs: query performance depends entirely on the source system's speed, every visual interaction generates a query, and the source must handle concurrent query load from all Power BI users. Best for: real-time requirements, very large datasets that cannot fit in memory, or compliance requirements that prohibit data duplication.
- Composite — different tables in the same model use different storage modes. Large fact tables in DirectQuery, dimension tables in Import or Dual. Or Import aggregation tables paired with DirectQuery detail tables. Best for: enterprise models where most interactions are summaries and only drill-through needs the detail.
- Direct Lake (Fabric) — loads the columns a query needs from Delta tables in OneLake into the VertiPaq engine, so queries run at Import-like speed without a full Import refresh; a Direct Lake refresh (framing) only updates metadata. Two variants behave differently: Direct Lake on OneLake doesn't fall back to DirectQuery, while Direct Lake on SQL analytics endpoints falls back to DirectQuery for SQL views or when a capacity guardrail is exceeded. Guardrails (rows per table, files per table) depend on the F SKU. This is EPC Group's recommended default for new Fabric deployments.
Query Folding: The Silent Performance Killer
Query folding is Power Query's ability to push transformation steps back to the data source as native SQL. When folding works, the database does the filtering, joining, and aggregating — Power BI only receives the final result set. When folding breaks, Power Query downloads the raw data and processes it in-memory, which can be orders of magnitude slower.
Common folding breakers:
- Table.Buffer / List.Buffer — explicitly materializes data in memory, breaking all downstream folding.
- Custom M functions — unless the function can be translated to SQL, it breaks folding.
- Reordering steps incorrectly — a filter step before a merge folds; the same filter after a merge may not if the merge broke folding.
- Adding index columns — the Table.AddIndexColumn function has no SQL equivalent and breaks folding.
- Complex conditional columns — simple if/then/else conditions fold to CASE statements in SQL, but nested conditions with multiple table references may not.
How to audit: In Power Query Editor, right-click any step and select “View Native Query.” If the option is grayed out, folding has broken at or before that step. EPC Group audits every query in the model and restructures transformations to maintain folding as deep into the pipeline as possible.
The performance impact is dramatic. A Power Query that loads 50 million rows from SQL Server, filters to 2 million, and aggregates to 100K — with folding, the database returns 100K rows. Without folding, Power BI downloads all 50 million rows and processes them locally, with refresh time and memory to match.
Aggregation Tables: Instant Executive Dashboards Over Billion-Row Datasets
Aggregation tables are Power BI's mechanism for handling the “executive summary vs. detail drill-through” pattern at scale. The concept: create a pre-aggregated Import table at the granularity of your executive visuals (e.g., daily totals by region and product category) and let Power BI automatically route queries to it instead of the billion-row detail table.
Implementation steps:
- Identify the granularity needed for executive-level visuals (typically date + 2–3 dimensions).
- Create an aggregation table in Power Query (or a view at the source) that groups the detail table to that granularity.
- Set the aggregation table to Import and keep the detail table in DirectQuery (the Manage aggregations dialog requires a DirectQuery detail table). Set the shared dimension tables to Dual.
- In the Manage aggregations dialog, map each aggregation column to the detail column it summarizes with Sum, Count, Min, Max, or Count table rows. Distinct counts are served through a GroupBy entry on the key column.
- Leave the aggregation table hidden — the dialog hides it when you apply, and users query the detail table while Power BI routes to the aggregation.
The result: executive visuals answer from the in-memory aggregation table. When a user drills through to transaction detail, Power BI switches to DirectQuery against the detail table. This is how EPC Group delivers fast executive dashboards over datasets with hundreds of millions or billions of rows. On Fabric, Direct Lake tables don't support user-defined aggregations, so a Direct Lake model gets its speed from well-maintained Delta tables instead.
Model Design Best Practices for Performance
Beyond DAX and storage modes, the structure of the semantic model itself impacts performance:
- Star schema, always — fact tables connected to dimension tables via single-direction, many-to-one relationships. Avoid snowflake schemas and bidirectional relationships unless absolutely necessary. Bidirectional relationships force the engine to evaluate filters in both directions, increasing query complexity.
- Remove unused columns — every column consumes memory and slows scans. VertiPaq Analyzer (in DAX Studio) shows which columns use the most memory; remove the ones no measure, relationship, visual, or sort-by property uses. This is usually the quickest model-size win.
- Reduce cardinality — high-cardinality columns (unique IDs, timestamps with seconds, long text) compress poorly and slow scans. Round timestamps to the hour or day. Replace long text descriptions with shorter coded values and a lookup dimension. Hash unique IDs to integers.
- Avoid calculated columns on large tables — calculated columns are computed and stored in the model, consuming memory. They cannot be folded to the source. Move calculations to Power Query (where they can fold) or to the source database view.
- Disable Auto Date/Time — Power BI creates a hidden date table for every date column by default, consuming memory and adding unnecessary model complexity. Disable it in Options and use a single shared date dimension table.
For organizations using Microsoft Copilot for Power BI, a clean star schema with well-named tables, columns, and measures dramatically improves Copilot's ability to generate correct DAX and answer natural-language questions accurately.
Capacity Planning and Performance Monitoring
A perfectly optimized model can still be slow if the underlying capacity is undersized or oversubscribed. Microsoft's own note is that slow performance is more often the design of an item than capacity throttling, so fix the model first. EPC Group then addresses capacity through:
- Fabric Capacity Metrics app — the official Microsoft app for capacity utilization. Its utilization, throttling, and overages charts show which operations consumed the capacity and when smoothed usage crossed a throttling limit. EPC Group sets up capacity threshold alerts and reviews the throttling charts, not just averages.
- Right-sizing the SKU — size from the Capacity Metrics app's utilization and throttling history, not from user counts. Microsoft no longer sells new P SKUs; customers move to Fabric F SKUs (F64 is the P1 equivalent) at the end of their current agreement term.
- Workspace isolation — placing high-refresh datasets (real-time dashboards) in separate workspaces from heavy analytical models prevents resource contention. Critical and non-critical workloads should not share the same capacity if SLAs differ.
- Bursting, smoothing, and throttling (Fabric) — Fabric lets operations burst above the SKU and smooths their usage: interactive operations over 5 to 64 minutes, background operations over 24 hours. Throttling starts only after 10 minutes of future capacity is used up: first 20-second delays for new interactive requests, then rejections. To recover faster, scale the F SKU up temporarily or turn on capacity overage billing, which is charged at three times the normal rate. Autoscale applies only to legacy P capacities.
EPC Group includes ongoing capacity monitoring as part of our governance frameworks — performance degradation is tracked and addressed proactively rather than reactively when users start complaining.
EPC Group's Performance Optimization Engagement Model
Our Power BI Performance Sprint follows a structured 2–4 week cadence:
- Week 1: Diagnostic — Performance Analyzer recordings for all slow reports, DAX Studio server timing analysis, Tabular Editor BPA scan, query folding audit, capacity metrics review. Deliverable: prioritized optimization backlog with estimated impact per item.
- Week 2: DAX and model optimization — rewrite high-impact DAX measures, remove unused columns, reduce cardinality, restructure relationships. Every change benchmarked with before/after timings in DAX Studio.
- Week 3: Storage mode and infrastructure — implement Composite model or Direct Lake migration, configure aggregation tables, optimize Power Query for folding, right-size capacity. Re-benchmark all reports.
- Week 4: Governance and handoff — document performance standards, configure BPA rules as CI/CD checks, set up capacity monitoring alerts, train the internal team on performance best practices. Deliverable: performance governance playbook.
Frequently Asked Questions
Why is my Power BI dashboard slow even though the dataset is small?
Dataset size is rarely the bottleneck; DAX calculation complexity usually is. A small model with inefficient measures (nested iterators, measures called row by row, FILTER over whole tables) can be slower than a large model with well-written measures. Start with Performance Analyzer in Power BI Desktop: record the slow page and check, per visual, whether the time goes to the DAX query, a DirectQuery source query, visual display, or Other (waiting for other visuals and background work). In EPC Group's engagements, DAX is the most common root cause.
When should I use Import vs DirectQuery vs Composite?
Import is the default and usually the fastest: data is compressed into the VertiPaq engine and queries run in memory. Use it when the model fits the memory available to it (a semantic model on Pro is limited to 1 GB; Premium and Fabric capacities allow more) and scheduled refresh is fresh enough. DirectQuery sends every visual's query to the source, so it suits real-time requirements or data that cannot be copied, at the cost of source-side speed. Composite mixes both, for example Import aggregation tables over DirectQuery detail tables. On Microsoft Fabric, Direct Lake loads Delta tables from OneLake into VertiPaq on demand and gives Import-like query speed without a full Import refresh.
What is query folding and why does it matter?
Query folding means Power Query translates transformation steps into the source's own query language (for example SQL), so the source does the filtering and aggregating instead of the Power BI mashup engine. When a step can't be translated, folding stops and every later step runs in the mashup engine, which is far slower for large tables. Check each step with 'View Native Query' (or the query folding indicators) and move steps that break folding as late as possible.
How do aggregation tables improve dashboard performance?
An aggregation table is a pre-summarized table, usually in Import mode, that Power BI uses to answer high-level queries without touching the detail table. The detail table must be in DirectQuery for the Manage aggregations dialog. A daily sales aggregation answers the executive summary visuals from memory, and only a drill-through to line items reaches the DirectQuery transaction table. Power BI routes queries to the aggregation automatically when the grain matches. User-defined aggregations aren't supported on Direct Lake tables.
How much does a Power BI performance optimization engagement cost?
EPC Group's Power BI Performance Sprint is a fixed-fee, 2–4 week engagement scoped by the number of reports, semantic model complexity, and data source count. Deliverables include: Performance Analyzer diagnostic report, DAX optimization (rewritten measures with before/after benchmarks), storage mode recommendations, aggregation table implementation, query folding audit and fixes, and a governance playbook for maintaining performance as the model evolves. Every change is benchmarked before and after, so the improvement is measured, not estimated.
Primary sources
- Use Performance Analyzer to examine report performance — Microsoft Learn, accessed 2026-11-10
- Avoid using FILTER as a filter argument in DAX — Microsoft Learn, accessed 2026-11-10
- User-defined aggregations — Microsoft Learn, accessed 2026-11-10
- Direct Lake overview — Microsoft Learn, accessed 2026-11-10
- Understand capacity throttling and smoothing — Microsoft Learn, accessed 2026-11-10
- Power Query query folding — Microsoft Learn, accessed 2026-11-10
Fix Your Slow Power BI Dashboards
EPC Group's Power BI Performance Sprint diagnoses and fixes slow dashboards at enterprise scale — DAX optimization, storage mode migration, aggregation tables, query folding, and capacity right-sizing. Fixed-fee, with every change benchmarked before and after. Call (888) 381-9725 or request a consultation to get started.
Request a Performance Sprint