HR Briefing

HR Technology

AI agents now write Power BI measures — and get finance math wrong alone

A test of Power BI's MCP server shows AI agents can build measures in four minutes — but the result differs from finance's figure unless the prompt carries the business's definitions.

Power BI MCP server: how to brief an AI agent to build accurate measures
Power BI MCP server: how to brief an AI agent to build accurate measuresLalmch / pixabay

Olivia Hart

· 4 min read

An AI agent connected to a Power BI semantic model wrote, tested and saved a year-on-year revenue measure in under four minutes — but its figure of 21.5% growth for 2026 did not match the finance team's number of 18.6%, purely because nobody had told it which date drives revenue reporting. That gap is the practical risk now facing analytics and HR data teams as Microsoft's MCP servers let AI agents modify the calculation layer behind corporate dashboards without a human opening the formula bar.

The test, run on 12 November 2026 against version 1.0.1 of the local Power BI Authoring MCP server, used a sample sales model with 5,266 invented order lines dated January 2025 to October 2026. The agent, Anthropic's Claude Fable 5.2, inspected tables, sampled rows, detected that 2026 was a part year, and avoided a misleading -6.7% comparison. Yet it counted revenue by dispatch date and included VAT where finance reported net of VAT by order date.

What can AI agents actually change in Power BI?

Microsoft currently ships two MCP servers. The Power BI Authoring server (package name powerbi-modeling-mcp) lets an agent create and modify objects inside a semantic model — tables, relationships, measures. Its local version is generally available but Windows-only; the hosted version, still in preview, requires models published to a Fabric workspace and is the only route on a Mac. The Fabric IQ server offers read-only query access to published models.

Because MCP is an open standard, the same server works from different AI clients, including GitHub Copilot in VS Code and Claude.

Why did the one-sentence prompt fail by 2.9 points?

The agent could see metadata — names, data types, relationships, existing measures — but the model carried no descriptions. A column called Amt on a table called Sales_v2 told it little. When the testers gave a fresh agent a seven-line brief specifying net-of-VAT calculation, order-date reporting and the inactive relationship to use, the agent's measure returned exactly 18.6%: the figure the testers had computed independently from source data. No follow-up prompt was needed.

The brief acted as a specification, the way a good ticket does for a developer. The core lesson for any team delegating calculations to agents: "Before you send a prompt, ask yourself whether you could do the task properly if you were given only the words in that prompt and the model itself."

What safeguards exist before agents get write access?

The server grants the agent the same permissions as the signed-in account. Recommended controls:

  • A --readonly flag on the local server blocks all writes; version 1.0.1 skips confirmation prompts by default, and a separate --require-confirmation flag restores them.
  • Building in the Power BI Project (PBIP) format turns the model into text files, so agent edits arrive as reviewable diffs.
  • On hosted setups, a Fabric administrator must enable the MCP endpoint tenant setting; Build-only permission enforces read-and-query limits.
  • Everything the agent reads, including query results, passes to the AI provider — a compliance check that matters for models holding customer or payroll data, since the provider may sit outside Microsoft's compliance commitments.

How should teams prepare models for AI readers?

Descriptions on tables, columns and measures are the cheapest fix: they live in the metadata every agent reads. Both unbriefed test agents flagged that nothing confirmed what Amt contained. A description such as "Net sales value in GBP, excluding VAT, after credit notes" removes the guesswork permanently. Microsoft's Prep data for AI features, in preview in Power BI Desktop, formalizes this for Copilot with field selection and written AI instructions.

The skills bottleneck sits with reviewers. Judging agent output requires enough DAX to read filter behaviour in a month-by-month table and enough business knowledge to confirm the right column and date were used — the same knowledge needed to write the brief. The testers note the experiment ran three times on one dataset, enough to show the pattern but not to generalize.

Teams planning adoption can start by connecting the local server in read-only mode to a known model and asking the agent to describe every table and measure, then reconciling its words against reality before any write access is granted.

Source: sitepoint.com

More from Olivia Hart

Olivia Hart

Show full bio

Correspondent covering companies, deals and strategy in Recruiting and talent acquisition, learning and development at HR Briefing.

342 articles

© 2026 HR Briefing. All rights reserved.