Announcements
Hi all,
I'm building a Copilot Studio agent that answers KPI questions (sums, counts, averages) over a manufacturing dataset. I want the agent to use Code Interpreter to compute accurate totals across my full dataset.
My setup:
AMTC_Insights_Data
Column_Source_Mapping
Business_Metric_Glossary
The problem: When I ask for a total (e.g., "total liquidated hours for June 2026"), the agent correctly resolves the column, aggregation, and period — but it only computes over a handful of retrieved rows, not the full dataset. It explicitly responds with something like:
"The CodeTool requires the actual dataset file to be attached as an input file (a f_<guid> reference), which isn't available from the knowledge source search results. The search tool returns only summarized text excerpts, not the complete structured file."
f_<guid>
So it seems Code Interpreter cannot read a Knowledge-source file as a compute input — Knowledge appears to be semantic search (returns text snippets), while Code Interpreter needs the file attached to the conversation as an actual input file. The two pipelines don't seem connected.
My questions:
I've confirmed all three files are indexed as "Files" (not connectors), and the data file has finished indexing. The governance/mapping logic works perfectly — the only blocker is getting the complete dataset into the compute step.
Any guidance or confirmation would be hugely appreciated. Thanks! 🙏
Tags: Copilot Studio, Code Interpreter, Knowledge Sources, Power Platform
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 237
Dua Sadiq 127
11manish 102 Super User 2026 Season 2