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 / 'Choices' function error
Power Apps
Unanswered

'Choices' function error

(1) ShareShare
ReportReport
Posted on by 76 Microsoft Employee

I am getting a super annoying error on all of my ComboBox inputs that use 'Choices([@DataSource].Column)' in the Items property. After my app loads, all 15+ comboboxes throw the error: "The data source supplied to the function is invalid". What's odd is that all I need to do to clear the error is make a small change to the formula, like remove and add back the trailing ')'.
 
While it's fairly simple to get the error to resolve, I have to go through and do this small change to 15-20 comboboxes, everytime I start a new editing session OR live with a swarm of error bubbles all over the screen.

I know this bug/error has been brought up before, but all of the suggested solutions I could find have not resolved the error. 

Any help would be greatly appreciated.

Categories:
I have the same question (0)
  • MayAlejandro Profile Picture
    9 on at

    I have the same problem. Please help.

  • JWhiteFEI Profile Picture
    76 Microsoft Employee on at

    Bump. Is there any available information regarding this issue? It seems to happen only when you've got a lot of datasources. Are there limitations to using the Choices function with a lot of sharepoint datasources present in the app (by 'a lot' I mean I have ~12 shrepoint datasources in my app)

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @JWhiteFEI ,

    Are these Choice or LookUp columns?

    Currently the LookUp column limit in a SharePoint list is set to 12, although I have not seen the issue propagating in Power Apps over several lists before. 

    If they are simply Choice columns, you could consider hard-coding the same values in Power Apps in the control.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard