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 : HicA9I+xsqRvaz/cBSUf9D
Power Apps - Building Power Apps
Unanswered

'Choices' function error

Like (1) ShareShare
ReportReport
Posted on 26 Feb 2021 19:33:04 by 76

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)
  • WarrenBelz Profile Picture
    149,640 Most Valuable Professional on 04 Apr 2021 at 02:38:27
    Re: 'Choices' function error

    @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.

  • JWhiteFEI Profile Picture
    76 on 01 Apr 2021 at 14:49:28
    Re: 'Choices' function error

    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)

  • MayAlejandro Profile Picture
    9 on 11 Mar 2021 at 15:01:05
    Re: 'Choices' function error

    I have the same problem. Please help.

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…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 688 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 499 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete