Uncategorized

Diagnose a Slow BI Dashboard Before Changing Platforms

Star-schema diagram with one central fact table linked to four surrounding dimension tables.

Quick answer

Before replacing your BI platform, identify which operation is slow and measure it consistently. In Power BI, use Performance Analyzer for report interactions and Power Query diagnostics for data preparation. Then test one targeted change at a time. A slow source query, oversized model and expensive visual require different fixes—not necessarily different software. (learn.microsoft.com)

Who this guide is for: Analysts, BI developers and managers investigating an existing report.

Version and deployment scope: The reference release is Power BI Desktop July 2026, version 2.156.951.0, with an Import-mode .pbix file. Microsoft’s documentation was checked on October 10, 2026. The example below is an unexecuted diagnostic exercise, not a benchmark. If you use another release, confirm the available controls and record your exact build. (learn.microsoft.com)

1. Define “slow” and establish a repeatable baseline

Start with a specific complaint: “Selecting North takes too long to update the sales table.” That is more actionable than “the dashboard is slow.”

Separate these tasks:

Slow task First investigation
Importing or refreshing data Source retrieval and Power Query transformations
Opening a report page Model queries and visual rendering
Changing a slicer Queries triggered by that interaction
Using the published report, but not Desktop Service environment, network and capacity

Power Query diagnostics, Performance Analyzer and environment checks address different parts of this chain. Do not treat one tool’s timing as a measurement of the entire system. (learn.microsoft.com)

Create a baseline record containing:

  • File revision and Desktop version.
  • Storage mode, row count and source.
  • Report page, filters and exact interaction.
  • Machine or browser used.
  • Whether this was the first interaction or a repeat.
  • Security role used, where applicable.

For this workflow, record the first run separately, then perform five identical repeats. Compare their median and retain the individual readings. This is a practical test protocol, not a Microsoft performance threshold.

Choose a business acceptance target before making changes. For example: “The regional sales review must update within our agreed response time and preserve the same totals.” Set that target with users rather than borrowing an arbitrary benchmark.

2. Use Performance Analyzer to locate the expensive visual

In Desktop, open Optimize → Performance Analyzer, select Start recording, and reproduce the slow action. Stop recording and expand the entries for the affected visuals. Export the results before clearing the recording. (learn.microsoft.com)

Read the categories as diagnostic clues:

Category What it represents
DAX query Time between submitting the query and receiving model results
Direct query External-query return time for DirectQuery tables
Visual display Drawing the visual, including relevant image retrieval or geocoding
Other Preparation, waiting and background processing

“Other” is not proof that the DAX calculation is inefficient. Microsoft notes that reported durations can include time queued behind other operations. Consequently, adding all visual durations together is not a reliable page-load stopwatch. (learn.microsoft.com)

Use the largest relevant category to choose your next experiment:

  • Query-heavy: Investigate calculations and relationships.
  • Display-heavy: Simplify the visual or reduce displayed detail.
  • Waiting-heavy: Test the visual alone on a duplicate page.

For a slow query, use Copy query to preserve the query associated with the problematic interaction. (learn.microsoft.com)

3. Investigate source retrieval and Power Query separately

If refresh is slow, open Power Query Editor and investigate the expensive query—not just the report page.

Use the Tools tab’s Query Diagnostics controls to capture the relevant authoring action. Inspect the emitted source query and distinguish data retrieval from metadata or preview activity. Background evaluations and caching mean preview timings are not automatically equivalent to full model-refresh timings. (learn.microsoft.com)

For a relational source, check whether filtering and column selection reach the database. Query folding means Power Query translates supported transformations into work performed by the source. Its availability depends on the connector, source and transformations. CSV and Excel files do not provide a query engine for folding. (learn.microsoft.com)

A useful experiment is to retain required columns and apply an approved date restriction before an expensive transformation. Verify the resulting request rather than assuming the reordered steps fold. Microsoft recommends delegating processing to the source where possible. (learn.microsoft.com)

For SQL Server, ask the database owner to inspect the captured query’s actual execution plan. It contains runtime information and warnings, but collecting it executes the query and requires appropriate permissions, including SHOWPLAN. Use an approved test environment or coordinate production diagnostics. (learn.microsoft.com)

Common mistake: Looking for Power Query Online’s folding indicators or query-plan interface in Desktop. Those features are Online-only; use Desktop diagnostics and connector-supported native-query inspection instead. (learn.microsoft.com)

4. Reduce the model without removing necessary meaning

Before rewriting calculations, ask whether the model contains data the report does not need.

Microsoft’s Import-model guidance recommends removing unnecessary columns and rows. However, a column may support relationships, calculations, security or formatting even when it never appears on a chart. Check dependencies before deleting it. (learn.microsoft.com)

Review three areas:

  1. Unused fields: Long descriptions, notes and operational identifiers may be unnecessary for this report.
  2. Required history: Agree on the reporting period instead of importing all available history by default.
  3. Table grain: State what one row represents, such as an order line or a daily product total.

For multi-table models, inspect whether dimensions handle filtering and grouping while fact tables hold observations and values. Microsoft’s star-schema guidance explains this separation and the importance of consistent fact-table grain. (learn.microsoft.com)

