Study Guide
Debugging Slow DAX: Using Performance Analyzer and DAX Studio
By Dr. Rosario Feghali · November 6, 2026 · 8 min read
"This report used to be fast" is one of the most common things I hear from candidates and clients alike. The instinct is almost always to start rewriting measures — but rewriting DAX before you know which visual is slow, and why, is guessing. The actual process is measure first, diagnose second, fix last. Here's the workflow I use, and it's also exactly the kind of reasoning PL-300's "Model the data" domain expects: given a performance problem, can you identify where it actually comes from.
Step 1: Find the slow visual with Performance Analyzer
Performance Analyzer is built into Power BI Desktop — no install required. Open it from View → Performance analyzer, click Start recording, then refresh the visuals (or interact with a slicer) to trigger them.
For every visual, it reports three numbers:
- DAX query — time spent waiting on the model to answer the query
- Visual display — time spent rendering the visual itself once the data is back
- Other — everything else (waiting on other visuals, cross-filtering, etc.)
This split matters because the fix is completely different depending on which number is large. A big Visual display time on a table with 50,000 unmodified rows is a report-design problem — summarize, filter, or paginate it. A big DAX query time is a modeling or measure problem, and that's the one worth taking into DAX Studio.
Right-click any row in Performance Analyzer and choose Copy query — this copies the exact DAX query Power BI sent to the engine for that visual, which is what you'll paste into DAX Studio next.
Step 2: Open the query in DAX Studio
DAX Studio is a free, independent tool (not a Microsoft product, but widely used alongside Power BI and built by members of the same analytics community that built the engine itself). Once installed, it shows up automatically in Power BI Desktop's External Tools ribbon, and launching it from there connects it straight to your open model — no connection string needed.
Paste the query you copied from Performance Analyzer, turn on Server Timings in the DAX Studio ribbon, and run it. This is the step that actually tells you why a query is slow, not just that it is.
Step 3: Read the Formula Engine / Storage Engine split
Server Timings breaks the query's execution time into two engines, and this split is the heart of DAX performance diagnosis:
- Storage Engine (SE) — VertiPaq retrieving and aggregating compressed data. SE work is generally fast and scales well; it's what the engine is built to do.
- Formula Engine (FE) — single-threaded logic that VertiPaq can't push down into storage queries: row-by-row iteration, context transition, and anything the engine has to compute outside the columnar store.
A query that's mostly SE time with a few large, efficient-looking storage queries is usually fine — it's doing real work over real data volume. A query that's mostly FE time, or one that fires an unusually large number of small SE queries, is the classic signature of a measure doing row-by-row work it didn't need to: an iterator over a huge table, a nested CALCULATE forcing repeated context transitions, or a FILTER used where a simple boolean filter argument would do.
// Slower: FILTER forces a row-by-row scan to build an intermediate table
Online Sales =
CALCULATE(
SUM(Sales[SalesAmount]),
FILTER(Sales, Sales[Channel] = "Online")
)
// Faster: this filter can be pushed into the Storage Engine directly
Online Sales =
CALCULATE(
SUM(Sales[SalesAmount]),
Sales[Channel] = "Online"
)
Both return the same number. The second version lets more of the work happen in SE, because the condition is simple enough for the engine to evaluate as a direct storage query instead of materializing a filtered table first.
What this looks like in practice
When I'm handed a "this is too slow" model, the path is always the same: Performance Analyzer tells me which visual to look at, DAX Studio's Server Timings tells me whether the problem is FE or SE, and only then do I start rewriting the measure — and even then, I re-run the same query in DAX Studio afterward to confirm the FE/SE balance actually improved. Skipping straight to "let me try rewriting this measure" without that measurement step is how people spend an hour optimizing a measure that wasn't the slow part of the report at all.
What PL-300 expects you to know
You're unlikely to be tested on DAX Studio by name — it's a community tool, not a Power BI feature. But Performance Analyzer is fair game, and so is the underlying concept: that a case-study question describing a slow report is asking you to reason about where the cost is (query vs. rendering, row-by-row logic vs. set-based aggregation), not to memorize a single "correct" rewrite. Understanding the FE/SE distinction, even informally, makes those scenario questions much easier to read correctly.
Want your slow model reviewed by a Microsoft Certified Trainer?
Gyromitra's PL-300 membership pairs the full self-paced course with a live weekly Q&A with a Microsoft Certified Trainer — bring a slow report and we'll trace it to the actual bottleneck together. Join anytime, no cohort to wait for.