web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Studio - conne...
Copilot Studio
Suggested Answer

Copilot Studio - connect to Power BI Semantic Model

(1) ShareShare
ReportReport
Posted on by Microsoft Employee
Hello!
 
Use case description: I am working on a use case to build an AI Agent, that reads user's natural language - connect to power BI semantic model, fetch data and respond back to user. This agent has to be published on teams.
 
Solution: I have used topics to capture user's input. Created a tool (power automate flow that connects to power BI), and I am stuck at a step where we need to pass user's input dynamically and fetch data. Any pointers on how this can be done are really helpful. 
 
Also, please advise if there is any other better way to build an agent for this use case. 
 
Thanks in advance!
I have the same question (0)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello  ,
    Thanks for bringing this issue to our attention.
    Power BI processes DAX queries only; it does not interpret natural language directly.
    The main challenge is converting natural language (NL) to DAX, as variable passing is already supported.

    Recommended Approach

    1. Capture the user’s question in Copilot Studio as a string variable.
    2. Send this variable to Power Automate using supported string input variables.
    3. Within the flow:
      • Extract the intent or parameters (such as metric, time, or filter), or
      • Match the question to a predefined DAX template.
    4. Execute the query in Power BI using “Run a query against a dataset” or the ExecuteQueries API.
    5. Provide a concise text summary (instead of full tables) to the agent.
    6. Deploy the agent to Teams.

  • LT-23020101-0 Profile Picture
    Microsoft Employee on at
    Thanks  for your response. I could not find Power Bi dataset to add as a knowledge in copilot studio, is there anything I am missing? 
     
     
  • Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello  ,
    Apologies for the confusion.
    Power BI datasets (semantic models) cannot be added directly as a “Knowledge source” in Copilot Studio. Knowledge sources today support unstructured content (files, SharePoint, websites, etc.), not live structured datasets like Power BI models.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 820

#2
Vish WR Profile Picture

Vish WR 327

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard