๐Ÿ‘ค Who is this for?

Data Engineer BI Developer Data Scientist Platform Owner โ€” This guide explains how AI and Copilot show up across Microsoft Fabric, what prerequisites matter, where the features help most, and which governance controls you should put in place before scaling usage.

Overview

AI in Fabric Overview

Fabric embeds AI across the analytics lifecycle โ€” from authoring and modeling to querying, automation, and conversational access to trusted business data.

In Microsoft Fabric, AI is not a separate sidecar experience bolted onto the platform. It is woven into the tools that teams already use: Power BI for semantic modeling and reporting, notebooks for code authoring, pipelines for orchestration, SQL experiences for warehousing, and Data Agents for natural-language question answering over governed data.

It helps to think about Fabric AI in two categories:

๐Ÿ’ก Operating model

Treat AI in Fabric as an accelerator for expert work, not a replacement for architecture, data modeling, governance, or testing. The best results come from strong semantic models, clear naming, good descriptions, and tightly scoped permissions.

๐Ÿ“Š Copilot for Power BI

Natural language to visuals, narrative summaries, report page suggestions, and DAX assistance over semantic models.

๐Ÿ““ Copilot for Notebooks

Generate and explain PySpark or Python code, troubleshoot errors, and iterate faster inside notebook chat.

๐Ÿ”„ Copilot for Data Pipelines

Describe an orchestration flow in plain English and get a starting pipeline, activity suggestions, and expression help.

๐Ÿง  Copilot for SQL

Translate business questions into T-SQL, explain existing queries, and refine logic in warehouse authoring experiences.

๐Ÿค– Data Agents

Conversational agents that reason over curated Fabric data sources and return grounded answers for business users.

๐Ÿงฉ AI Skill

Reusable AI building blocks that package a model invocation pattern so notebooks and pipelines can call it consistently.

Power BI

Copilot for Power BI

Use natural language to move faster from semantic model to insight, report draft, and executive-ready narrative.

What Copilot helps with

๐Ÿ—ฃ๏ธ Natural language to visuals

Ask for a chart, KPI, or comparison in business language and Copilot proposes visuals based on your model.

๐Ÿงฑ Report page generation

Copilot can draft an entire report page layout with relevant visuals, titles, and narrative framing for a scenario.

๐Ÿ“ Narrative summaries

Generate executive summaries that call out trends, anomalies, and key contributors in the current filter context.

โˆ‘ DAX generation

Get help creating or refining measures when you can describe the business logic more easily than writing DAX from scratch.

๐Ÿ“‹ Prerequisites

Copilot for Power BI requires a paid Fabric capacity (F2 or higher) or equivalent Premium entitlement, plus the relevant Copilot tenant/admin settings enabled. Availability and exact controls can evolve, so verify current requirements in Microsoft Learn before rollout.

Prepare your data for AI

Copilot quality is strongly tied to semantic model quality. Keep this page focused on the essentials, then use the full guide in Best Practices โ†’ Preparing Data for AI for implementation detail.

Prompts that usually work well

ScenarioPromptWhy it works
Executive overviewBuild a page that explains revenue, margin, and YoY growth for the last 12 months.Clear metrics + time window + business outcome.
Visual explorationShow a clustered bar chart of sales by product category with a trend line for profit margin.Specifies chart type, dimensions, and measures.
DAX assistanceCreate a measure for year-to-date sales that respects the fiscal calendar starting in July.Defines calculation goal and fiscal nuance.
Narrative summarySummarize the key drivers behind the drop in gross margin this quarter.Targets a specific business question, not a generic recap.
Follow-up analysisCompare the Northeast region to the company average and call out the biggest variance drivers.Gives Copilot a comparison target and output expectation.

Limitations to keep in mind

Notebooks

Copilot for Notebooks

Accelerate Spark and Python development by using Copilot as a coding partner inside Fabric notebooks.

Notebook Copilot is especially useful when you know the transformation you want but do not want to spend time writing boilerplate PySpark, fixing syntax, or documenting every step by hand. It can work across authoring, explanation, and debugging loops.

โšก Code generation

Generate PySpark or Python cells for ingestion, joins, aggregations, filtering, schema inspection, and Delta writes.

