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

Community site session details

Session Id :
Power Apps - Error Handling
Suggested answer

Index() function throws error

(0) ShareShare
ReportReport
Posted on by
Hello,
 
In a canvas app I am trying to retrieve a field value in a row from a collection, using the Index() function.
 
First, I've made a collection PeriodsFore with 9 values:
 
PeriodFore
202406
202407
202408
202409
202410
202411
202412
202501
202502
 
I am using the Index() function to retrieve one of the values in PeriodFore, for example Index(PeriodsFore,4).PeriodFore results in 202409. Function works ok, however PowerApps throws an error alert "The second argument to the 'Index' function must be between 1 and 8, the lower and upper bounds of the table.  The upper bound may be reduced due to the non-delegation limit" at the top of the app. There is no error indication at the object where the Index() function is used.
 
What's the problem over here? Any clue is highly appreciated.
 
 
 
I have the same question (0)
  • Suggested answer
    ronaldwalcott Profile Picture
    3,825 Super User 2025 Season 2 on at
    Index() function throws error
    That just looks like a warning message indicating that Index cannot be delegated for a data source. You have a limit on the number of records that the function can be used on in a collection. You can ignore the message.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 973 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 366 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 343

Last 30 days Overall leaderboard

Featured topics