Do not aggregate away detail without approval. Monthly summaries may reduce the data loaded, but they cannot answer questions requiring individual transactions or daily detail. That trade-off is explicit in Microsoft’s data-reduction guidance. (learn.microsoft.com)

Practical check: Reconcile totals, date coverage and required drill-downs after every model change. A faster report answering a different question is not a successful optimization.

Diagram showing a central fact table connected to four surrounding dimension tables.
A star-schema illustration with a central fact table and surrounding dimensions. — SqlPac. Own work Source CC BY-SA 3.0

5. Separate calculation problems from display problems

For a calculation-heavy visual, begin with the required business result.

If the calculation only adds an existing numeric column, a straightforward measure is:

Total Sales = SUM(Sales[Amount])

SUM adds a column’s numeric values. SUMX evaluates an expression for each row of a table. Use an iterator when the calculation requires row-level expression evaluation—not because a longer formula seems more sophisticated. Neither function choice alone proves a performance improvement. (learn.microsoft.com)

For a display-heavy visual, try a separate experiment:

  • Replace transaction-level rows with a summary.
  • Restrict displayed categories where the business question allows it.
  • Move secondary detail to a drillthrough page.
  • Compare a custom visual with an appropriate built-in alternative.

Microsoft recommends limiting report-page visuals, filtering unnecessary displayed data and evaluating custom-visual performance. (learn.microsoft.com)

Common mistake: Changing the measure, filters and visual type simultaneously. If the result improves, you cannot identify which change helped—or which one altered the answer.

6. Build a reproducible synthetic sales report

Use this exercise to practise recording evidence without exposing business data.

In Power Query Editor, create a blank query, open Advanced Editor, and enter the following original M example. Name the query Sales.

It appends repeated copies of a four-row seed table using the documented List.Repeat and Table.Combine functions. (learn.microsoft.com)

let
    Seed = #table(
        type table [
            SaleDate = date,
            Region = text,
            Amount = number
        ],
        {
            {#date(2026, 1, 15), "North", 120},
            {#date(2026, 1, 15), "South", 80},
            {#date(2026, 2, 15), "North", 150},
            {#date(2026, 2, 15), "South", 50}
        }
    ),
    Repeated = Table.Combine(List.Repeat({Seed}, 25000)),
    Indexed = Table.AddIndexColumn(
        Repeated, "LineID", 1, 1, Int64.Type
    ),
    WithUnusedNote = Table.AddColumn(
        Indexed,
        "UnusedNote",
        each Text.Repeat("row-" & Text.From([LineID]), 10),
        type text
    )
in
    WithUnusedNote

Each generated row represents a fictional sales line. The repeated values are deliberate; this is not a realistic production workload.

Load the table and create:

Total Sales = SUM(Sales[Amount])
Sales Lines = COUNTROWS(Sales)

SUM provides the amount total; COUNTROWS counts table rows. (learn.microsoft.com)

Build one page containing:

  • A Region slicer.
  • Cards for Total Sales and Sales Lines.
  • A column chart using SaleDate directly, not its automatic hierarchy.
  • A detail table containing LineID, SaleDate, Region and Amount.

The expected results follow directly from the constructed data:

Selection Sales lines Total sales
All regions 100,000 10,000,000
North 50,000 6,750,000
South 50,000 3,250,000
Either individual sale date, all regions 50,000 5,000,000

For example, North contributes (120 + 150) × 25,000 = 6,750,000. These are arithmetic expectations, not observed test results.

Create three independent experiments, each starting from the baseline:

  • Model experiment: Remove UnusedNote in Power Query; refresh and retest.
  • Visual experiment: Replace the detail table with Region and Total Sales.
  • Calculation experiment: Compare SUM(Sales[Amount]) with SUMX(Sales, Sales[Amount]) using the same visual.

The visual experiment deliberately changes the level of detail; approve that trade-off before applying it to a real report. The calculation experiment may show no meaningful difference.

This locally generated dataset has no external database query to fold or inspect. Use an approved relational source separately to practise source-query diagnostics.

7. Compare changes fairly and decide whether migration is justified

Record results in a worksheet rather than relying on memory:

Variant Exact action Median timing Timing range Correctness Trade-off
Baseline All regions → North Record locally Record locally Expected totals None
Model change Same action Record locally Record locally Same totals Unused field removed
Visual change Same action Record locally Record locally Same totals Detail no longer displayed
Calculation change Same action Record locally Record locally Same totals Formula changed

No timings are supplied because this exercise has not been executed.

Compare like with like: visual-query timing against visual-query timing, and complete refresh duration against complete refresh duration. Keep first-run and repeat-run results separate.

Before accepting a change:

  • Confirm totals and representative filtered results.
  • Check required detail and security behavior.
  • Repeat the original user action.
  • Retain the baseline and diagnostic exports.
  • Test the published experience under representative conditions.

A Desktop improvement is not evidence that a service-only problem is solved. Microsoft identifies capacity configuration, gateways and network latency as additional environment considerations. (learn.microsoft.com)

Consider migration when evidence shows an unresolved architectural limitation—not merely an expensive report design. Carry the same data, calculations, security requirements and acceptance target into any platform evaluation.

Your next step should be small: capture one slow interaction, identify its dominant cost, and test one reversible change. That evidence will make either optimization or migration a better-informed decision.