๐Ÿ“š Explanation & documentation

Ask Copilot to explain an existing cell, document a notebook section, or rewrite rough code into something more maintainable.

๐Ÿฉบ Error analysis

Paste an exception or point Copilot at a failed cell to get likely root causes and suggested fixes.

๐Ÿ’ฌ Iterative chat

Use the chat panel to refine a solution step by step instead of trying to generate an entire notebook in one prompt.

Best practices for better notebook results

Context awareness and cell behavior

Copilot can use the surrounding notebook context โ€” prior cells, variable names, dataframe references, and markdown explanations โ€” to generate more relevant code. It is particularly effective when your notebook has a clean narrative structure.

It can also help with IPython magic commands and notebook-specific behavior, such as working with %run, switching between Python and Spark SQL contexts, or explaining how a cell's output feeds the next step. Still, you should verify that generated magic commands and session assumptions match your Fabric runtime.

Example prompts for notebooks
Generate PySpark code to read the bronze_orders Delta table,
filter to the current month, and aggregate revenue by sales region.

Explain why this merge statement fails with a duplicate key error.

Add markdown documentation for this notebook section in a concise,
team-friendly style.

Refactor this cell so it writes a partitioned Delta table and includes
basic error handling.
Pipelines

Copilot for Data Pipelines

Turn orchestration ideas into a pipeline draft faster, then use Copilot to fill in expressions and common control-flow logic.

Where it helps most

๐Ÿšš Ingestion starter flows

Useful for building common patterns such as copy from source to lakehouse, then trigger a notebook or stored procedure.

๐Ÿ”€ Control flow

Helpful for If Condition, ForEach, parameter-driven branching, and dependency chains that are tedious to wire manually.

๐Ÿงฎ Dynamic content

One of the highest-value uses: generating expressions for dates, filenames, workspace parameters, and activity outputs.

Example prompts

Pipeline prompts
Create a pipeline that copies daily CSV files from ADLS into a bronze
lakehouse folder and then runs a notebook to convert them to Delta.

Generate a dynamic expression that writes files to /raw/year=YYYY/month=MM/day=DD.

Suggest activities to retry a failed API extract, log the error, and send
an alert if the retry count is exceeded.

Current limitations

SQL

Copilot for SQL / Data Warehouse

Use natural language to speed up T-SQL authoring and make warehouse development more approachable to non-SQL specialists.

Copilot for SQL is valuable when analysts or engineers understand the question they want answered but need help turning that requirement into valid T-SQL. It can also help explain legacy code, generate comments, and suggest improvements when a query is hard to maintain.

๐Ÿงพ Query generation

Describe the dataset, filters, and aggregation you need, and Copilot can draft a T-SQL query or view definition.

๐Ÿงญ Schema-aware suggestions

When object names and relationships are clear, Copilot can produce more grounded joins, filters, and grouping logic.

๐Ÿš€ Optimization ideas

Ask for recommendations around predicate pushdown, join shape, window functions, or simplified logic to improve readability and performance.

๐Ÿ’ฌ Explanation & comments

Useful for documenting stored procedures, explaining CTE-heavy queries, and making warehouse logic easier for teammates to support.

Where it works

These capabilities are most relevant in Fabric Warehouse and the SQL analytics endpoint, where teams author and review SQL over governed Fabric data.

Prompt patterns that work well

โš ๏ธ Review generated SQL

Copilot can accelerate authoring, but it does not understand every business rule automatically. Always verify join logic, cardinality assumptions, filtering semantics, and performance characteristics before promoting code.

Agents

Fabric Data Agents

Create conversational agents that reason over trusted Fabric data sources and return grounded answers using your business context.

What Data Agents are

Fabric Data Agents are AI agents designed to answer questions over organizational data. Rather than treating the entire workspace as one undifferentiated corpus, an agent is configured with selected sources, instructions, and examples so it can respond with more domain awareness.

๐Ÿ› ๏ธ Custom agents

Built for a specific business domain such as finance, retail operations, supply chain, or customer support analytics.

๐Ÿ“ฆ Pre-built / starter patterns

Use templates, starter configurations, or existing semantic models as the foundation, then tailor instructions and example questions.

๐Ÿง  Grounded reasoning

