ErrorIn the semantic model1 cause · The Report Doctor detects 1.

Failed to move the data reader to the next row

Power BI

In general form, with the parts that change in brackets:

Failed to move the data reader to the next row. The query referenced calculated table '[table]' which does not hold any data because there is an error in its expression.

What it means

A visual asked the model for data, and the query failed. The first line says only that. Under "See details", the technical details name the calculated table the query needed. That table is empty, because its own DAX fails.

Usually
A calculated table's DAX names something that was deleted
Fix
Open the calculated table the details name, and read its DAX.

Check your project opens the Report Doctor with this message filled in. The text travels in the URL fragment, which browsers never send to a server.

On this page

How the message appears

Copied exactly from each source. A name in square brackets replaced one from someone else's project.

Error fetching data for this visual
Failed to move the data reader to the next row.
Please check the technical details for more information. If you contact support, please provide these details.
Underlying Error QueryUserError
More details The query referenced calculated table 'Metric' which does not hold any data because there is an error in its expression.
Desktop run: Power BI Desktop 2.159.883.0, Studio fixture F13d. Seen 2026-10-23.[1]Typed from a screenshot

What causes it

  1. A calculated table's DAX names something that was deleted

    Our field parameter, which is a calculated table, listed a measure with NAMEOF('Sales'[Profit YTD]). We deleted that measure. The table's DAX then failed, so the table held no rows, and every visual that used it failed, including a slicer that never showed Profit YTD. The message names the table, not the measure. The warning on the table in the Data pane names the measure.

    Source: Power BI Desktop 2.159.883.0, Studio fixture F13d[1].

    The Report Doctor finds this. It reports “DAX names something the model does not have”, with the file and line.

The fix

Open the calculated table the details name, and read its DAX. Hover over the warning on that table in the Data pane: it names what is missing. Put the measure or column back, or take it out of the table's DAX.

In tables/Field Parameter.tmdl:

Broken
NAMEOF('Store'[Store Name])

Line 1 changes.

Fixed
NAMEOF('Store'[Store])

Store has no column Store Name, so the field parameter names one that does not exist.

From the SalesSense sample project by Rui Romano (MIT licence).

The Power BI Report Doctor reads a PBIP folder or .zip and lists the file and line to fix. Nothing is uploaded. For the other messages a project can stop on, listed by the file that causes each, see Power BI Desktop can't open a PBIP.

Worth knowing

Sources

  • [1]Desktop run: Power BI Desktop 2.159.883.0, Studio fixture F13d. Our run on Wide World Importers open data: we deleted the measure Profit YTD while a field parameter, another measure and a visual still named it. The messages are typed from our screenshots. Seen 2026-10-23.

Did this page help?

Your answer helps us know what to improve and what you find useful.

Your JSON and text are processed entirely in your browser and are never sent anywhere. To understand how the site is used we record each page view (the page, the referrer, an approximate location from your IP address, and whether you are a person, a bot or a script) and keep it for 90 days. Nothing is stored on your device unless you choose it. Accept to also store a device identifier here and record your browser and device characteristics, which is what lets a return visit be told from a new one. Decline and no page view is sent. A vote you click on an error page is still counted, and nothing about you is stored. We respect Do Not Track. See our privacy policy.