Power BI Error Reference_

Invalid visual query structure — projections and queryState at the wrong level.

projections/queryState are nested at the wrong level, so the visual's query is invalid.

Why it happens

How to fix it

  1. Move projections and queryState to the correct location under the visual's query.
  2. Copy the query structure from a shipped, validated visual.json rather than reconstructing it.