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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Summarizing Tabular Data
Copilot Studio
Unanswered

Summarizing Tabular Data

(0) ShareShare
ReportReport
Posted on by 2,307 Super User 2025 Season 2

I want to build a bot that allows a user to ask questions about a project. The project management system has a REST API with an endpoint for Projects and an endpoint for Time Entries. I can get the relevant data without any problems but I'm struggling to understand how, in Copilot Studio, how to summarize the result.

For example, I want to ask something like: "How much time was spent writing emails on project ID 100?" The reason I don't just do this in Power BI is because we need to look in the free-text notes field for this info. There isn't a pick-listed category for writing emails in the PM software - it may have been coded as Project Admin, but the operator would write in the notes that they were responding to an email or something like that.

Anyway within the Conversational Boosting topic, I can query the API in a flow to get all the time entries and return them to the bot and get data into a table variable, but for the generative AI to work the table must be in a certain schema with properties Content and ContentLocation. So.. I made that by concatenating all the properties of the time entries endpoint into a a string like this:

 

ForAll(
	Topic.aTimeEntries, 
	{
		Content: $"Date: {'Date Logged'}, Employee: {Employee}, Project Task: {'Project Task'}, Note: {Note}, Duration (Hours): {'Duration (hours)'}, Billable: {Billable}, Productive: {Productive}, Employee Team: {'Employee Team'}",
		ContentLoaction: "https://something"
	}
)

 

..but all I get are non-specific error messages like this:

WillPage_0-1710466918244.png

It's really not obvious how you would do this in Copilot Studio. I have done the same in Azure OpenAI by simply passing the tabular data in text format like that and adding a natural language question like to it. Is Copilot studio even the right tool for the job? If so, how would you approach it?

I have the same question (0)
  • remidyon Profile Picture
    on at

    Hello

     

    FOr this use case I would build the logic in a power automate topic because the custom data source can only take the top 3 results to formulate an answer (and it has to follow a specific structure).

     

    See that article I wrote a while ago on how to build such concept: (3) Chat with your data using ONLY the Power Platform | LinkedIn

  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at

    Thanks. I achieved it using the Assistants (preview) thing and a GPT4 model in Azure Open AI Studio, by uploading the tabular data in Excel format and using the code interpreter. Whether or not I can use a Copilot/PVA bot as the front end or whether I have to publish my own web app remains to be seen. It works well, but I will need to set up a Logic App or flow to extract the data from the API and upload it to a thread. I know it can be done but haven't got top how yet

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard