Skip to content
Data ScienceOctober 22, 2026

AI for BI Analysts: SQL, DAX & Dashboards with Claude Code

MS

Manish Singh

Federal AI/ML Leader

4 min read
AI for BI Analysts: SQL, DAX & Dashboards with Claude Code

AI for business intelligence analysts means handing the mechanical parts of analytics to an AI assistant or agent: first drafts of SQL and DAX, data cleaning scripts, documentation, and report narratives. That frees the analyst for the parts that need judgment: framing the question, modeling the data, validating results, and telling the story.

I work with Power BI and data teams every week as a federal Data Science TPM. This guide covers how AI is changing BI work, eight practical ways to use Claude Code, how to keep AI-assisted analysis accurate, and which skills matter more now.

How Is AI Changing Business Intelligence Work?

Both major BI platforms now ship AI assistants: Copilot in Power BI, and Tableau's own AI agent. Meanwhile, general-purpose agents like Claude Code and OpenAI Codex can read your schema files, write and run scripts, and produce charts or HTML prototypes directly from data exports.

The result is a shift in where analysts add value. Writing a correct first draft of a query is becoming cheap. Knowing whether the answer is right, and what it means for the business, is becoming more valuable.

8 Ways BI Analysts Use Claude Code

Each example works on files in a project folder, such as a schema file, a CSV export, or a measures file.

  1. SQL from a plain-English question. "Using schema.sql, write a query for monthly active customers by region for the last 12 months. Explain each join."
  2. Explaining and tuning slow queries. "Explain what this query does step by step, then suggest index or rewrite options to make it faster."
  3. Writing and debugging DAX. "Write a DAX measure for year-over-year revenue growth that handles missing months. Explain the filter context."
  4. Cleaning messy exports. "Write and run a Python script that standardizes date formats, trims whitespace, and removes duplicate rows in export.csv. Report what changed."
  5. Data quality checks. "Profile customers.csv: null rates, duplicates, outliers, and values outside expected ranges. Summarize issues in a table."
  6. Documenting a data model. "Create a data dictionary from schema.sql: table purpose, column descriptions, keys, and relationships."
  7. Prototyping a dashboard. "Build a single-page HTML dashboard from sales.csv with three charts and a KPI row, so I can test the layout before building it in Power BI."
  8. Writing the narrative. "Summarize what changed this month in three plain-English paragraphs for executives, citing the numbers behind each claim."

How Do You Keep AI-Assisted Analysis Accurate?

The biggest risk isn't bad syntax. It's a confident conclusion the data doesn't support. When the data platform Hex evaluated Claude Opus 5.5, it noted that as models get better at data work, they can produce more convincing-sounding conclusions the data doesn't support. That makes validation more important, not less.

A short validation habit covers most risk:

  • Reconcile totals against a trusted source before sharing any number.
  • Check row counts after every join and filter.
  • Test queries on questions you already know the answer to.
  • Ask the AI to state its assumptions, then confirm them yourself.
  • Keep personal and confidential data out unless your organization's approved setup allows it.

Claude Code vs. Copilot in Power BI vs. ChatGPT for Analysts

ToolBest forWatch out for
Copilot in Power BIQuestions and summaries inside an existing Power BI reportLimited to what the report and model expose
Claude CodeWorking across files: SQL, scripts, cleaning, documentation, prototypesNeeds clear data rules and review habits
ChatGPTExplaining concepts, drafting queries from pasted snippetsCopying code back and forth by hand
OpenAI CodexScript-heavy automation on an OpenAI-standardized stackSimilar review needs to Claude Code

Many analysts use more than one. If you're choosing your first analytics stack, see Power BI vs. Tableau vs. custom dashboards.

Which Skills Matter More for BI Analysts Now?

  • SQL and data modeling fundamentals, so you can judge what AI writes
  • Statistics literacy, to spot misleading comparisons and small samples
  • Domain knowledge, which turns numbers into decisions
  • Clear writing, because the narrative is now part of the deliverable
  • Instruction-giving, a precise brief to an AI agent is a new core skill

Learn it on your own data. In 1:1 Claude Code coaching, analysts and analytics leaders build SQL, cleaning, and reporting workflows on their real projects. $250 per session, with a 15-minute satisfaction guarantee. Book a free 20-minute call.

Frequently Asked Questions

Q: Will AI replace business intelligence analysts? A: AI is automating first drafts of queries, measures, and documentation. It isn't replacing the analyst's judgment about data quality, business context, and what a result means. Analysts who use AI well will produce more and better analysis.

Q: Can Claude Code write SQL and DAX? A: Yes. Give it your schema or model details and a plain-English question, and it drafts the query or measure and explains it. Always validate results against known totals before sharing them.

Q: Is it safe to use AI with company data? A: Use only the tools and accounts your organization approves, keep personal and confidential data out unless policy allows it, and prefer working on samples or schema files when you're practicing.

Q: Should BI analysts learn Python now? A: It helps, but AI lowers the barrier. With Claude Code, analysts can ask for a cleaning or analysis script, read the explanation, and run it, learning Python gradually through real tasks.

Q: Do you offer AI training for BI analysts? A: Yes. I offer 1:1 Claude Code coaching and training for analysts and analytics leaders on their own data and tools, including Power BI workflows. Sessions are $250, or $675 for three.

Need help bringing your idea to production?

Book a free discovery call and let's map out exactly what your project needs to go live securely.

Book a Discovery Call →

Keep Reading

More insights on AI, product, and shipping real things.

View all posts →