Power BI: Real AI Use Case Revealed
Power BI
May 26, 2026 10:29 PM

Power BI: Real AI Use Case Revealed

by HubSite 365 about Christine Payton

Power Platform Developer

Microsoft expert: AI in Power BI builds model, measures, relationships and visuals with Copilot

Key insights

 

  • Test overview: Christine Payton feeds PBIP files to Claude Code to see how far a large language model can build a Power BI model and report automatically.
    It is a practical test of AI capabilities, not a recommended final workflow — always work on copies of your files first.

  • Core tasks asked of the AI: The prompt instructs the model to friendly-rename tables and columns, create relationships (preferably a star schema), build 15 measures (including complex DAX), organize measures into folders, and format dates and numbers.
    The model also had to validate references and add at least one visualization to the report page.

  • What the AI produced: The model renamed tables/columns, created relationships, generated measures, and built two visuals — one simple and one using conditional formatting for richer insight.
    Results show AI can handle many routine tasks but still needs human review for accuracy and context.

  • Formatting and structure rules: The prompt required strict PBIR/TMDL formatting (indentation-sensitive) and human-friendly labels (e.g., "Close Price").
    It also specified date format (mm/dd/yyyy), appropriate rounding to avoid noisy decimals, and thousands separators for numbers.

  • Limitations to watch: AI can automate structure and scaffolding but may misinterpret business logic, DAX context, or relationship intent — always verify measures, relationships, and references before publishing.
    Use the AI output as a strong starting point, not the final authoritative model.

  • Practical takeaway: Use AI for fast prototyping and repetitive cleanup (renaming, formatting, basic measures), while keeping human oversight for complex calculations, model validation, and visual storytelling.
    This hybrid approach speeds reports without sacrificing accuracy.

 

 

Overview of the experiment

In a recent YouTube video, author Christine Payton tests how far modern AI can go when applied to a Power BI project. She feeds a starter PBIP file to the language model agent Claude Code and asks it to build a working semantic model, create measures, set relationships, and add visuals to a report. The video is framed as an experiment rather than a recommended production workflow, and viewers are reminded to work on copies of their files when trying this themselves.
 

The goal is to observe practical capabilities and limits of agentic LLMs with respect to real business intelligence tasks. Accordingly, the test focuses on automation tasks that are often time-consuming for analysts: renaming tables and columns, creating a star schema, and building measures that help analyze stock performance by ticker and industry. This setup provides direct insight into the strengths and the gaps of current automation approaches in a live Power BI context.
 

What the AI was asked to do

Payton supplies a detailed prompt directing Claude Code to follow a clear sequence: friendly rename columns and tables, create relationships following a star schema model, and then produce 15 measures with at least two nontrivial measures. The prompt also asks the agent to group measures into folders, format dates and numeric displays, and validate measure references so they respect relationship context. Finally, the agent is asked to add one simple visualization plus another with conditional formatting to demonstrate presentation skills.
 

The prompt emphasizes structure and strict formatting because the intermediate file format is sensitive to indentation and labels. As a result, the agent must preserve syntax while converting technical identifiers into human-friendly names like "Close Price" rather than machine-style names. This constraint highlights a common tradeoff: agents perform well when instructions are precise, but they can be fragile if file formats are strict or if the prompt is ambiguous.
 

What Claude Code produced

According to the video, Claude Code successfully renamed tables and columns and created relationships that moved the model toward a star schema. It also generated a set of measures and organized them into folders, demonstrating that a modern LLM can follow complex multi-step instructions and maintain context across tasks. The agent created at least one simple visual and attempted another with conditional formatting, showing promising abilities in report authoring rather than just model edits.
 

However, the results were not flawless, and Christine documents places where human review was required. For example, some measure logic needed validation to ensure relationship context was correctly handled, and a few display formats needed manual adjustment to avoid unnecessary decimals or to apply thousands separators consistently. These issues underline that while automation can accelerate the setup, it cannot fully replace the domain knowledge and quality checks that a human analyst provides.
 

Tradeoffs and practical challenges

Automating model creation with an agent offers clear time savings, especially for repetitive tasks like renaming and formatting. Yet, there are tradeoffs in terms of reliability and auditability: automated changes can be opaque, and the agent may introduce subtle semantic errors that affect downstream analysis. Consequently, teams must balance speed with careful validation and change control to preserve data quality and trust in reports.
 

Another challenge is handling complex measures that require nuanced business logic. Although the agent can write basic and some intermediate measures, more complex calculations often depend on deeper domain context and bespoke assumptions. Therefore, teams should consider hybrid approaches where the agent drafts work and analysts review, refine, and document the final logic to ensure correctness and maintainability.
 

Guidance for analysts and final takeaways

This experiment suggests a pragmatic path forward: use AI agents as productivity assistants rather than full replacements for model designers. In practice, analysts can save time by delegating routine renaming, formatting, and boilerplate measures to an agent, while retaining responsibility for validation, optimization, and complex business calculations. Such a hybrid model captures the speed benefits while reducing risk through human oversight.
 

For teams planning to adopt this workflow, Christine’s test points to a few practical steps: start with copies of your files, keep prompts precise, and enforce a review checklist that covers relationships, measure validity, and display formatting. In addition, document any agent-generated changes so future readers understand why certain measures or relationships were created. Overall, the video provides a clear, measured look at current capabilities and helps decision-makers weigh the benefits and limits of integrating generative tools into Power BI workstreams.
 

 

Power BI - Power BI: Real AI Use Case Revealed

Keywords

AI in Power BI, Power BI AI example, Power BI AI tutorial, Power BI Copilot demo, Power BI generative AI, Power BI AI analytics, real-world AI Power BI example, how far can AI go in Power BI