Power BI

Find the slow Power BI visual before you blame the model

A report that grew out of a spreadsheet collects visuals. Six cards, a matrix of every claim number, and a slicer on a column with tens of thousands of values will feel slow even when the measure is fine.

Record one interaction

  1. In Power BI Desktop, open the View tab and then Performance analyzer.
  2. Choose Start recording.
  3. Change a slicer the way a reader would. Don’t click everything. Repeat the action people complain about.
  4. Stop recording.
  5. Expand the visual with the longest duration. You will see time spent on the DAX query separately from time spent drawing the visual.

What the split is telling you

A long DAX query means the measure, the relationships, or the grain of the table needs a look. A short query and a long “visual display” often means you are asking a visual to draw too much, like a table of every policy number when the page only needed the top 20.

Two changes that help more often than a new model:

  • Remove visuals that repeat the same query. Two cards and a chart that all calculate the same total still pay for it more than once on a page.
  • Don’t put a high-cardinality column (every claim number, every VIN) on a slicer. Filter with a column a person can scan, such as a year, a region, or a status.

Name the page for the question it answers (“Where is premium concentrated?”) so the next visual has to earn its place on that question. “Page 1” collects leftovers.

Performance analyzer times the session on your machine. If the published report is still slow after the desktop looks fine, check the gateway and the capacity next. Don’t start there.

Try this today

Start a recording, change the slicer your readers actually use, and expand the visual with the longest duration. Note whether the time is the DAX query or the visual itself.

Performance analyzer is in Power BI Desktop, on the View tab. It measures your desktop session. A published report can differ, but this is the right first check.