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.
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:
- Copilot: the interactive AI assistant that helps authors generate code, visuals, queries, summaries, and pipeline logic.
- AI features: built-in platform capabilities such as Data Agents and reusable AI Skill items that let you operationalize AI inside analytics workflows.
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.
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.
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.
- AI data schema: expose the most meaningful fields and hide noisy internal columns.
- AI instructions: add business context, preferred measures, terminology, and analysis rules.
- Verified answers: curate trusted responses for common executive or operational questions.
Prompts that usually work well
| Scenario | Prompt | Why it works |
|---|---|---|
| Executive overview | Build a page that explains revenue, margin, and YoY growth for the last 12 months. | Clear metrics + time window + business outcome. |
| Visual exploration | Show a clustered bar chart of sales by product category with a trend line for profit margin. | Specifies chart type, dimensions, and measures. |
| DAX assistance | Create a measure for year-to-date sales that respects the fiscal calendar starting in July. | Defines calculation goal and fiscal nuance. |
| Narrative summary | Summarize the key drivers behind the drop in gross margin this quarter. | Targets a specific business question, not a generic recap. |
| Follow-up analysis | Compare 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
- Copilot does not transform or repair your underlying data; it works with the model it is given.
- Results are better when measures, hierarchies, and descriptions are well defined.
- Generic or ambiguous models often produce vague visuals or incorrect metric choices.
- Generated output should be reviewed by a report author before publication.
๐ Learn More
Copilot overview โ Prepare data for AI โ๐ See Also
Best Practices โ Preparing Data for AI โ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
- Use clear variable and dataframe names: names like
sales_dfandcustomer_dimprovide far more context thandf1andtmp. - Break work into logical cells: ingestion, cleansing, enrichment, and publish steps are easier for Copilot to understand than one monolithic script.
- Show intent in markdown cells: short headings and notes help both humans and Copilot follow the flow.
- Ask for one transformation at a time: iterative prompting usually produces better code than a giant multi-step prompt.
- Validate generated code against your runtime and libraries: Copilot can still suggest patterns that need adaptation.
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.
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.
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
- Natural language to pipeline creation: describe the source, transformation step, and destination to scaffold a pipeline.
- Activity suggestions: get recommendations for copy, notebook, dataflow, wait, condition, loop, and notification patterns.
- Expression generation: generate dynamic content for file paths, parameters, dates, branching logic, and output references.
๐ 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
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
- Copilot is best used to create a starting point, not a fully production-hardened orchestration pattern.
- You still need to validate connection references, parameters, credentials, and environment-specific settings.
- Complex branching, custom expressions, and enterprise error handling usually need manual refinement.
- Generated logic should be tested in realistic failure scenarios before release.
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
- Write a T-SQL query that returns the top 10 customers by net revenue in the last rolling 90 days.
- Explain what this query is doing and identify why it may return duplicate rows.
- Refactor this nested query into CTEs with comments for each step.
- Suggest a more efficient way to calculate monthly active users by product line.
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.
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
- Select the data sources the agent can use, such as semantic models and other Fabric data assets.
- Provide instructions that define terminology, analytical priorities, and how answers should be framed.
- Add example questions and validate responses so the agent learns the shape of high-value business queries.
- Rely on the platform's existing permissions so users only see answers based on data they are authorized to access.
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
- Start with a high-value domain and a curated data source, not an everything agent.
- Choose models and tables with good naming, descriptions, and stable business logic.
- Add concise instructions that define KPI meaning, business calendar, and preferred measures.
- Test common executive and analyst prompts, then refine instructions where answers drift.
- 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.
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
- Define the contract: specify the expected input and output shape for the task.
- Connect to a model: point the skill at the underlying AI model or inference endpoint used for the operation.
- Publish as a Fabric item: make the skill discoverable and reusable by downstream solutions.
- Invoke from workflows: call it from notebooks, orchestration flows, or other automation steps that need the same AI behavior.
๐ท๏ธ 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.
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.
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.
- Copilot respects existing permissions: workspace roles, semantic model permissions, and data-level controls still matter.
- Sensitivity labels still apply: if content is protected and the user is not authorized, Copilot should not become a bypass route.
- Admin controls matter: review tenant settings and workspace/capacity rollout strategy before broad enablement.
- Audit logging is essential: monitor Copilot activity and AI-related access patterns as part of your compliance and support model.
- Human-in-the-loop remains required: Copilot can summarize and generate, but business owners must review high-impact outputs.
๐ก๏ธ 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.
๐ Learn More
Information protection in Fabric โ Microsoft Purview for AI governance โ๐ See Also
Security โ full guidance โ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
Official documentation and next-step reading for AI and Copilot across Microsoft Fabric.
Copilot for Fabric overview
https://learn.microsoft.com/fabric/get-started/copilot-fabric-overview