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 / Power Apps / Testing AI Builder Pro...
Power Apps
Unanswered

Testing AI Builder Prompt returns "The query is outside the scope of the data."

(2) ShareShare
ReportReport
Posted on by
I have an AI builder prompt that uses a Dataverse column for knowledge/content. For reference, the column happens to be a formula (single line of text) that creates JSON text consolidating values in other columns in the table. The prompt also returns a JSON string.
 
The prompt works fine and has done so for many weeks. Yesterday I created a new column that creates almost exactly the same JSON text, basically just a new version of the knowledge format. I updated the prompt to reference the new column, and testing the prompt returned the message "The query is outside the scope of the data." I am publishing the table each time. Neither Bing nor Google return any results when searching for the exact error message.
 
I have tried the following
  • in the new column, use the exact formula from the column that works, testing the prompt still gives error
  • change the prompt to use another column that was created weeks ago, but has a different formula (an older version of the JSON format), the prompt works fine
  • created another-another column with different and/or same versions of the formula, still gives error
  • created a brand-new prompt, using the exact same prompt text. I get all the same results as above
It appears this error is only occurring when I point the prompt to a newly created column. It coincides with the update to the AI Builder Prompt UI.
 
Any help would be greatly appreciated.
Categories:
I have the same question (0)
  • w.p Profile Picture
    8,345 Super User 2026 Season 1 on at
    Have you had a chance to try using a different model?
  • SW-12061628-0 Profile Picture
    2 on at
    I've been experiencing the same issue and trying to battle with MS support to fix this as I think its an underline PP issue
  • JW-17060315-0 Profile Picture
    2 on at
    I'm having the exact same issue. I've tried everything I can think of. Tested with multiple tables, columns, column types, prompts, etc. Nothing works.
     
    I even tried all the different AI models, and some of them will often pull data from other columns, but no data will return from the new columns.

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 > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard