Hi @11manish , @Valantis
Thank you for the detailed explanation.
I fully agree that Power BI Semantic Models would be the preferred long-term architecture. Unfortunately, in my current environment I have some constraints:
- ✅ Only SharePoint and Excel connectors are currently available.
- ❌ Dataverse, SQL, Fabric, Semantic Models, and several other connectors are currently blocked.
- ❌ Some trigger options are also restricted in our environment.
My current data consists of 4 Excel files stored in SharePoint, containing approximately:
- 5,000 records
- 8,000 records
- 20,000 records
- Additional files expected in the future
I have already evaluated a few approaches:
Knowledge Sources
I tested using the Excel files as Copilot Studio Knowledge Sources. However, this appears to be designed primarily for semantic retrieval and document Q&A rather than analytical scenarios such as:
- Aggregations
- Calculations
- Comparisons
- Trends
- KPI analysis
So it doesn't seem suitable for querying the entire dataset and returning calculated results.
AI Builder / Prompt Builder + Code Interpreter
I also experimented with AI Builder Prompt Builder using Code Interpreter.
When the Excel file is supplied directly to the prompt, it can successfully:
- Read the workbook
- Understand user intent
- Perform aggregations and calculations
- Return analytical results
However, I'm unsure whether relying on prompts and passing Excel files dynamically is considered a recommended or scalable pattern for production use.
Office Scripts
I also explored Office Scripts, but maintaining script logic for every business question becomes increasingly complex as requirements grow.
My goal is to build an agent that can:
- Understand user intent and conversational context
- Query the complete dataset across multiple Excel files
- Perform aggregations, calculations, filtering, comparisons, and trend analysis
- Return the exact result requested by the user
Given these constraints (Excel + SharePoint only), what would be the recommended short-term approach for feeding Excel data into Copilot Studio for analytical queries until platforms such as Dataverse, Fabric, or Semantic Models become available?
I'd be interested in hearing how others have handled similar scenarios in production.
Thanks again for your guidance. 🙏