Agents rely on the semantic model, selected tables, and instructions rather than answering from generic internet knowledge.

How they work

Integration with Microsoft 365 Copilot

Data Agents can extend beyond the Fabric authoring surface. When integrated with Microsoft 365 Copilot, they allow business users to ask questions in familiar productivity experiences while still grounding responses in Fabric-governed data and semantic definitions.

Building a custom Data Agent

  1. Start with a high-value domain and a curated data source, not an everything agent.
  2. Choose models and tables with good naming, descriptions, and stable business logic.
  3. Add concise instructions that define KPI meaning, business calendar, and preferred measures.
  4. Test common executive and analyst prompts, then refine instructions where answers drift.
  5. Publish only after security, labels, and expected usage patterns are reviewed.

Common use cases

๐Ÿ“ˆ Self-service analytics

Let business users ask plain-language questions without browsing dozens of reports.

๐Ÿ“ฌ Automated reporting

Generate recurring summaries for leadership using governed measures and approved data sources.

๐Ÿท๏ธ Domain Q&A

Support scenario-specific assistants such as sales pipeline Q&A, inventory status, or finance variance analysis.

Reusable AI

AI Skill

Package repeatable AI behavior into a reusable Fabric item so multiple teams can call the same model-backed capability consistently.

What AI Skill is

An AI Skill is a Fabric item pattern for wrapping an AI capability behind a reusable interface. Instead of duplicating prompt logic or model invocation code in every notebook and pipeline, you define the skill once and reuse it across the workspace.

How it works

๐Ÿท๏ธ Text classification

Route support tickets, classify feedback, or label documents using a shared classification skill.

๐Ÿ”Ž Entity extraction

Extract products, customers, locations, invoice IDs, or compliance terms from semi-structured text.

๐Ÿงช Custom ML inference

Wrap a predictive or generative model so the same inference behavior can be consumed across multiple pipelines.

The main architectural value is standardization: centralize prompts, inputs, outputs, and guardrails once, then reference that skill from multiple solutions instead of re-implementing AI logic repeatedly.

Governance

AI Governance & Security

Roll out Copilot and other AI features with the same rigor you apply to workspace access, information protection, and production change control.

๐Ÿ” Core boundary

Fabric Copilot and related AI experiences operate within your organization's security boundaries. Data remains within your tenant and responses are constrained by the user's existing permissions, labels, and governed access path.

๐Ÿ›ก๏ธ Data boundaries

Use AI only after you are confident that workspace access, model permissions, and downstream sharing are already correct.

๐Ÿท๏ธ Information protection

Apply sensitivity labels and DLP strategy first so AI experiences inherit the right guardrails from day one.

๐ŸŽ›๏ธ Administrative control

Enable features deliberately, starting with a pilot capacity or a curated set of workspaces before scaling to the whole tenant.

๐Ÿ“‹ Responsible AI

Train users to treat AI output as draft analysis: useful, fast, and often insightful โ€” but still subject to review and validation.

For deeper guidance on protection controls, labeling, audit, and defense-in-depth architecture, see the full Security guide.

Checklist

AI Readiness Checklist

A practical rollout checklist for making Copilot useful, trusted, and supportable in production.

1. Enable Copilot in the admin portal

Review tenant settings, pilot scope, and support expectations before turning the feature on broadly.

2. Ensure F2+ capacity

Confirm the workspace and Power BI experiences that need Copilot are on supported paid capacity.

3. Optimize semantic models

Use good naming, descriptions, AI data schema curation, and clean business-friendly measures.

4. Add AI instructions

Document business terminology, calculation rules, fiscal calendar assumptions, and preferred metrics.

5. Set up verified answers

Curate trusted responses for critical business questions that executives and frontline teams ask repeatedly.

6. Train your team

Show authors what Copilot is good at, where it struggles, and why review discipline is still required.

7. Establish governance policies

Define who can enable AI features, which workspaces are in scope, and how sensitive data is handled.

8. Monitor audit logs

Track usage, investigate issues, and use audit evidence to improve both governance and end-user training.

Quick self-check

Resources

Resources

Official documentation and next-step reading for AI and Copilot across Microsoft Fabric.

Recommended companion pages in this guide